From be9e534efbec0c2646e568876e75db01a4234be3 Mon Sep 17 00:00:00 2001 From: SteveWilkins1123 Date: Tue, 13 Sep 2022 13:49:38 -0700 Subject: [PATCH 1/4] Imported examples --- .../examples/v1.0/Add-MgApplicationKey.md | 44 ++- .../v1.0/Add-MgServicePrincipalKey.md | 44 ++- .../v1.0/Add-MgServicePrincipalPassword.md | 24 +- ...ServicePrincipalTokenSigningCertificate.md | 23 +- .../Clear-MgApplicationVerifiedPublisher.md | 19 +- .../examples/v1.0/Get-MgApplicationDelta.md | 19 +- .../Get-MgApplicationExtensionProperty.md | 24 +- ...gApplicationFederatedIdentityCredential.md | 24 +- .../examples/v1.0/Get-MgApplicationOwner.md | 19 +- .../v1.0/Get-MgApplicationTemplate.md | 24 +- .../Get-MgApplicationTokenIssuancePolicy.md | 19 +- .../Get-MgApplicationTokenLifetimePolicy.md | 19 +- ...Get-MgServicePrincipalAppRoleAssignedTo.md | 19 +- ...et-MgServicePrincipalClaimMappingPolicy.md | 19 +- .../Get-MgServicePrincipalCreatedObject.md | 19 +- ...ncipalDelegatedPermissionClassification.md | 19 +- .../v1.0/Get-MgServicePrincipalDelta.md | 19 +- ...ervicePrincipalHomeRealmDiscoveryPolicy.md | 19 +- .../v1.0/Get-MgServicePrincipalMemberOf.md | 19 +- ...MgServicePrincipalOauth2PermissionGrant.md | 19 +- .../v1.0/Get-MgServicePrincipalOwnedObject.md | 19 +- ...et-MgServicePrincipalTransitiveMemberOf.md | 19 +- ...Invoke-MgInstantiateApplicationTemplate.md | 22 +- .../New-MgApplicationExtensionProperty.md | 26 +- ...gApplicationFederatedIdentityCredential.md | 27 +- ...w-MgApplicationTokenIssuancePolicyByRef.md | 22 +- ...w-MgApplicationTokenLifetimePolicyByRef.md | 22 +- ...New-MgServicePrincipalAppRoleAssignedTo.md | 24 +- ...New-MgServicePrincipalAppRoleAssignment.md | 45 +-- ...ServicePrincipalClaimMappingPolicyByRef.md | 22 +- ...ncipalDelegatedPermissionClassification.md | 24 +- ...ePrincipalHomeRealmDiscoveryPolicyByRef.md | 22 +- .../Remove-MgApplicationExtensionProperty.md | 19 +- ...gApplicationFederatedIdentityCredential.md | 19 +- .../examples/v1.0/Remove-MgApplicationKey.md | 23 +- .../v1.0/Remove-MgApplicationOwnerByRef.md | 19 +- .../v1.0/Remove-MgApplicationPassword.md | 22 +- ...e-MgApplicationTokenIssuancePolicyByRef.md | 19 +- ...e-MgApplicationTokenLifetimePolicyByRef.md | 19 +- .../v1.0/Remove-MgGroupAppRoleAssignment.md | 19 +- .../v1.0/Remove-MgServicePrincipal.md | 19 +- ...ove-MgServicePrincipalAppRoleAssignedTo.md | 19 +- ...ServicePrincipalClaimMappingPolicyByRef.md | 19 +- ...ncipalDelegatedPermissionClassification.md | 19 +- ...ePrincipalHomeRealmDiscoveryPolicyByRef.md | 19 +- .../v1.0/Remove-MgServicePrincipalKey.md | 23 +- .../v1.0/Remove-MgServicePrincipalPassword.md | 22 +- .../Set-MgApplicationVerifiedPublisher.md | 22 +- ...gApplicationFederatedIdentityCredential.md | 28 +- .../examples/v1.0/Get-MgBookingBusiness.md | 29 +- .../v1.0/Get-MgBookingBusinessAppointment.md | 24 +- .../v1.0/Get-MgBookingBusinessCalendarView.md | 19 +- .../Get-MgBookingBusinessCustomQuestion.md | 24 +- .../v1.0/Get-MgBookingBusinessCustomer.md | 24 +- .../v1.0/Get-MgBookingBusinessService.md | 24 +- .../v1.0/Get-MgBookingBusinessStaffMember.md | 24 +- .../examples/v1.0/Get-MgBookingCurrency.md | 24 +- .../examples/v1.0/New-MgBookingBusiness.md | 34 ++- .../v1.0/New-MgBookingBusinessAppointment.md | 124 +++++++- .../New-MgBookingBusinessCustomQuestion.md | 26 +- .../v1.0/New-MgBookingBusinessCustomer.md | 28 +- .../v1.0/New-MgBookingBusinessService.md | 80 ++++- .../v1.0/New-MgBookingBusinessStaffMember.md | 96 +++++- .../v1.0/Publish-MgBookingBusiness.md | 19 +- .../examples/v1.0/Remove-MgBookingBusiness.md | 19 +- .../Remove-MgBookingBusinessAppointment.md | 19 +- .../Remove-MgBookingBusinessCustomQuestion.md | 19 +- .../v1.0/Remove-MgBookingBusinessCustomer.md | 19 +- .../v1.0/Remove-MgBookingBusinessService.md | 19 +- .../Remove-MgBookingBusinessStaffMember.md | 19 +- .../v1.0/Stop-MgBookingBusinessAppointment.md | 22 +- .../v1.0/Unpublish-MgBookingBusiness.md | 19 +- .../examples/v1.0/Update-MgBookingBusiness.md | 29 +- .../Update-MgBookingBusinessAppointment.md | 32 +- .../Update-MgBookingBusinessCustomQuestion.md | 26 +- .../v1.0/Update-MgBookingBusinessCustomer.md | 24 +- .../v1.0/Update-MgBookingBusinessService.md | 23 +- .../Update-MgBookingBusinessStaffMember.md | 84 +++++- .../examples/v1.0/Get-MgGroupEvent.md | 24 +- .../v1.0/Get-MgGroupEventExtension.md | 19 +- .../Calendar/examples/v1.0/Get-MgPlace.md | 38 +-- .../examples/v1.0/Get-MgUserCalendar.md | 20 +- .../examples/v1.0/Get-MgUserCalendarGroup.md | 26 +- .../v1.0/Get-MgUserCalendarGroupCalendar.md | 20 +- .../v1.0/Get-MgUserCalendarPermission.md | 19 +- .../examples/v1.0/Get-MgUserCalendarView.md | 20 +- .../v1.0/Get-MgUserDefaultCalendar.md | 20 +- .../Calendar/examples/v1.0/Get-MgUserEvent.md | 32 +- .../v1.0/Get-MgUserEventAttachment.md | 20 +- .../examples/v1.0/Get-MgUserEventInstance.md | 20 +- .../examples/v1.0/New-MgGroupEvent.md | 46 ++- .../examples/v1.0/New-MgUserCalendar.md | 23 +- .../examples/v1.0/New-MgUserCalendarEvent.md | 83 +++++- .../examples/v1.0/New-MgUserCalendarGroup.md | 23 +- .../v1.0/New-MgUserCalendarGroupCalendar.md | 23 +- .../Calendar/examples/v1.0/New-MgUserEvent.md | 201 +++++++++++-- .../v1.0/New-MgUserEventAttachment.md | 52 +++- .../examples/v1.0/Remove-MgGroupEvent.md | 19 +- .../v1.0/Remove-MgUserCalendarGroup.md | 20 +- .../v1.0/Remove-MgUserCalendarPermission.md | 19 +- .../examples/v1.0/Remove-MgUserEvent.md | 20 +- .../v1.0/Remove-MgUserEventAttachment.md | 20 +- .../Calendar/examples/v1.0/Update-MgPlace.md | 51 +++- .../v1.0/Update-MgUserCalendarGroup.md | 23 +- .../v1.0/Update-MgUserCalendarPermission.md | 22 +- .../examples/v1.0/Update-MgUserEvent.md | 37 ++- .../examples/v1.0/Get-MgSubscription.md | 24 +- .../examples/v1.0/New-MgSubscription.md | 27 +- .../examples/v1.0/Remove-MgSubscription.md | 19 +- .../examples/v1.0/Update-MgSubscription.md | 22 +- .../examples/v1.0/Get-MgCommunicationCall.md | 24 +- .../Get-MgCommunicationCallParticipant.md | 24 +- .../v1.0/Get-MgCommunicationCallRecord.md | 38 +-- .../Get-MgCommunicationCallRecordSession.md | 24 +- .../v1.0/Get-MgCommunicationOnlineMeeting.md | 19 +- .../v1.0/Get-MgCommunicationPresence.md | 19 +- .../Get-MgCommunicationPresenceByUserId.md | 25 +- .../examples/v1.0/Get-MgUserOnlineMeeting.md | 26 +- ...Get-MgUserOnlineMeetingAttendanceReport.md | 26 +- ...MeetingAttendanceReportAttendanceRecord.md | 20 +- .../examples/v1.0/Get-MgUserPresence.md | 25 +- .../v1.0/Invoke-MgAnswerCommunicationCall.md | 61 +++- ...ke-MgInviteCommunicationCallParticipant.md | 183 ++++++++++-- .../Invoke-MgKeepCommunicationCallAlive.md | 19 +- ...nicationCallTeleconferenceDeviceQuality.md | 103 ++++++- .../v1.0/Invoke-MgMuteCommunicationCall.md | 22 +- ...voke-MgMuteCommunicationCallParticipant.md | 22 +- .../Invoke-MgPlayCommunicationCallPrompt.md | 32 +- ...nvoke-MgRecordCommunicationCallResponse.md | 37 ++- .../Invoke-MgRedirectCommunicationCall.md | 55 +++- .../v1.0/Invoke-MgRejectCommunicationCall.md | 30 +- ...voke-MgSubscribeCommunicationCallToTone.md | 22 +- .../v1.0/Invoke-MgUnmuteCommunicationCall.md | 22 +- .../examples/v1.0/Move-MgCommunicationCall.md | 120 ++++++-- .../examples/v1.0/New-MgCommunicationCall.md | 175 +++++++++-- .../examples/v1.0/New-MgUserOnlineMeeting.md | 25 +- .../v1.0/Remove-MgCommunicationCall.md | 19 +- .../Remove-MgCommunicationCallParticipant.md | 29 +- .../v1.0/Remove-MgUserOnlineMeeting.md | 20 +- ...me-MgCommunicationCallScreenSharingRole.md | 22 +- ...MgCommunicationCallParticipantHoldMusic.md | 29 +- ...Stop-MgCommunicationCallMediaProcessing.md | 22 +- ...MgCommunicationCallParticipantHoldMusic.md | 22 +- ...date-MgCommunicationCallRecordingStatus.md | 23 +- .../v1.0/Update-MgUserOnlineMeeting.md | 36 ++- .../examples/v1.0/Remove-MgUserActivity.md | 20 +- ...MgRoleManagementDirectoryRoleAssignment.md | 43 +-- ...nagementDirectoryRoleAssignmentSchedule.md | 29 +- ...DirectoryRoleAssignmentScheduleInstance.md | 29 +- ...tDirectoryRoleAssignmentScheduleRequest.md | 43 +-- ...MgRoleManagementDirectoryRoleDefinition.md | 38 +-- ...agementDirectoryRoleEligibilitySchedule.md | 29 +- ...irectoryRoleEligibilityScheduleInstance.md | 29 +- ...DirectoryRoleEligibilityScheduleRequest.md | 29 +- ...mentEntitlementManagementRoleAssignment.md | 19 +- ...mentEntitlementManagementRoleDefinition.md | 19 +- ...MgRoleManagementDirectoryRoleAssignment.md | 47 ++- ...tDirectoryRoleAssignmentScheduleRequest.md | 55 +++- ...MgRoleManagementDirectoryRoleDefinition.md | 31 +- ...DirectoryRoleEligibilityScheduleRequest.md | 44 ++- ...mentEntitlementManagementRoleAssignment.md | 24 +- ...MgRoleManagementDirectoryRoleAssignment.md | 19 +- ...MgRoleManagementDirectoryRoleDefinition.md | 19 +- ...tDirectoryRoleAssignmentScheduleRequest.md | 19 +- ...DirectoryRoleEligibilityScheduleRequest.md | 19 +- ...MgRoleManagementDirectoryRoleDefinition.md | 30 +- .../examples/v1.0/Get-MgPrintConnector.md | 24 +- .../examples/v1.0/Get-MgPrintOperation.md | 19 +- .../examples/v1.0/Get-MgPrintPrinter.md | 29 +- .../v1.0/Get-MgPrintPrinterConnector.md | 19 +- .../v1.0/Get-MgPrintPrinterTaskTrigger.md | 24 +- .../examples/v1.0/Get-MgPrintService.md | 24 +- .../v1.0/Get-MgPrintServiceEndpoint.md | 24 +- .../examples/v1.0/Get-MgPrintShare.md | 29 +- .../v1.0/Get-MgPrintShareAllowedGroup.md | 19 +- .../v1.0/Get-MgPrintShareAllowedUser.md | 19 +- .../v1.0/Get-MgPrintTaskDefinition.md | 24 +- .../v1.0/Get-MgPrintTaskDefinitionTask.md | 24 +- .../v1.0/New-MgPrintPrinterTaskTrigger.md | 23 +- .../examples/v1.0/New-MgPrintShare.md | 24 +- .../v1.0/New-MgPrintShareAllowedGroupByRef.md | 22 +- .../v1.0/New-MgPrintShareAllowedUserByRef.md | 22 +- .../v1.0/New-MgPrintTaskDefinition.md | 25 +- .../examples/v1.0/Remove-MgPrintConnector.md | 19 +- .../examples/v1.0/Remove-MgPrintPrinter.md | 19 +- .../v1.0/Remove-MgPrintPrinterTaskTrigger.md | 19 +- .../examples/v1.0/Remove-MgPrintShare.md | 19 +- .../Remove-MgPrintShareAllowedGroupByRef.md | 19 +- .../Remove-MgPrintShareAllowedUserByRef.md | 19 +- .../v1.0/Remove-MgPrintTaskDefinition.md | 19 +- .../Restore-MgPrintPrinterFactoryDefault.md | 19 +- .../examples/v1.0/Update-MgPrintConnector.md | 30 +- .../examples/v1.0/Update-MgPrintPrinter.md | 27 +- .../examples/v1.0/Update-MgPrintShare.md | 24 +- .../v1.0/Update-MgPrintTaskDefinition.md | 25 +- .../v1.0/Update-MgPrintTaskDefinitionTask.md | 25 +- ...Get-MgServiceAnnouncementHealthOverview.md | 38 +-- .../v1.0/Get-MgServiceAnnouncementIssue.md | 24 +- .../v1.0/Get-MgServiceAnnouncementMessage.md | 24 +- ...-MgServiceAnnouncementMessageAttachment.md | 24 +- ...iceAnnouncementMessageAttachmentArchive.md | 24 +- ...iceAnnouncementMessageAttachmentContent.md | 24 +- ...oke-MgArchiveServiceAnnouncementMessage.md | 25 +- ...ke-MgFavoriteServiceAnnouncementMessage.md | 25 +- ...ke-MgMarkServiceAnnouncementMessageRead.md | 25 +- ...-MgMarkServiceAnnouncementMessageUnread.md | 25 +- ...gReportServiceAnnouncementIssueIncident.md | 19 +- ...e-MgUnarchiveServiceAnnouncementMessage.md | 25 +- ...-MgUnfavoriteServiceAnnouncementMessage.md | 25 +- .../Confirm-MgDirectoryObjectMemberGroup.md | 28 +- .../examples/v1.0/Get-MgDirectoryObject.md | 19 +- ...rectoryObjectAvailableExtensionProperty.md | 19 +- .../v1.0/Get-MgDirectoryObjectById.md | 32 +- .../v1.0/Get-MgDirectoryObjectMemberGroup.md | 22 +- .../v1.0/Get-MgDirectoryObjectMemberObject.md | 22 +- .../examples/v1.0/Remove-MgDirectoryObject.md | 19 +- .../v1.0/Test-MgDirectoryObjectProperty.md | 25 +- .../examples/v1.0/Get-MgEducationClass.md | 24 +- .../v1.0/Get-MgEducationClassAssignment.md | 29 +- .../Get-MgEducationClassAssignmentCategory.md | 24 +- ...MgEducationClassAssignmentCategoryDelta.md | 38 +-- .../Get-MgEducationClassAssignmentDefault.md | 19 +- .../Get-MgEducationClassAssignmentDelta.md | 29 +- .../Get-MgEducationClassAssignmentResource.md | 53 ++-- .../Get-MgEducationClassAssignmentRubric.md | 19 +- .../Get-MgEducationClassAssignmentSetting.md | 19 +- ...et-MgEducationClassAssignmentSubmission.md | 38 +-- ...ucationClassAssignmentSubmissionOutcome.md | 19 +- ...cationClassAssignmentSubmissionResource.md | 53 ++-- ...ssAssignmentSubmissionSubmittedResource.md | 19 +- .../v1.0/Get-MgEducationClassDelta.md | 19 +- .../v1.0/Get-MgEducationClassMember.md | 19 +- .../v1.0/Get-MgEducationClassSchool.md | 19 +- .../v1.0/Get-MgEducationClassTeacher.md | 19 +- .../v1.0/Get-MgEducationMeAssignment.md | 19 +- .../examples/v1.0/Get-MgEducationMeClass.md | 19 +- .../examples/v1.0/Get-MgEducationMeRubric.md | 24 +- .../examples/v1.0/Get-MgEducationMeSchool.md | 19 +- .../examples/v1.0/Get-MgEducationSchool.md | 24 +- .../v1.0/Get-MgEducationSchoolClass.md | 19 +- .../v1.0/Get-MgEducationSchoolDelta.md | 19 +- .../v1.0/Get-MgEducationSchoolUser.md | 19 +- .../examples/v1.0/Get-MgEducationUser.md | 24 +- .../v1.0/Get-MgEducationUserAssignment.md | 24 +- .../examples/v1.0/Get-MgEducationUserDelta.md | 19 +- .../v1.0/Get-MgEducationUserTaughtClass.md | 24 +- ...ssignEducationClassAssignmentSubmission.md | 24 +- ...eturnEducationClassAssignmentSubmission.md | 19 +- ...ubmitEducationClassAssignmentSubmission.md | 19 +- .../examples/v1.0/New-MgEducationClass.md | 37 ++- .../v1.0/New-MgEducationClassAssignment.md | 36 ++- .../New-MgEducationClassAssignmentCategory.md | 22 +- ...MgEducationClassAssignmentCategoryByRef.md | 30 +- .../New-MgEducationClassAssignmentResource.md | 96 ++++-- ...cationClassAssignmentSubmissionResource.md | 90 ++++-- .../v1.0/New-MgEducationClassMemberByRef.md | 22 +- .../v1.0/New-MgEducationClassTeacherByRef.md | 22 +- .../examples/v1.0/New-MgEducationMeRubric.md | 167 ++++++++++- .../examples/v1.0/New-MgEducationSchool.md | 41 ++- .../v1.0/New-MgEducationSchoolClassByRef.md | 22 +- .../v1.0/New-MgEducationSchoolUserByRef.md | 22 +- .../examples/v1.0/New-MgEducationUser.md | 81 ++++- .../Publish-MgEducationClassAssignment.md | 19 +- .../examples/v1.0/Remove-MgEducationClass.md | 19 +- .../v1.0/Remove-MgEducationClassAssignment.md | 19 +- ...move-MgEducationClassAssignmentCategory.md | 19 +- ...MgEducationClassAssignmentCategoryByRef.md | 19 +- ...move-MgEducationClassAssignmentResource.md | 19 +- ...e-MgEducationClassAssignmentRubricByRef.md | 19 +- ...cationClassAssignmentSubmissionResource.md | 19 +- .../v1.0/Remove-MgEducationMeRubric.md | 19 +- .../examples/v1.0/Remove-MgEducationSchool.md | 19 +- .../examples/v1.0/Remove-MgEducationUser.md | 19 +- ...t-MgEducationClassAssignmentRubricByRef.md | 22 +- ...it-MgEducationClassAssignmentSubmission.md | 19 +- .../examples/v1.0/Update-MgEducationClass.md | 23 +- .../v1.0/Update-MgEducationClassAssignment.md | 28 +- ...pdate-MgEducationClassAssignmentDefault.md | 23 +- ...pdate-MgEducationClassAssignmentSetting.md | 22 +- ...ucationClassAssignmentSubmissionOutcome.md | 46 ++- .../v1.0/Update-MgEducationMeRubric.md | 22 +- .../examples/v1.0/Update-MgEducationSchool.md | 23 +- .../examples/v1.0/Update-MgEducationUser.md | 25 +- src/Files/Files/examples/v1.0/Get-MgDrive.md | 19 +- .../examples/v1.0/Get-MgDriveItemChild.md | 19 +- .../examples/v1.0/Get-MgGroupDefaultDrive.md | 19 +- .../Files/examples/v1.0/Get-MgGroupDrive.md | 19 +- .../examples/v1.0/Get-MgShareDriveItem.md | 24 +- ...t-MgShareSharedDriveItemSharedDriveItem.md | 19 +- .../examples/v1.0/Get-MgUserDefaultDrive.md | 25 +- .../Files/examples/v1.0/Get-MgUserDrive.md | 25 +- .../examples/v1.0/Grant-MgSharePermission.md | 32 +- .../v1.0/Invoke-MgCheckinDriveItem.md | 22 +- .../v1.0/Invoke-MgCheckoutDriveItem.md | 19 +- .../v1.0/Restore-MgDriveItemVersion.md | 19 +- .../examples/v1.0/Add-MgGroupFavorite.md | 19 +- .../v1.0/Get-MgGroupAcceptedSender.md | 19 +- .../examples/v1.0/Get-MgGroupConversation.md | 29 +- .../v1.0/Get-MgGroupConversationThread.md | 19 +- .../Groups/examples/v1.0/Get-MgGroupDelta.md | 19 +- .../v1.0/Get-MgGroupLifecyclePolicy.md | 24 +- .../v1.0/Get-MgGroupLifecyclePolicyByGroup.md | 19 +- .../examples/v1.0/Get-MgGroupMemberOf.md | 19 +- .../v1.0/Get-MgGroupPermissionGrant.md | 19 +- .../Groups/examples/v1.0/Get-MgGroupPhoto.md | 19 +- .../v1.0/Get-MgGroupRejectedSender.md | 19 +- .../Groups/examples/v1.0/Get-MgGroupThread.md | 29 +- .../examples/v1.0/Get-MgGroupThreadPost.md | 19 +- .../v1.0/Get-MgGroupThreadPostAttachment.md | 19 +- .../v1.0/Get-MgGroupThreadPostExtension.md | 19 +- .../v1.0/Get-MgGroupTransitiveMember.md | 19 +- .../v1.0/Get-MgGroupTransitiveMemberOf.md | 19 +- .../v1.0/Invoke-MgForwardGroupThreadPost.md | 30 +- .../examples/v1.0/Invoke-MgGraphGroup.md | 19 +- .../examples/v1.0/Invoke-MgRenewGroup.md | 19 +- .../v1.0/Invoke-MgReplyGroupThread.md | 97 ++++-- .../v1.0/Invoke-MgReplyGroupThreadPost.md | 71 ++++- .../v1.0/Invoke-MgSubscribeGroupByMail.md | 19 +- .../v1.0/New-MgGroupAcceptedSenderByRef.md | 22 +- .../examples/v1.0/New-MgGroupConversation.md | 42 ++- .../v1.0/New-MgGroupConversationThread.md | 30 +- .../v1.0/New-MgGroupLifecyclePolicy.md | 24 +- .../examples/v1.0/New-MgGroupMemberByRef.md | 22 +- .../v1.0/New-MgGroupRejectedSenderByRef.md | 22 +- .../Groups/examples/v1.0/New-MgGroupThread.md | 38 ++- .../v1.0/Remove-MgGroupConversation.md | 24 +- .../examples/v1.0/Remove-MgGroupFavorite.md | 19 +- .../v1.0/Remove-MgGroupLifecyclePolicy.md | 19 +- .../v1.0/Remove-MgGroupMemberByRef.md | 19 +- .../examples/v1.0/Remove-MgGroupOwnerByRef.md | 19 +- .../examples/v1.0/Remove-MgGroupThread.md | 24 +- .../examples/v1.0/Reset-MgGroupUnseenCount.md | 19 +- .../examples/v1.0/Set-MgGroupLicense.md | 51 +++- .../examples/v1.0/Test-MgGroupProperty.md | 24 +- .../v1.0/Update-MgGroupLifecyclePolicy.md | 24 +- .../examples/v1.0/Update-MgGroupThread.md | 26 +- .../v1.0/Update-MgGroupThreadPostExtension.md | 31 +- .../examples/v1.0/Confirm-MgDomain.md | 19 +- .../examples/v1.0/Get-MgContactDelta.md | 19 +- .../v1.0/Get-MgContactDirectReport.md | 19 +- .../examples/v1.0/Get-MgContactManager.md | 19 +- .../examples/v1.0/Get-MgContactMemberOf.md | 19 +- .../v1.0/Get-MgContactTransitiveMemberOf.md | 19 +- .../examples/v1.0/Get-MgContract.md | 24 +- .../examples/v1.0/Get-MgDevice.md | 53 ++-- .../examples/v1.0/Get-MgDeviceMemberOf.md | 19 +- .../v1.0/Get-MgDeviceRegisteredOwner.md | 19 +- .../v1.0/Get-MgDeviceRegisteredUser.md | 19 +- .../v1.0/Get-MgDeviceTransitiveMemberOf.md | 19 +- .../v1.0/Get-MgDirectoryAdministrativeUnit.md | 24 +- ...Get-MgDirectoryAdministrativeUnitMember.md | 19 +- ...gDirectoryAdministrativeUnitMemberByRef.md | 19 +- ...ctoryAdministrativeUnitScopedRoleMember.md | 24 +- .../Get-MgDirectoryFederationConfiguration.md | 24 +- .../examples/v1.0/Get-MgDirectoryRoleDelta.md | 19 +- .../v1.0/Get-MgDirectoryRoleScopedMember.md | 19 +- .../v1.0/Get-MgDirectoryRoleTemplate.md | 24 +- .../v1.0/Get-MgDomainNameReference.md | 19 +- .../Get-MgDomainServiceConfigurationRecord.md | 19 +- .../v1.0/Get-MgDomainVerificationDnsRecord.md | 19 +- .../examples/v1.0/Get-MgOrganization.md | 24 +- .../v1.0/Get-MgOrganizationBranding.md | 29 +- .../Get-MgOrganizationBrandingLocalization.md | 24 +- ...anizationBrandingLocalizationBannerLogo.md | 29 +- .../v1.0/Invoke-MgForceDomainDelete.md | 22 +- .../examples/v1.0/New-MgDevice.md | 32 +- .../v1.0/New-MgDeviceRegisteredOwnerByRef.md | 22 +- .../v1.0/New-MgDeviceRegisteredUserByRef.md | 8 + .../v1.0/New-MgDirectoryAdministrativeUnit.md | 24 +- ...gDirectoryAdministrativeUnitMemberByRef.md | 22 +- ...ctoryAdministrativeUnitScopedRoleMember.md | 25 +- .../New-MgDirectoryFederationConfiguration.md | 34 ++- .../examples/v1.0/New-MgDirectoryRole.md | 22 +- .../examples/v1.0/New-MgDomain.md | 22 +- .../New-MgOrganizationBrandingLocalization.md | 24 +- .../examples/v1.0/Remove-MgDevice.md | 19 +- .../Remove-MgDeviceRegisteredOwnerByRef.md | 19 +- .../Remove-MgDirectoryAdministrativeUnit.md | 19 +- ...gDirectoryAdministrativeUnitMemberByRef.md | 19 +- ...ctoryAdministrativeUnitScopedRoleMember.md | 19 +- .../v1.0/Remove-MgDirectoryDeletedItem.md | 19 +- ...move-MgDirectoryFederationConfiguration.md | 19 +- .../v1.0/Remove-MgDirectoryRoleMemberByRef.md | 19 +- .../examples/v1.0/Remove-MgDomain.md | 19 +- ...move-MgOrganizationBrandingLocalization.md | 19 +- .../v1.0/Restore-MgDirectoryDeletedItem.md | 19 +- .../examples/v1.0/Update-MgDevice.md | 29 +- .../Update-MgDirectoryAdministrativeUnit.md | 22 +- .../examples/v1.0/Update-MgDomain.md | 26 +- .../examples/v1.0/Update-MgOrganization.md | 37 ++- .../v1.0/Update-MgOrganizationBranding.md | 23 +- ...date-MgOrganizationBrandingLocalization.md | 32 +- ...eAccessReviewDefinitionInstanceDecision.md | 19 +- ...et-MgEntitlementManagementAccessPackage.md | 29 +- ...ccessPackageApplicablePolicyRequirement.md | 19 +- ...entAccessPackageAssignmentApprovalStage.md | 24 +- .../Get-MgEntitlementManagementAssignment.md | 29 +- ...MgEntitlementManagementAssignmentPolicy.md | 24 +- ...gEntitlementManagementAssignmentRequest.md | 29 +- .../Get-MgEntitlementManagementCatalog.md | 24 +- ...itlementManagementConnectedOrganization.md | 24 +- .../Get-MgEntitlementManagementSetting.md | 19 +- ...dentityGovernanceAccessReviewDefinition.md | 38 +-- ...overnanceAccessReviewDefinitionInstance.md | 29 +- ...viewDefinitionInstanceContactedReviewer.md | 19 +- ...eAccessReviewDefinitionInstanceDecision.md | 29 +- ...anceAccessReviewDefinitionInstanceStage.md | 29 +- ...ssReviewDefinitionInstanceStageDecision.md | 29 +- ...GovernanceAccessReviewHistoryDefinition.md | 24 +- ...ceAccessReviewHistoryDefinitionInstance.md | 19 +- ...t-MgIdentityGovernanceAppConsentRequest.md | 38 +-- ...anceAppConsentRequestUserConsentRequest.md | 29 +- ...-MgIdentityGovernanceTermOfUseAgreement.md | 38 +-- ...dentityGovernanceTermOfUseAgreementFile.md | 19 +- .../v1.0/Get-MgUserAgreementAcceptance.md | 20 +- ...sReviewDefinitionInstanceRecommendation.md | 19 +- ...sReviewDefinitionInstanceRecordDecision.md | 24 +- ...ew-MgEntitlementManagementAccessPackage.md | 27 +- ...MgEntitlementManagementAssignmentPolicy.md | 169 ++++++++++- ...gEntitlementManagementAssignmentRequest.md | 77 +++-- .../New-MgEntitlementManagementCatalog.md | 25 +- ...itlementManagementConnectedOrganization.md | 31 +- ...nnectedOrganizationExternalSponsorByRef.md | 22 +- ...nnectedOrganizationInternalSponsorByRef.md | 22 +- ...dentityGovernanceAccessReviewDefinition.md | 247 ++++++++++++++-- ...GovernanceAccessReviewHistoryDefinition.md | 57 +++- ...iewHistoryDefinitionInstanceDownloadUri.md | 19 +- ...-MgIdentityGovernanceTermOfUseAgreement.md | 33 ++- ...ve-MgEntitlementManagementAccessPackage.md | 19 +- ...MgEntitlementManagementAssignmentPolicy.md | 19 +- ...gEntitlementManagementAssignmentRequest.md | 19 +- .../Remove-MgEntitlementManagementCatalog.md | 19 +- ...itlementManagementConnectedOrganization.md | 19 +- ...nnectedOrganizationExternalSponsorByRef.md | 19 +- ...nnectedOrganizationInternalSponsorByRef.md | 19 +- ...dentityGovernanceAccessReviewDefinition.md | 19 +- ...-MgIdentityGovernanceTermOfUseAgreement.md | 19 +- ...eAccessReviewDefinitionInstanceDecision.md | 19 +- ...eAccessReviewDefinitionInstanceReminder.md | 19 +- ...gEntitlementManagementAssignmentRequest.md | 19 +- ...overnanceAccessReviewDefinitionInstance.md | 19 +- ...anceAccessReviewDefinitionInstanceStage.md | 19 +- ...te-MgEntitlementManagementAccessPackage.md | 22 +- .../Update-MgEntitlementManagementCatalog.md | 22 +- ...itlementManagementConnectedOrganization.md | 24 +- .../Update-MgEntitlementManagementSetting.md | 22 +- ...overnanceAccessReviewDefinitionInstance.md | 59 +++- ...anceAccessReviewDefinitionInstanceStage.md | 38 ++- ...ssReviewDefinitionInstanceStageDecision.md | 41 ++- ...-MgIdentityGovernanceTermOfUseAgreement.md | 23 +- .../v1.0/Confirm-MgRiskyUserCompromised.md | 25 +- .../v1.0/Get-MgDataPolicyOperation.md | 19 +- .../v1.0/Get-MgIdentityApiConnector.md | 24 +- .../v1.0/Get-MgIdentityB2XUserFlow.md | 29 +- ...t-MgIdentityB2XUserFlowIdentityProvider.md | 19 +- .../v1.0/Get-MgIdentityB2XUserFlowLanguage.md | 24 +- ...tyB2XUserFlowLanguageDefaultPageContent.md | 19 +- ...IdentityB2XUserFlowLanguageOverridePage.md | 19 +- ...ntityB2XUserFlowUserAttributeAssignment.md | 38 +-- ...B2XUserFlowUserAttributeAssignmentOrder.md | 19 +- .../examples/v1.0/Get-MgIdentityProvider.md | 58 ++-- .../v1.0/Get-MgIdentityUserFlowAttribute.md | 24 +- ...formationProtectionBitlockerRecoveryKey.md | 38 +-- ...mationProtectionThreatAssessmentRequest.md | 48 +-- .../v1.0/Get-MgOauth2PermissionGrant.md | 24 +- .../v1.0/Get-MgOauth2PermissionGrantDelta.md | 19 +- ...zationCertificateBasedAuthConfiguration.md | 24 +- .../Get-MgPolicyActivityBasedTimeoutPolicy.md | 24 +- .../Get-MgPolicyAdminConsentRequestPolicy.md | 19 +- .../Get-MgPolicyAuthenticationFlowPolicy.md | 19 +- .../Get-MgPolicyAuthenticationMethodPolicy.md | 19 +- ...PolicyAuthenticationMethodConfiguration.md | 38 +-- .../v1.0/Get-MgPolicyClaimMappingPolicy.md | 24 +- .../Get-MgPolicyCrossTenantAccessPolicy.md | 19 +- ...-MgPolicyCrossTenantAccessPolicyDefault.md | 19 +- ...-MgPolicyCrossTenantAccessPolicyPartner.md | 24 +- .../v1.0/Get-MgPolicyFeatureRolloutPolicy.md | 29 +- .../Get-MgPolicyHomeRealmDiscoveryPolicy.md | 24 +- ...dentitySecurityDefaultEnforcementPolicy.md | 19 +- .../v1.0/Get-MgPolicyPermissionGrantPolicy.md | 24 +- ...et-MgPolicyPermissionGrantPolicyExclude.md | 19 +- ...et-MgPolicyPermissionGrantPolicyInclude.md | 19 +- .../v1.0/Get-MgPolicyRoleManagementPolicy.md | 38 +-- ...-MgPolicyRoleManagementPolicyAssignment.md | 38 +-- .../Get-MgPolicyRoleManagementPolicyRule.md | 24 +- .../v1.0/Get-MgPolicyTokenIssuancePolicy.md | 24 +- .../v1.0/Get-MgPolicyTokenLifetimePolicy.md | 24 +- .../examples/v1.0/Get-MgRiskDetection.md | 24 +- .../examples/v1.0/Get-MgRiskyUser.md | 24 +- .../examples/v1.0/Get-MgRiskyUserHistory.md | 24 +- .../Get-MgUserAuthenticationEmailMethod.md | 26 +- .../Get-MgUserAuthenticationFido2Method.md | 20 +- ...henticationMicrosoftAuthenticatorMethod.md | 19 +- .../v1.0/Get-MgUserAuthenticationOperation.md | 19 +- .../Get-MgUserAuthenticationPasswordMethod.md | 26 +- .../Get-MgUserAuthenticationPhoneMethod.md | 26 +- ...-MgUserAuthenticationSoftwareOathMethod.md | 26 +- ...AuthenticationTemporaryAccessPassMethod.md | 24 +- ...henticationWindowHelloForBusinessMethod.md | 24 +- .../Invoke-MgAvailableIdentityProviderType.md | 29 +- .../v1.0/Invoke-MgDismissRiskyUser.md | 25 +- ...adIdentityApiConnectorClientCertificate.md | 23 +- .../v1.0/New-MgIdentityApiConnector.md | 56 +++- .../v1.0/New-MgIdentityB2XUserFlow.md | 59 +++- ...ntityB2XUserFlowUserAttributeAssignment.md | 30 +- .../examples/v1.0/New-MgIdentityProvider.md | 39 ++- .../v1.0/New-MgIdentityUserFlowAttribute.md | 24 +- ...mationProtectionThreatAssessmentRequest.md | 65 ++-- .../v1.0/New-MgOauth2PermissionGrant.md | 25 +- .../New-MgPolicyActivityBasedTimeoutPolicy.md | 26 +- .../v1.0/New-MgPolicyClaimMappingPolicy.md | 25 +- ...-MgPolicyCrossTenantAccessPolicyPartner.md | 44 ++- .../v1.0/New-MgPolicyFeatureRolloutPolicy.md | 26 +- ...gPolicyFeatureRolloutPolicyApplyToByRef.md | 22 +- .../New-MgPolicyHomeRealmDiscoveryPolicy.md | 26 +- .../v1.0/New-MgPolicyPermissionGrantPolicy.md | 24 +- ...ew-MgPolicyPermissionGrantPolicyExclude.md | 23 +- ...ew-MgPolicyPermissionGrantPolicyInclude.md | 23 +- .../v1.0/New-MgPolicyTokenIssuancePolicy.md | 26 +- .../v1.0/New-MgPolicyTokenLifetimePolicy.md | 26 +- .../New-MgUserAuthenticationEmailMethod.md | 22 +- .../New-MgUserAuthenticationPhoneMethod.md | 24 +- ...AuthenticationTemporaryAccessPassMethod.md | 24 +- .../v1.0/Remove-MgIdentityApiConnector.md | 19 +- .../v1.0/Remove-MgIdentityB2XUserFlow.md | 19 +- ...ntityB2XUserFlowUserAttributeAssignment.md | 19 +- .../v1.0/Remove-MgIdentityProvider.md | 24 +- .../Remove-MgIdentityUserFlowAttribute.md | 19 +- .../v1.0/Remove-MgOauth2PermissionGrant.md | 19 +- ...move-MgPolicyActivityBasedTimeoutPolicy.md | 19 +- ...PolicyAuthenticationMethodConfiguration.md | 38 +-- .../v1.0/Remove-MgPolicyClaimMappingPolicy.md | 19 +- ...-MgPolicyCrossTenantAccessPolicyPartner.md | 19 +- .../Remove-MgPolicyFeatureRolloutPolicy.md | 19 +- ...gPolicyFeatureRolloutPolicyApplyToByRef.md | 19 +- ...Remove-MgPolicyHomeRealmDiscoveryPolicy.md | 19 +- .../Remove-MgPolicyPermissionGrantPolicy.md | 19 +- ...ve-MgPolicyPermissionGrantPolicyExclude.md | 19 +- ...ve-MgPolicyPermissionGrantPolicyInclude.md | 19 +- .../Remove-MgPolicyTokenIssuancePolicy.md | 19 +- .../Remove-MgPolicyTokenLifetimePolicy.md | 19 +- .../Remove-MgUserAuthenticationEmailMethod.md | 19 +- .../Remove-MgUserAuthenticationFido2Method.md | 19 +- ...henticationMicrosoftAuthenticatorMethod.md | 19 +- .../Remove-MgUserAuthenticationPhoneMethod.md | 20 +- ...-MgUserAuthenticationSoftwareOathMethod.md | 19 +- ...AuthenticationTemporaryAccessPassMethod.md | 19 +- ...henticationWindowHelloForBusinessMethod.md | 19 +- ...enantAccessPolicyDefaultToSystemDefault.md | 19 +- ...yB2XUserFlowLanguageOverridePageContent.md | 23 +- ...B2XUserFlowUserAttributeAssignmentOrder.md | 27 +- .../v1.0/Update-MgIdentityApiConnector.md | 52 +++- ...ntityB2XUserFlowUserAttributeAssignment.md | 22 +- .../v1.0/Update-MgIdentityProvider.md | 40 ++- .../Update-MgIdentityUserFlowAttribute.md | 22 +- .../v1.0/Update-MgOauth2PermissionGrant.md | 22 +- ...date-MgPolicyActivityBasedTimeoutPolicy.md | 26 +- ...Update-MgPolicyAuthenticationFlowPolicy.md | 24 +- ...date-MgPolicyAuthenticationMethodPolicy.md | 46 ++- ...PolicyAuthenticationMethodConfiguration.md | 55 ++-- .../v1.0/Update-MgPolicyClaimMappingPolicy.md | 22 +- .../Update-MgPolicyCrossTenantAccessPolicy.md | 22 +- ...-MgPolicyCrossTenantAccessPolicyDefault.md | 41 ++- ...-MgPolicyCrossTenantAccessPolicyPartner.md | 26 +- .../Update-MgPolicyFeatureRolloutPolicy.md | 25 +- ...Update-MgPolicyHomeRealmDiscoveryPolicy.md | 26 +- ...dentitySecurityDefaultEnforcementPolicy.md | 22 +- .../Update-MgPolicyPermissionGrantPolicy.md | 22 +- ...Update-MgPolicyRoleManagementPolicyRule.md | 37 ++- .../Update-MgPolicyTokenIssuancePolicy.md | 26 +- .../Update-MgPolicyTokenLifetimePolicy.md | 26 +- .../Update-MgUserAuthenticationEmailMethod.md | 22 +- .../Update-MgUserAuthenticationPhoneMethod.md | 24 +- ...t-MgUserInferenceClassificationOverride.md | 20 +- .../examples/v1.0/Get-MgUserMailFolder.md | 32 +- .../v1.0/Get-MgUserMailFolderChildFolder.md | 20 +- .../v1.0/Get-MgUserMailFolderMessage.md | 20 +- .../v1.0/Get-MgUserMailFolderMessageRule.md | 26 +- .../Mail/examples/v1.0/Get-MgUserMessage.md | 48 +-- .../v1.0/Get-MgUserMessageAttachment.md | 60 ++-- .../v1.0/Get-MgUserMessageExtension.md | 20 +- ...w-MgUserInferenceClassificationOverride.md | 27 +- .../examples/v1.0/New-MgUserMailFolder.md | 24 +- .../v1.0/New-MgUserMailFolderChildFolder.md | 39 ++- .../v1.0/New-MgUserMailFolderMessage.md | 31 +- .../v1.0/New-MgUserMailFolderMessageRule.md | 41 ++- .../Mail/examples/v1.0/New-MgUserMessage.md | 65 +++- .../v1.0/New-MgUserMessageAttachment.md | 39 ++- ...e-MgUserInferenceClassificationOverride.md | 20 +- .../examples/v1.0/Remove-MgUserMailFolder.md | 20 +- .../Remove-MgUserMailFolderMessageRule.md | 20 +- .../examples/v1.0/Remove-MgUserMessage.md | 26 +- .../v1.0/Remove-MgUserMessageExtension.md | 20 +- ...e-MgUserInferenceClassificationOverride.md | 23 +- .../examples/v1.0/Update-MgUserMailFolder.md | 33 ++- .../Update-MgUserMailFolderMessageRule.md | 26 +- .../examples/v1.0/Update-MgUserMessage.md | 37 ++- .../v1.0/Get-MgUserOnenoteNotebook.md | 32 +- .../v1.0/Get-MgUserOnenoteNotebookSection.md | 20 +- .../Get-MgUserOnenoteNotebookSectionGroup.md | 20 +- .../v1.0/Get-MgUserOnenoteOperation.md | 20 +- .../examples/v1.0/Get-MgUserOnenoteSection.md | 26 +- .../v1.0/Get-MgUserOnenoteSectionGroup.md | 20 +- .../Get-MgUserOnenoteSectionGroupSection.md | 20 +- .../v1.0/New-MgUserOnenoteNotebook.md | 23 +- .../v1.0/New-MgUserOnenoteNotebookSection.md | 23 +- .../New-MgUserOnenoteNotebookSectionGroup.md | 23 +- .../New-MgUserOnenoteSectionGroupSection.md | 23 +- .../examples/v1.0/Remove-MgUserOnenotePage.md | 20 +- .../People/examples/v1.0/Get-MgUserPerson.md | 20 +- .../examples/v1.0/Get-MgUserUsedInsight.md | 26 +- .../examples/v1.0/Get-MgUserContact.md | 26 +- .../examples/v1.0/Get-MgUserContactFolder.md | 26 +- .../Get-MgUserContactFolderChildFolder.md | 20 +- .../v1.0/Get-MgUserContactFolderContact.md | 20 +- .../examples/v1.0/New-MgUserContact.md | 33 ++- .../examples/v1.0/New-MgUserContactFolder.md | 24 +- .../New-MgUserContactFolderChildFolder.md | 23 +- .../v1.0/New-MgUserContactFolderContact.md | 28 +- .../examples/v1.0/Remove-MgUserContact.md | 20 +- .../v1.0/Remove-MgUserContactFolder.md | 20 +- .../examples/v1.0/Update-MgUserContact.md | 29 +- .../v1.0/Update-MgUserContactFolder.md | 24 +- .../examples/v1.0/Get-MgGroupPlannerPlan.md | 19 +- .../Planner/examples/v1.0/Get-MgPlanner.md | 19 +- .../examples/v1.0/Get-MgPlannerBucket.md | 24 +- .../examples/v1.0/Get-MgPlannerBucketTask.md | 19 +- .../examples/v1.0/Get-MgPlannerPlan.md | 24 +- .../examples/v1.0/Get-MgPlannerPlanBucket.md | 19 +- .../examples/v1.0/Get-MgPlannerPlanDetail.md | 19 +- .../examples/v1.0/Get-MgPlannerPlanTask.md | 19 +- .../examples/v1.0/Get-MgPlannerTask.md | 24 +- ...-MgPlannerTaskAssignedToTaskBoardFormat.md | 19 +- .../Get-MgPlannerTaskBucketTaskBoardFormat.md | 19 +- .../examples/v1.0/Get-MgPlannerTaskDetail.md | 19 +- ...et-MgPlannerTaskProgressTaskBoardFormat.md | 19 +- .../examples/v1.0/Get-MgUserPlannerPlan.md | 20 +- .../examples/v1.0/Get-MgUserPlannerTask.md | 20 +- .../examples/v1.0/New-MgPlannerBucket.md | 24 +- .../examples/v1.0/New-MgPlannerPlan.md | 23 +- .../examples/v1.0/New-MgPlannerTask.md | 30 +- .../examples/v1.0/Remove-MgPlannerBucket.md | 19 +- .../examples/v1.0/Remove-MgPlannerPlan.md | 19 +- .../examples/v1.0/Remove-MgPlannerTask.md | 19 +- .../examples/v1.0/Update-MgPlannerBucket.md | 22 +- .../examples/v1.0/Update-MgPlannerPlan.md | 22 +- .../v1.0/Update-MgPlannerPlanDetail.md | 29 +- .../examples/v1.0/Update-MgPlannerTask.md | 31 +- ...-MgPlannerTaskAssignedToTaskBoardFormat.md | 24 +- ...date-MgPlannerTaskBucketTaskBoardFormat.md | 22 +- .../v1.0/Update-MgPlannerTaskDetail.md | 47 ++- ...te-MgPlannerTaskProgressTaskBoardFormat.md | 22 +- .../v1.0/Get-MgAuditLogDirectoryAudit.md | 24 +- .../v1.0/Get-MgAuditLogProvisioning.md | 24 +- .../examples/v1.0/Get-MgAuditLogSignIn.md | 29 +- .../Get-MgReportDailyPrintUsageByPrinter.md | 24 +- .../v1.0/Get-MgReportDailyPrintUsageByUser.md | 24 +- .../Get-MgReportMonthlyPrintUsageByPrinter.md | 19 +- .../Get-MgReportMonthlyPrintUsageByUser.md | 19 +- .../examples/v1.0/Get-MgSchemaExtension.md | 24 +- .../examples/v1.0/New-MgSchemaExtension.md | 93 +++++- .../examples/v1.0/Remove-MgSchemaExtension.md | 19 +- .../examples/v1.0/Update-MgSchemaExtension.md | 66 ++++- .../examples/v1.0/Get-MgExternalConnection.md | 24 +- .../v1.0/Get-MgExternalConnectionGroup.md | 19 +- .../v1.0/Get-MgExternalConnectionItem.md | 19 +- .../v1.0/Get-MgExternalConnectionOperation.md | 19 +- .../v1.0/Get-MgExternalConnectionSchema.md | 19 +- .../examples/v1.0/New-MgExternalConnection.md | 24 +- .../v1.0/New-MgExternalConnectionGroup.md | 24 +- .../New-MgExternalConnectionGroupMember.md | 41 ++- .../v1.0/Remove-MgExternalConnection.md | 19 +- .../v1.0/Remove-MgExternalConnectionGroup.md | 19 +- .../Remove-MgExternalConnectionGroupMember.md | 19 +- .../v1.0/Remove-MgExternalConnectionItem.md | 19 +- .../v1.0/Update-MgExternalConnection.md | 23 +- .../v1.0/Update-MgExternalConnectionGroup.md | 23 +- .../v1.0/Update-MgExternalConnectionItem.md | 28 +- ...SecurityCaseEdiscoveryCaseCustodianHold.md | 24 +- ...discoveryCaseNoncustodialDataSourceHold.md | 24 +- ...rityCaseEdiscoveryCaseReviewSetQueryTag.md | 26 +- ...yCaseEdiscoveryCaseReviewSetToReviewSet.md | 25 +- .../Close-MgSecurityCaseEdiscoveryCase.md | 19 +- .../examples/v1.0/Get-MgSecurityAlert.md | 24 +- .../v1.0/Get-MgSecurityCaseEdiscoveryCase.md | 24 +- ...t-MgSecurityCaseEdiscoveryCaseCustodian.md | 24 +- ...iscoveryCaseCustodianLastIndexOperation.md | 19 +- ...tyCaseEdiscoveryCaseCustodianSiteSource.md | 19 +- ...iscoveryCaseCustodianUnifiedGroupSource.md | 19 +- ...tyCaseEdiscoveryCaseCustodianUserSource.md | 19 +- ...aseEdiscoveryCaseNoncustodialDataSource.md | 29 +- ...t-MgSecurityCaseEdiscoveryCaseOperation.md | 24 +- ...t-MgSecurityCaseEdiscoveryCaseReviewSet.md | 24 +- ...ecurityCaseEdiscoveryCaseReviewSetQuery.md | 24 +- .../Get-MgSecurityCaseEdiscoveryCaseSearch.md | 24 +- ...aseEdiscoveryCaseSearchAdditionalSource.md | 24 +- ...CaseEdiscoveryCaseSearchCustodianSource.md | 19 +- ...seSearchLastEstimateStatisticsOperation.md | 19 +- ...eEdiscoveryCaseSearchNoncustodialSource.md | 19 +- ...Get-MgSecurityCaseEdiscoveryCaseSetting.md | 19 +- .../Get-MgSecurityCaseEdiscoveryCaseTag.md | 24 +- .../v1.0/Get-MgSecuritySecureScore.md | 24 +- ...Get-MgSecuritySecureScoreControlProfile.md | 24 +- ...e-MgSecurityCaseEdiscoveryCaseCustodian.md | 19 +- ...sSecurityCaseEdiscoveryCaseTagHierarchy.md | 19 +- ...urityCaseEdiscoveryCaseSearchStatistics.md | 19 +- ...voke-MgReopenSecurityCaseEdiscoveryCase.md | 19 +- .../v1.0/New-MgSecurityCaseEdiscoveryCase.md | 24 +- ...w-MgSecurityCaseEdiscoveryCaseCustodian.md | 22 +- ...tyCaseEdiscoveryCaseCustodianSiteSource.md | 24 +- ...iscoveryCaseCustodianUnifiedGroupSource.md | 43 ++- ...aseEdiscoveryCaseNoncustodialDataSource.md | 24 +- ...w-MgSecurityCaseEdiscoveryCaseReviewSet.md | 22 +- ...ecurityCaseEdiscoveryCaseReviewSetQuery.md | 23 +- .../New-MgSecurityCaseEdiscoveryCaseSearch.md | 32 +- ...h-MgSecurityCaseEdiscoveryCaseCustodian.md | 19 +- ...aseEdiscoveryCaseNoncustodialDataSource.md | 19 +- .../Remove-MgSecurityCaseEdiscoveryCase.md | 19 +- ...SecurityCaseEdiscoveryCaseCustodianHold.md | 19 +- ...discoveryCaseNoncustodialDataSourceHold.md | 24 +- ...ecurityCaseEdiscoveryCaseReviewSetQuery.md | 19 +- ...move-MgSecurityCaseEdiscoveryCaseSearch.md | 19 +- .../Remove-MgSecurityCaseEdiscoveryCaseTag.md | 19 +- ...urityCaseEdiscoveryCaseSettingToDefault.md | 19 +- .../examples/v1.0/Update-MgSecurityAlert.md | 56 +++- .../Update-MgSecurityCaseEdiscoveryCase.md | 23 +- ...ecurityCaseEdiscoveryCaseCustodianIndex.md | 19 +- ...iscoveryCaseNoncustodialDataSourceIndex.md | 19 +- ...ecurityCaseEdiscoveryCaseReviewSetQuery.md | 23 +- ...date-MgSecurityCaseEdiscoveryCaseSearch.md | 22 +- ...ate-MgSecurityCaseEdiscoveryCaseSetting.md | 31 +- ...ate-MgSecuritySecureScoreControlProfile.md | 46 ++- .../v1.0/Add-MgSiteListContentTypeCopy.md | 22 +- ...teListContentTypeCopyFromContentTypeHub.md | 38 ++- ...SiteContentTypeToDefaultContentLocation.md | 28 +- src/Sites/Sites/examples/v1.0/Get-MgSite.md | 29 +- .../Sites/examples/v1.0/Get-MgSiteColumn.md | 19 +- .../examples/v1.0/Get-MgSiteContentType.md | 29 +- .../v1.0/Get-MgSiteContentTypeColumn.md | 24 +- .../examples/v1.0/Get-MgSiteDefaultDrive.md | 19 +- .../Sites/examples/v1.0/Get-MgSiteDrive.md | 19 +- .../Sites/examples/v1.0/Get-MgSiteList.md | 48 +-- .../examples/v1.0/Get-MgSiteListColumn.md | 19 +- .../v1.0/Get-MgSiteListContentType.md | 19 +- ...ListContentTypeCompatibleHubContentType.md | 19 +- .../Sites/examples/v1.0/Get-MgSiteListItem.md | 19 +- .../Get-MgSiteListItemDocumentSetVersion.md | 24 +- .../v1.0/Get-MgSiteListItemVersion.md | 24 +- .../examples/v1.0/Get-MgSitePermission.md | 24 +- .../examples/v1.0/Get-MgSiteTermStore.md | 19 +- .../examples/v1.0/Get-MgSiteTermStoreGroup.md | 29 +- .../v1.0/Get-MgSiteTermStoreGroupSet.md | 19 +- .../v1.0/Get-MgSiteTermStoreGroupSetTerm.md | 19 +- .../examples/v1.0/Get-MgSiteTermStoreSet.md | 19 +- .../v1.0/Get-MgSiteTermStoreSetChild.md | 19 +- .../v1.0/Get-MgSiteTermStoreSetRelation.md | 19 +- .../Sites/examples/v1.0/Get-MgSubSite.md | 19 +- .../examples/v1.0/Get-MgUserFollowedSite.md | 20 +- .../v1.0/Join-MgSiteContentTypeWithHubSite.md | 25 +- .../Sites/examples/v1.0/New-MgSiteColumn.md | 32 +- .../examples/v1.0/New-MgSiteContentType.md | 28 +- .../v1.0/New-MgSiteContentTypeColumn.md | 22 +- .../Sites/examples/v1.0/New-MgSiteList.md | 37 ++- .../examples/v1.0/New-MgSiteListColumn.md | 32 +- .../Sites/examples/v1.0/New-MgSiteListItem.md | 26 +- .../New-MgSiteListItemDocumentSetVersion.md | 23 +- .../examples/v1.0/New-MgSitePermission.md | 32 +- .../examples/v1.0/New-MgSiteTermStoreGroup.md | 22 +- .../v1.0/New-MgSiteTermStoreSetChild.md | 28 +- .../v1.0/Publish-MgSiteContentType.md | 19 +- .../examples/v1.0/Remove-MgSiteContentType.md | 19 +- .../v1.0/Remove-MgSiteContentTypeColumn.md | 19 +- .../examples/v1.0/Remove-MgSiteListItem.md | 19 +- ...Remove-MgSiteListItemDocumentSetVersion.md | 19 +- .../examples/v1.0/Remove-MgSitePermission.md | 19 +- .../v1.0/Remove-MgSiteTermStoreGroup.md | 19 +- .../v1.0/Remove-MgSiteTermStoreSet.md | 19 +- .../v1.0/Remove-MgSiteTermStoreSetTerm.md | 19 +- ...estore-MgSiteListItemDocumentSetVersion.md | 19 +- .../v1.0/Restore-MgSiteListItemVersion.md | 19 +- .../v1.0/Test-MgSiteContentTypePublished.md | 19 +- .../v1.0/Unpublish-MgSiteContentType.md | 19 +- .../examples/v1.0/Update-MgSiteContentType.md | 61 +++- .../v1.0/Update-MgSiteListItemField.md | 23 +- .../examples/v1.0/Update-MgSitePermission.md | 24 +- .../examples/v1.0/Update-MgSiteTermStore.md | 22 +- .../v1.0/Update-MgSiteTermStoreSet.md | 22 +- .../v1.0/Update-MgSiteTermStoreSetTerm.md | 28 +- .../Teams/examples/v1.0/Add-MgTeamMember.md | 80 ++++- .../v1.0/Complete-MgTeamChannelMigration.md | 19 +- .../examples/v1.0/Complete-MgTeamMigration.md | 19 +- src/Teams/Teams/examples/v1.0/Copy-MgTeam.md | 26 +- .../examples/v1.0/Get-MgAppCatalogTeamApp.md | 43 +-- .../Get-MgAppCatalogTeamAppDefinitionBot.md | 19 +- src/Teams/Teams/examples/v1.0/Get-MgChat.md | 38 +-- .../examples/v1.0/Get-MgChatInstalledApp.md | 38 +-- .../Teams/examples/v1.0/Get-MgChatMember.md | 24 +- .../Teams/examples/v1.0/Get-MgChatMessage.md | 24 +- .../v1.0/Get-MgChatMessageHostedContent.md | 24 +- .../Teams/examples/v1.0/Get-MgChatTab.md | 29 +- src/Teams/Teams/examples/v1.0/Get-MgTeam.md | 19 +- .../Teams/examples/v1.0/Get-MgTeamChannel.md | 43 +-- .../v1.0/Get-MgTeamChannelFileFolder.md | 19 +- .../examples/v1.0/Get-MgTeamChannelMember.md | 24 +- .../examples/v1.0/Get-MgTeamChannelMessage.md | 29 +- .../Get-MgTeamChannelMessageHostedContent.md | 19 +- .../v1.0/Get-MgTeamChannelMessageReply.md | 19 +- ...-MgTeamChannelMessageReplyHostedContent.md | 19 +- .../v1.0/Get-MgTeamChannelSharedWithTeam.md | 24 +- ...gTeamChannelSharedWithTeamAllowedMember.md | 19 +- .../examples/v1.0/Get-MgTeamChannelTab.md | 24 +- .../v1.0/Get-MgTeamIncomingChannel.md | 19 +- .../examples/v1.0/Get-MgTeamInstalledApp.md | 43 +-- .../Teams/examples/v1.0/Get-MgTeamMember.md | 38 +-- .../examples/v1.0/Get-MgTeamPrimaryChannel.md | 19 +- .../Teams/examples/v1.0/Get-MgTeamSchedule.md | 19 +- .../Get-MgTeamScheduleOfferShiftRequest.md | 24 +- .../v1.0/Get-MgTeamScheduleOpenShift.md | 24 +- ...et-MgTeamScheduleOpenShiftChangeRequest.md | 24 +- .../v1.0/Get-MgTeamScheduleSchedulingGroup.md | 24 +- .../examples/v1.0/Get-MgTeamScheduleShift.md | 24 +- ...et-MgTeamScheduleSwapShiftChangeRequest.md | 24 +- .../v1.0/Get-MgTeamScheduleTimeOff.md | 24 +- .../v1.0/Get-MgTeamScheduleTimeOffReason.md | 24 +- .../v1.0/Get-MgTeamScheduleTimeOffRequest.md | 24 +- .../Get-MgTeamworkWorkforceIntegration.md | 24 +- .../Teams/examples/v1.0/Get-MgUserChat.md | 29 +- .../examples/v1.0/Get-MgUserChatMember.md | 20 +- .../examples/v1.0/Get-MgUserJoinedTeam.md | 20 +- .../v1.0/Get-MgUserTeamworkAssociatedTeam.md | 20 +- .../v1.0/Get-MgUserTeamworkInstalledApp.md | 38 +-- .../Get-MgUserTeamworkInstalledAppChat.md | 19 +- .../examples/v1.0/Invoke-MgArchiveTeam.md | 19 +- .../v1.0/Invoke-MgShareTeamSchedule.md | 24 +- .../examples/v1.0/Invoke-MgUnarchiveTeam.md | 19 +- .../examples/v1.0/New-MgAppCatalogTeamApp.md | 19 +- src/Teams/Teams/examples/v1.0/New-MgChat.md | 187 ++++++++++-- .../examples/v1.0/New-MgChatInstalledApp.md | 22 +- .../Teams/examples/v1.0/New-MgChatMember.md | 69 +++-- .../Teams/examples/v1.0/New-MgChatMessage.md | 46 ++- .../Teams/examples/v1.0/New-MgChatTab.md | 29 +- src/Teams/Teams/examples/v1.0/New-MgTeam.md | 235 +++++++++++++-- .../Teams/examples/v1.0/New-MgTeamChannel.md | 98 ++++-- .../examples/v1.0/New-MgTeamChannelEmail.md | 19 +- .../examples/v1.0/New-MgTeamChannelMember.md | 92 ++++-- .../examples/v1.0/New-MgTeamChannelMessage.md | 279 ++++++++++++++++-- .../v1.0/New-MgTeamChannelMessageReply.md | 36 ++- .../examples/v1.0/New-MgTeamInstalledApp.md | 22 +- .../Teams/examples/v1.0/New-MgTeamMember.md | 38 ++- .../New-MgTeamScheduleOfferShiftRequest.md | 24 +- .../v1.0/New-MgTeamScheduleOpenShift.md | 52 +++- ...ew-MgTeamScheduleOpenShiftChangeRequest.md | 23 +- .../v1.0/New-MgTeamScheduleSchedulingGroup.md | 27 +- .../examples/v1.0/New-MgTeamScheduleShift.md | 56 +++- ...ew-MgTeamScheduleSwapShiftChangeRequest.md | 25 +- .../v1.0/New-MgTeamScheduleTimeOff.md | 34 ++- .../v1.0/New-MgTeamScheduleTimeOffReason.md | 24 +- .../New-MgTeamworkWorkforceIntegration.md | 30 +- .../v1.0/New-MgUserTeamworkInstalledApp.md | 22 +- .../v1.0/Remove-MgAppCatalogTeamApp.md | 19 +- .../v1.0/Remove-MgChatInstalledApp.md | 19 +- .../examples/v1.0/Remove-MgChatMember.md | 19 +- .../Teams/examples/v1.0/Remove-MgChatTab.md | 19 +- .../examples/v1.0/Remove-MgTeamChannel.md | 19 +- .../v1.0/Remove-MgTeamChannelEmail.md | 19 +- .../v1.0/Remove-MgTeamChannelMember.md | 19 +- .../Remove-MgTeamChannelSharedWithTeam.md | 19 +- .../v1.0/Remove-MgTeamInstalledApp.md | 19 +- .../examples/v1.0/Remove-MgTeamMember.md | 19 +- .../v1.0/Remove-MgTeamScheduleOpenShift.md | 19 +- .../Remove-MgTeamScheduleSchedulingGroup.md | 19 +- .../v1.0/Remove-MgTeamScheduleShift.md | 19 +- .../v1.0/Remove-MgTeamScheduleTimeOff.md | 19 +- .../Remove-MgTeamScheduleTimeOffReason.md | 19 +- .../Remove-MgTeamScheduleTimeOffRequest.md | 19 +- .../Remove-MgTeamworkWorkforceIntegration.md | 19 +- .../v1.0/Remove-MgUserTeamworkInstalledApp.md | 19 +- .../v1.0/Send-MgChatActivityNotification.md | 145 +++++++-- .../v1.0/Send-MgTeamActivityNotification.md | 127 ++++++-- .../Teams/examples/v1.0/Update-MgChat.md | 22 +- .../v1.0/Update-MgChatInstalledApp.md | 19 +- .../Teams/examples/v1.0/Update-MgChatTab.md | 22 +- .../Teams/examples/v1.0/Update-MgTeam.md | 32 +- .../examples/v1.0/Update-MgTeamChannel.md | 19 +- .../v1.0/Update-MgTeamChannelMember.md | 25 +- .../v1.0/Update-MgTeamChannelMessage.md | 32 +- .../v1.0/Update-MgTeamInstalledApp.md | 19 +- .../examples/v1.0/Update-MgTeamMember.md | 25 +- .../v1.0/Update-MgTeamScheduleOpenShift.md | 40 ++- .../v1.0/Update-MgTeamScheduleShift.md | 67 ++++- .../Update-MgTeamworkWorkforceIntegration.md | 30 +- .../examples/v1.0/Clear-MgUserPresence.md | 22 +- .../v1.0/Confirm-MgUserMemberGroup.md | 26 +- .../v1.0/Confirm-MgUserMemberObject.md | 28 +- .../examples/v1.0/Copy-MgUserMailFolder.md | 23 +- .../examples/v1.0/Copy-MgUserMessage.md | 23 +- .../v1.0/Copy-MgUserOnenoteNotebook.md | 24 +- .../v1.0/Copy-MgUserOnenotePageToSection.md | 24 +- .../Copy-MgUserOnenoteSectionToNotebook.md | 25 +- ...Copy-MgUserOnenoteSectionToSectionGroup.md | 25 +- ...e-MgUserAuthenticationPhoneMethodSmSign.md | 20 +- ...e-MgUserAuthenticationPhoneMethodSmSign.md | 20 +- .../v1.0/Export-MgUserPersonalData.md | 22 +- .../examples/v1.0/Find-MgUserMeetingTime.md | 60 +++- .../v1.0/Get-MgUserDefaultCalendarSchedule.md | 35 ++- .../examples/v1.0/Get-MgUserMailTip.md | 27 +- .../examples/v1.0/Get-MgUserMemberGroup.md | 23 +- .../Get-MgUserOnenoteNotebookFromWebUrl.md | 23 +- .../examples/v1.0/Invoke-MgAcceptUserEvent.md | 24 +- .../Invoke-MgAcceptUserEventTentatively.md | 34 ++- .../Invoke-MgCreateOrGetUserOnlineMeeting.md | 38 ++- .../v1.0/Invoke-MgDeclineUserEvent.md | 34 ++- .../v1.0/Invoke-MgDismissUserEventReminder.md | 20 +- .../v1.0/Invoke-MgForwardUserEvent.md | 31 +- .../v1.0/Invoke-MgForwardUserMessage.md | 31 +- .../examples/v1.0/Invoke-MgLicenseUser.md | 19 +- .../v1.0/Invoke-MgReplyAllUserMessage.md | 23 +- .../v1.0/Invoke-MgReplyUserMessage.md | 39 ++- .../v1.0/Invoke-MgSnoozeUserEventReminder.md | 26 +- .../v1.0/Invoke-MgTranslateUserExchangeId.md | 28 +- .../examples/v1.0/Move-MgUserMailFolder.md | 23 +- .../examples/v1.0/Move-MgUserMessage.md | 23 +- ...ew-MgUserMessageAttachmentUploadSession.md | 42 ++- .../examples/v1.0/New-MgUserMessageForward.md | 20 +- .../examples/v1.0/New-MgUserMessageReply.md | 20 +- .../v1.0/New-MgUserMessageReplyAll.md | 20 +- .../examples/v1.0/Revoke-MgUserSign.md | 6 + .../examples/v1.0/Send-MgUserMail.md | 106 ++++++- .../examples/v1.0/Send-MgUserMessage.md | 20 +- ...Send-MgUserTeamworkActivityNotification.md | 79 ++++- .../examples/v1.0/Set-MgUserPresence.md | 25 +- .../examples/v1.0/Stop-MgUserEvent.md | 23 +- .../examples/v1.0/Update-MgUserPassword.md | 24 +- .../v1.0/Get-MgUserContactFolderDelta.md | 20 +- .../examples/v1.0/Get-MgUserDelta.md | 19 +- .../v1.0/Get-MgUserMailFolderMessageDelta.md | 20 +- .../v1.0/Invoke-MgRecentUserActivity.md | 20 +- .../Invoke-MgSupportedUserOutlookLanguage.md | 20 +- .../examples/v1.0/Invoke-MgTimeUserOutlook.md | 20 +- .../Users/examples/v1.0/Get-MgUserMemberOf.md | 19 +- .../v1.0/Get-MgUserOutlookMasterCategory.md | 26 +- .../examples/v1.0/Get-MgUserOwnedDevice.md | 20 +- .../examples/v1.0/Get-MgUserOwnedObject.md | 20 +- .../v1.0/Get-MgUserRegisteredDevice.md | 20 +- .../v1.0/Get-MgUserSettingShiftPreference.md | 19 +- .../Users/examples/v1.0/Get-MgUserTodoList.md | 26 +- .../examples/v1.0/Get-MgUserTodoListTask.md | 26 +- .../Get-MgUserTodoListTaskChecklistItem.md | 26 +- .../Get-MgUserTodoListTaskLinkedResource.md | 26 +- .../v1.0/Get-MgUserTransitiveMemberOf.md | 19 +- .../v1.0/New-MgUserOutlookMasterCategory.md | 24 +- .../Users/examples/v1.0/New-MgUserTodoList.md | 23 +- .../examples/v1.0/New-MgUserTodoListTask.md | 33 ++- .../New-MgUserTodoListTaskChecklistItem.md | 23 +- .../New-MgUserTodoListTaskLinkedResource.md | 26 +- .../Remove-MgUserOutlookMasterCategory.md | 20 +- .../examples/v1.0/Remove-MgUserTodoList.md | 20 +- .../v1.0/Remove-MgUserTodoListTask.md | 20 +- .../Remove-MgUserTodoListTaskChecklistItem.md | 20 +- ...Remove-MgUserTodoListTaskLinkedResource.md | 20 +- .../Update-MgUserOutlookMasterCategory.md | 23 +- .../Update-MgUserSettingShiftPreference.md | 43 ++- .../examples/v1.0/Update-MgUserTodoList.md | 23 +- .../v1.0/Update-MgUserTodoListTask.md | 26 +- .../Update-MgUserTodoListTaskChecklistItem.md | 23 +- ...Update-MgUserTodoListTaskLinkedResource.md | 26 +- 966 files changed, 11426 insertions(+), 15546 deletions(-) create mode 100644 src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredUserByRef.md create mode 100644 src/Users.Actions/Users.Actions/examples/v1.0/Revoke-MgUserSign.md diff --git a/src/Applications/Applications/examples/v1.0/Add-MgApplicationKey.md b/src/Applications/Applications/examples/v1.0/Add-MgApplicationKey.md index 093355d11d5..aa9b63afd85 100644 --- a/src/Applications/Applications/examples/v1.0/Add-MgApplicationKey.md +++ b/src/Applications/Applications/examples/v1.0/Add-MgApplicationKey.md @@ -1,18 +1,30 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + KeyCredential = @{ + Type = "AsymmetricX509Cert" + Usage = "Verify" + Key = [System.Text.Encoding]::ASCII.GetBytes("MIIDYDCCAki...") + } + PasswordCredential = $null + Proof = "eyJ0eXAiOiJ..." +} +Add-MgApplicationKey -ApplicationId $applicationId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Applications +$params = @{ + KeyCredential = @{ + Type = "X509CertAndPassword" + Usage = "Sign" + Key = [System.Text.Encoding]::ASCII.GetBytes("MIIDYDCCAki...") + } + PasswordCredential = @{ + SecretText = "MKTr0w1..." + } + Proof = "eyJ0eXAiOiJ..." +} +Add-MgApplicationKey -ApplicationId $applicationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalKey.md b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalKey.md index 093355d11d5..385ddde73b0 100644 --- a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalKey.md +++ b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalKey.md @@ -1,18 +1,30 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + KeyCredential = @{ + Type = "AsymmetricX509Cert" + Usage = "Verify" + Key = [System.Text.Encoding]::ASCII.GetBytes("MIIDYDCCAki...") + } + PasswordCredential = $null + Proof = "eyJ0eXAiOiJ..." +} +Add-MgServicePrincipalKey -ServicePrincipalId $servicePrincipalId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Applications +$params = @{ + KeyCredential = @{ + Type = "X509CertAndPassword" + Usage = "Sign" + Key = [System.Text.Encoding]::ASCII.GetBytes("MIIDYDCCAki...") + } + PasswordCredential = @{ + SecretText = "MKTr0w1..." + } + Proof = "eyJ0eXAiOiJ..." +} +Add-MgServicePrincipalKey -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalPassword.md b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalPassword.md index 093355d11d5..4e5662bded9 100644 --- a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalPassword.md +++ b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalPassword.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + PasswordCredential = @{ + DisplayName = "Password friendly name" + } +} +Add-MgServicePrincipalPassword -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalTokenSigningCertificate.md b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalTokenSigningCertificate.md index 093355d11d5..97d77581a49 100644 --- a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalTokenSigningCertificate.md +++ b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalTokenSigningCertificate.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + DisplayName = "CN=customDisplayName" + EndDateTime = [System.DateTime]::Parse("2024-01-25T00:00:00Z") +} +Add-MgServicePrincipalTokenSigningCertificate -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Clear-MgApplicationVerifiedPublisher.md b/src/Applications/Applications/examples/v1.0/Clear-MgApplicationVerifiedPublisher.md index 093355d11d5..d4dcf74b9dd 100644 --- a/src/Applications/Applications/examples/v1.0/Clear-MgApplicationVerifiedPublisher.md +++ b/src/Applications/Applications/examples/v1.0/Clear-MgApplicationVerifiedPublisher.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Clear-MgApplicationVerifiedPublisher -ApplicationId $applicationId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationDelta.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationDelta.md index 093355d11d5..c98f4fbd7fc 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationDelta.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationDelta.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgApplicationDelta ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationExtensionProperty.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationExtensionProperty.md index 093355d11d5..1d837460cb0 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationExtensionProperty.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationExtensionProperty.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgApplicationExtensionProperty -ApplicationId $applicationId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Applications +Get-MgApplicationExtensionProperty -ApplicationId $applicationId -ExtensionPropertyId $extensionPropertyId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationFederatedIdentityCredential.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationFederatedIdentityCredential.md index 093355d11d5..af1d6208803 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationFederatedIdentityCredential.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationFederatedIdentityCredential.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -FederatedIdentityCredentialId $federatedIdentityCredentialId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Applications +Get-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationOwner.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationOwner.md index 093355d11d5..aebcc0861e0 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationOwner.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationOwner.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgApplicationOwner -ApplicationId $applicationId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTemplate.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTemplate.md index 093355d11d5..ea4b9d37e4f 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTemplate.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTemplate.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgApplicationTemplate -ApplicationTemplateId $applicationTemplateId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Applications +Get-MgApplicationTemplate ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenIssuancePolicy.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenIssuancePolicy.md index 093355d11d5..1284b5c6881 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenIssuancePolicy.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenIssuancePolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgApplicationTokenIssuancePolicy -ApplicationId $applicationId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenLifetimePolicy.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenLifetimePolicy.md index 093355d11d5..9f6ff33f152 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenLifetimePolicy.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenLifetimePolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgApplicationTokenLifetimePolicy -ApplicationId $applicationId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalAppRoleAssignedTo.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalAppRoleAssignedTo.md index 093355d11d5..b7fe9c2614d 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalAppRoleAssignedTo.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalAppRoleAssignedTo.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId $servicePrincipalId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalClaimMappingPolicy.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalClaimMappingPolicy.md index 093355d11d5..7aa66d8bffe 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalClaimMappingPolicy.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalClaimMappingPolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgServicePrincipalClaimMappingPolicy -ServicePrincipalId $servicePrincipalId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalCreatedObject.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalCreatedObject.md index 093355d11d5..19c15c44fd2 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalCreatedObject.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalCreatedObject.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgServicePrincipalCreatedObject -ServicePrincipalId $servicePrincipalId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelegatedPermissionClassification.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelegatedPermissionClassification.md index 093355d11d5..99e4c0d51f1 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelegatedPermissionClassification.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelegatedPermissionClassification.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgServicePrincipalDelegatedPermissionClassification -ServicePrincipalId $servicePrincipalId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelta.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelta.md index 093355d11d5..fb5d827e75c 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelta.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelta.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgServicePrincipalDelta ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalHomeRealmDiscoveryPolicy.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalHomeRealmDiscoveryPolicy.md index 093355d11d5..0942e0b67d1 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalHomeRealmDiscoveryPolicy.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalHomeRealmDiscoveryPolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgServicePrincipalHomeRealmDiscoveryPolicy -ServicePrincipalId $servicePrincipalId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalMemberOf.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalMemberOf.md index 093355d11d5..d6147a94132 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalMemberOf.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalMemberOf.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgServicePrincipalMemberOf -ServicePrincipalId $servicePrincipalId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOauth2PermissionGrant.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOauth2PermissionGrant.md index 093355d11d5..7210836fc17 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOauth2PermissionGrant.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOauth2PermissionGrant.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgServicePrincipalOauth2PermissionGrant -ServicePrincipalId $servicePrincipalId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOwnedObject.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOwnedObject.md index 093355d11d5..99398cdae10 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOwnedObject.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOwnedObject.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgServicePrincipalOwnedObject -ServicePrincipalId $servicePrincipalId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalTransitiveMemberOf.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalTransitiveMemberOf.md index 093355d11d5..b35ea68140a 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalTransitiveMemberOf.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalTransitiveMemberOf.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Get-MgServicePrincipalTransitiveMemberOf -ServicePrincipalId $servicePrincipalId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Invoke-MgInstantiateApplicationTemplate.md b/src/Applications/Applications/examples/v1.0/Invoke-MgInstantiateApplicationTemplate.md index 093355d11d5..aeca57de21b 100644 --- a/src/Applications/Applications/examples/v1.0/Invoke-MgInstantiateApplicationTemplate.md +++ b/src/Applications/Applications/examples/v1.0/Invoke-MgInstantiateApplicationTemplate.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + DisplayName = "Azure AD SAML Toolkit" +} +Invoke-MgInstantiateApplicationTemplate -ApplicationTemplateId $applicationTemplateId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/New-MgApplicationExtensionProperty.md b/src/Applications/Applications/examples/v1.0/New-MgApplicationExtensionProperty.md index 093355d11d5..98b6812a873 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgApplicationExtensionProperty.md +++ b/src/Applications/Applications/examples/v1.0/New-MgApplicationExtensionProperty.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + Name = "jobGroup" + DataType = "String" + TargetObjects = @( + "User" + ) +} +New-MgApplicationExtensionProperty -ApplicationId $applicationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/New-MgApplicationFederatedIdentityCredential.md b/src/Applications/Applications/examples/v1.0/New-MgApplicationFederatedIdentityCredential.md index 093355d11d5..2cffb8db9e1 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgApplicationFederatedIdentityCredential.md +++ b/src/Applications/Applications/examples/v1.0/New-MgApplicationFederatedIdentityCredential.md @@ -1,18 +1,13 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + Name = "testing02" + Issuer = "https://login.microsoftonline.com/3d1e2be9-a10a-4a0c-8380-7ce190f98ed9/v2.0" + Subject = "a7d388c3-5e3f-4959-ac7d-786b3383006a" + Audiences = @( + "api://AzureADTokenExchange" + ) +} +New-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenIssuancePolicyByRef.md b/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenIssuancePolicyByRef.md index 093355d11d5..343f95e3c0e 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenIssuancePolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenIssuancePolicyByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/policies/tokenIssuancePolicies/cd3d9b57-0aee-4f25-8ee3-ac74ef5986a9" +} +New-MgApplicationTokenIssuancePolicyByRef -ApplicationId $applicationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenLifetimePolicyByRef.md b/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenLifetimePolicyByRef.md index 093355d11d5..a5e07453611 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenLifetimePolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenLifetimePolicyByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies/cd3d9b57-0aee-4f25-8ee3-ac74ef5986a9" +} +New-MgApplicationTokenLifetimePolicyByRef -ApplicationId $applicationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignedTo.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignedTo.md index 093355d11d5..25094cf3061 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignedTo.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignedTo.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + PrincipalId = "33ad69f9-da99-4bed-acd0-3f24235cb296" + ResourceId = "9028d19c-26a9-4809-8e3f-20ff73e2d75e" + AppRoleId = "ef7437e6-4f94-4a0a-a110-a439eb2aa8f7" +} +New-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignment.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignment.md index 39f9ee467b4..b97073521bc 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignment.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignment.md @@ -1,37 +1,10 @@ -### Example 1: {{ Add title here }} - -```powershell -$appRoleAssignment = @{ - "principalId"= "0bdb123d-b8a7-4cc9-8cc2-bd17bad06f61" - "resourceId"= "557aedfc-007c-4904-918a-7e6fed2e7403" - "appRoleId"= "00000000-0000-0000-0000-000000000000" - } - -New-MgServicePrincipalAppRoleAssignment -ServicePrincipalId 0bdb123d-b8a7-4cc9-8cc2-bd17bad06f61 -BodyParameter $appRoleAssignment | Format-List - -AppRoleId : 00000000-0000-0000-0000-000000000000 -CreatedDateTime : 8/31/2021 2:01:28 PM -DeletedDateTime : -Id : PRLbC6e4yUyMwr0XutBvYfZHkKGzlbxDr2I-QJWN9rs -PrincipalDisplayName : Example App -PrincipalId : 0bdb123d-b8a7-4cc9-8cc2-bd17bad06f61 -PrincipalType : ServicePrincipal -ResourceDisplayName : Office 365 Management APIs -ResourceId : 557aedfc-007c-4904-918a-7e6fed2e7403 -AdditionalProperties : {[@odata.context, https://graph.microsoft.com/v1.0/$metadata#servicePrincipals('0bdb123d-b8a7-4cc9-8cc2-bd17 - bad06f61')/appRoleAssignments/$entity], [@odata.id, https://graph.microsoft.com/v2/fb625e04-52aa-42da-b10d-1 - 4f1195d665f/directoryObjects/$/Microsoft.DirectoryServices.ServicePrincipal('0bdb123d-b8a7-4cc9-8cc2-bd17bad - 06f61')/appRoleAssignments/PRLbC6e4yUyMwr0XutBvYfZHkKGzlbxDr2I-QJWN9rs]} +###Example 1 +``` +Import-Module Microsoft.Graph.Applications +$params = @{ + PrincipalId = "9028d19c-26a9-4809-8e3f-20ff73e2d75e" + ResourceId = "8fce32da-1246-437b-99cd-76d1d4677bd5" + AppRoleId = "498476ce-e0fe-48b0-b801-37ba7e2685c6" +} +New-MgServicePrincipalAppRoleAssignment -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` - -In this example, the first command defines the `$appRoleAssignment` variable that defines the following: - --`principalId`: The id of the client service principal to which you are assigning the app role. - --`resourceId`: The id of the resource `servicePrincipal` (the API) which has defined the app role (the application permission). - --`appRoleId`: The id of the appRole (defined on the resource service principal) to assign to the client service principal. - -Learn more about the [AppRoleAssignment resource](/graph/api/resources/approleassignment?view=graph-rest-1.0). - -The second command adds the role to the specified service principal. diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalClaimMappingPolicyByRef.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalClaimMappingPolicyByRef.md index 093355d11d5..b0dd60a77a1 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalClaimMappingPolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalClaimMappingPolicyByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/policies/claimsMappingPolicies/cd3d9b57-0aee-4f25-8ee3-ac74ef5986a9" +} +New-MgServicePrincipalClaimMappingPolicyByRef -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalDelegatedPermissionClassification.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalDelegatedPermissionClassification.md index 093355d11d5..b5ed4a0d559 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalDelegatedPermissionClassification.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalDelegatedPermissionClassification.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + PermissionId = "e1fe6dd8-ba31-4d61-89e7-88639da4683d" + PermissionName = "User.Read" + Classification = "low" +} +New-MgServicePrincipalDelegatedPermissionClassification -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md index 093355d11d5..173c2e0607e 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies/cd3d9b57-0aee-4f25-8ee3-ac74ef5986a9" +} +New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationExtensionProperty.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationExtensionProperty.md index 093355d11d5..7b7f2e7971a 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationExtensionProperty.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationExtensionProperty.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Remove-MgApplicationExtensionProperty -ApplicationId $applicationId -ExtensionPropertyId $extensionPropertyId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationFederatedIdentityCredential.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationFederatedIdentityCredential.md index 093355d11d5..567c94b5553 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationFederatedIdentityCredential.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationFederatedIdentityCredential.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Remove-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -FederatedIdentityCredentialId $federatedIdentityCredentialId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationKey.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationKey.md index 093355d11d5..da942754d81 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationKey.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationKey.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + KeyId = "f0b0b335-1d71-4883-8f98-567911bfdca6" + Proof = "eyJ0eXAiOiJ..." +} +Remove-MgApplicationKey -ApplicationId $applicationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationOwnerByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationOwnerByRef.md index 093355d11d5..f83d58670b0 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationOwnerByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationOwnerByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Remove-MgApplicationOwnerByRef -ApplicationId $applicationId -DirectoryObjectId $directoryObjectId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationPassword.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationPassword.md index 093355d11d5..8ed96f04a35 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationPassword.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationPassword.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + KeyId = "f0b0b335-1d71-4883-8f98-567911bfdca6" +} +Remove-MgApplicationPassword -ApplicationId $applicationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenIssuancePolicyByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenIssuancePolicyByRef.md index 093355d11d5..09f893ef1f5 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenIssuancePolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenIssuancePolicyByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Remove-MgApplicationTokenIssuancePolicyByRef -ApplicationId $applicationId -TokenIssuancePolicyId $tokenIssuancePolicyId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenLifetimePolicyByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenLifetimePolicyByRef.md index 093355d11d5..95f9b5c8f5c 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenLifetimePolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenLifetimePolicyByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Remove-MgApplicationTokenLifetimePolicyByRef -ApplicationId $applicationId -TokenLifetimePolicyId $tokenLifetimePolicyId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgGroupAppRoleAssignment.md b/src/Applications/Applications/examples/v1.0/Remove-MgGroupAppRoleAssignment.md index 093355d11d5..7b520e7845c 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgGroupAppRoleAssignment.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgGroupAppRoleAssignment.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Remove-MgGroupAppRoleAssignment -GroupId $groupId -AppRoleAssignmentId $appRoleAssignmentId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipal.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipal.md index 093355d11d5..8327de5bf3a 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipal.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipal.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Remove-MgServicePrincipal -ServicePrincipalId $servicePrincipalId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalAppRoleAssignedTo.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalAppRoleAssignedTo.md index 093355d11d5..1b4291b0013 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalAppRoleAssignedTo.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalAppRoleAssignedTo.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Remove-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId $servicePrincipalId -AppRoleAssignmentId $appRoleAssignmentId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalClaimMappingPolicyByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalClaimMappingPolicyByRef.md index 093355d11d5..8b2dff47d4c 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalClaimMappingPolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalClaimMappingPolicyByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Remove-MgServicePrincipalClaimMappingPolicyByRef -ServicePrincipalId $servicePrincipalId -ClaimsMappingPolicyId $claimsMappingPolicyId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalDelegatedPermissionClassification.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalDelegatedPermissionClassification.md index 093355d11d5..c8ce1de1ca9 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalDelegatedPermissionClassification.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalDelegatedPermissionClassification.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Remove-MgServicePrincipalDelegatedPermissionClassification -ServicePrincipalId $servicePrincipalId -DelegatedPermissionClassificationId $delegatedPermissionClassificationId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md index 093355d11d5..f37e52b0f2b 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef -ServicePrincipalId $servicePrincipalId -HomeRealmDiscoveryPolicyId $homeRealmDiscoveryPolicyId ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalKey.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalKey.md index 093355d11d5..7f5e50410f2 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalKey.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalKey.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + KeyId = "f0b0b335-1d71-4883-8f98-567911bfdca6" + Proof = "eyJ0eXAiOiJ..." +} +Remove-MgServicePrincipalKey -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalPassword.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalPassword.md index 093355d11d5..d40a0ffaee1 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalPassword.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalPassword.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + KeyId = "f0b0b335-1d71-4883-8f98-567911bfdca6" +} +Remove-MgServicePrincipalPassword -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Set-MgApplicationVerifiedPublisher.md b/src/Applications/Applications/examples/v1.0/Set-MgApplicationVerifiedPublisher.md index 093355d11d5..b4a5c0db08b 100644 --- a/src/Applications/Applications/examples/v1.0/Set-MgApplicationVerifiedPublisher.md +++ b/src/Applications/Applications/examples/v1.0/Set-MgApplicationVerifiedPublisher.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + VerifiedPublisherId = "1234567" +} +Set-MgApplicationVerifiedPublisher -ApplicationId $applicationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Applications/Applications/examples/v1.0/Update-MgApplicationFederatedIdentityCredential.md b/src/Applications/Applications/examples/v1.0/Update-MgApplicationFederatedIdentityCredential.md index 093355d11d5..e831e4e7f08 100644 --- a/src/Applications/Applications/examples/v1.0/Update-MgApplicationFederatedIdentityCredential.md +++ b/src/Applications/Applications/examples/v1.0/Update-MgApplicationFederatedIdentityCredential.md @@ -1,18 +1,14 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Applications +$params = @{ + Name = "testing02" + Issuer = "https://login.microsoftonline.com/3d1e2be9-a10a-4a0c-8380-7ce190f98ed9/v2.0" + Subject = "a7d388c3-5e3f-4959-ac7d-786b3383006a" + Description = "Updated description" + Audiences = @( + "api://AzureADTokenExchange" + ) +} +Update-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -FederatedIdentityCredentialId $federatedIdentityCredentialId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusiness.md index 093355d11d5..e7584e7ebc6 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusiness.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +Get-MgBookingBusiness -BookingBusinessId $bookingBusinessId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Bookings +Get-MgBookingBusiness +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Bookings +Get-MgBookingBusiness -Query "Adventure" ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessAppointment.md index 093355d11d5..0fb7c5f2392 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessAppointment.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +Get-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId -BookingAppointmentId $bookingAppointmentId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Bookings +Get-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCalendarView.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCalendarView.md index 093355d11d5..6d98e88ec3d 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCalendarView.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCalendarView.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +Get-MgBookingBusinessCalendarView -BookingBusinessId $bookingBusinessId -Start "2018-04-30T00:00:00Z" -End "2018-05-10T00:00:00Z" ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomQuestion.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomQuestion.md index 093355d11d5..c85b6eceecd 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomQuestion.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomQuestion.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +Get-MgBookingBusinessCustomQuestion -BookingBusinessId $bookingBusinessId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Bookings +Get-MgBookingBusinessCustomQuestion -BookingBusinessId $bookingBusinessId -BookingCustomQuestionId $bookingCustomQuestionId ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomer.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomer.md index 093355d11d5..21250af5dd1 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomer.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomer.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +Get-MgBookingBusinessCustomer -BookingBusinessId $bookingBusinessId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Bookings +Get-MgBookingBusinessCustomer -BookingBusinessId $bookingBusinessId -BookingCustomerBaseId $bookingCustomerBaseId ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessService.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessService.md index 093355d11d5..5f0932028dd 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessService.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessService.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +Get-MgBookingBusinessService -BookingBusinessId $bookingBusinessId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Bookings +Get-MgBookingBusinessService -BookingBusinessId $bookingBusinessId -BookingServiceId $bookingServiceId ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessStaffMember.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessStaffMember.md index 093355d11d5..8c9b4c32a2f 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessStaffMember.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessStaffMember.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +Get-MgBookingBusinessStaffMember -BookingBusinessId $bookingBusinessId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Bookings +Get-MgBookingBusinessStaffMember -BookingBusinessId $bookingBusinessId -BookingStaffMemberBaseId $bookingStaffMemberBaseId ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingCurrency.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingCurrency.md index 093355d11d5..2dce17bf565 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingCurrency.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingCurrency.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +Get-MgBookingCurrency -BookingCurrencyId $bookingCurrencyId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Bookings +Get-MgBookingCurrency ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusiness.md index 093355d11d5..a5e4ec77591 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusiness.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +$params = @{ + DisplayName = "Fourth Coffee" + Address = @{ + PostOfficeBox = "P.O. Box 123" + Street = "4567 Main Street" + City = "Buffalo" + State = "NY" + CountryOrRegion = "USA" + PostalCode = "98052" + } + Phone = "206-555-0100" + Email = "manager@fourthcoffee.com" + WebSiteUrl = "https://www.fourthcoffee.com" + DefaultCurrencyIso = "USD" +} +New-MgBookingBusiness -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessAppointment.md index 093355d11d5..dc90690ecad 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessAppointment.md @@ -1,18 +1,110 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +$params = @{ + "@odata.type" = "#microsoft.graph.bookingAppointment" + CustomerTimeZone = "America/Chicago" + SmsNotificationsEnabled = $true + EndDateTime = @{ + "@odata.type" = "#microsoft.graph.dateTimeTimeZone" + DateTime = "2018-05-01T12:30:00.0000000+00:00" + TimeZone = "UTC" + } + IsLocationOnline = $true + OptOutOfCustomerEmail = $false + PostBuffer = "PT10M" + PreBuffer = "PT5M" + Price = 10 + "PriceType@odata.type" = "#microsoft.graph.bookingPriceType" + PriceType = "fixedPrice" + "Reminders@odata.type" = "#Collection(microsoft.graph.bookingReminder)" + Reminders = @( + @{ + "@odata.type" = "#microsoft.graph.bookingReminder" + Message = "This service is tomorrow" + Offset = "P1D" + "Recipients@odata.type" = "#microsoft.graph.bookingReminderRecipients" + Recipients = "allAttendees" + } + @{ + "@odata.type" = "#microsoft.graph.bookingReminder" + Message = "Please be available to enjoy your lunch service." + Offset = "PT1H" + "Recipients@odata.type" = "#microsoft.graph.bookingReminderRecipients" + Recipients = "customer" + } + @{ + "@odata.type" = "#microsoft.graph.bookingReminder" + Message = "Please check traffic for next cater." + Offset = "PT2H" + "Recipients@odata.type" = "#microsoft.graph.bookingReminderRecipients" + Recipients = "staff" + } + ) + ServiceId = "57da6774-a087-4d69-b0e6-6fb82c339976" + ServiceLocation = @{ + "@odata.type" = "#microsoft.graph.location" + Address = @{ + "@odata.type" = "#microsoft.graph.physicalAddress" + City = "Buffalo" + CountryOrRegion = "USA" + PostalCode = "98052" + PostOfficeBox = $null + State = "NY" + Street = "123 First Avenue" + "Type@odata.type" = "#microsoft.graph.physicalAddressType" + Type = $null + } + Coordinates = $null + DisplayName = "Customer location" + LocationEmailAddress = $null + "LocationType@odata.type" = "#microsoft.graph.locationType" + LocationType = $null + LocationUri = $null + UniqueId = $null + "UniqueIdType@odata.type" = "#microsoft.graph.locationUniqueIdType" + UniqueIdType = $null + } + ServiceName = "Catered bento" + ServiceNotes = "Customer requires punctual service." + StartDateTime = @{ + "@odata.type" = "#microsoft.graph.dateTimeTimeZone" + DateTime = "2018-05-01T12:00:00.0000000+00:00" + TimeZone = "UTC" + } + MaximumAttendeesCount = 5 + FilledAttendeesCount = 1 + "Customers@odata.type" = "#Collection(microsoft.graph.bookingCustomerInformation)" + Customers = @( + @{ + "@odata.type" = "#microsoft.graph.bookingCustomerInformation" + CustomerId = "7ed53fa5-9ef2-4f2f-975b-27447440bc09" + Name = "Jordan Miller" + EmailAddress = "jordanm@contoso.com" + Phone = "213-555-0199" + Notes = $null + Location = @{ + "@odata.type" = "#microsoft.graph.location" + DisplayName = "Customer" + LocationEmailAddress = $null + LocationUri = "" + LocationType = $null + UniqueId = $null + UniqueIdType = $null + Address = @{ + "@odata.type" = "#microsoft.graph.physicalAddress" + Street = "" + City = "" + State = "" + CountryOrRegion = "" + PostalCode = "" + } + } + TimeZone = "America/Chicago" + CustomQuestionAnswers = @( + ) + } + ) +} +New-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomQuestion.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomQuestion.md index 093355d11d5..80a2c8d2640 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomQuestion.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomQuestion.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +$params = @{ + "@odata.type" = "#microsoft.graph.bookingCustomQuestion" + DisplayName = "What is your age?" + AnswerInputType = "text" + AnswerOptions = @( + ) +} +New-MgBookingBusinessCustomQuestion -BookingBusinessId $bookingBusinessId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomer.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomer.md index 093355d11d5..24159a57282 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomer.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomer.md @@ -1,18 +1,14 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +$params = @{ + "@odata.type" = "#microsoft.graph.bookingCustomer" + DisplayName = "Joni Sherman" + EmailAddress = "jonis@relecloud.com" + Addresses = @( + ) + Phones = @( + ) +} +New-MgBookingBusinessCustomer -BookingBusinessId $bookingBusinessId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessService.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessService.md index 093355d11d5..c65bc0742aa 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessService.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessService.md @@ -1,18 +1,66 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +$params = @{ + "@odata.type" = "#microsoft.graph.bookingService" + DefaultDuration = "PT1H30M" + DefaultLocation = @{ + "@odata.type" = "#microsoft.graph.location" + Address = @{ + "@odata.type" = "#microsoft.graph.physicalAddress" + City = "Buffalo" + CountryOrRegion = "USA" + PostalCode = "98052" + PostOfficeBox = $null + State = "NY" + Street = "4567 First Street" + "Type@odata.type" = "#microsoft.graph.physicalAddressType" + Type = $null + } + Coordinates = $null + DisplayName = "Contoso Lunch Delivery" + LocationEmailAddress = $null + "LocationType@odata.type" = "#microsoft.graph.locationType" + LocationType = $null + LocationUri = $null + UniqueId = $null + "UniqueIdType@odata.type" = "#microsoft.graph.locationUniqueIdType" + UniqueIdType = $null + } + DefaultPrice = 10 + "DefaultPriceType@odata.type" = "#microsoft.graph.bookingPriceType" + DefaultPriceType = "fixedPrice" + "DefaultReminders@odata.type" = "#Collection(microsoft.graph.bookingReminder)" + DefaultReminders = @( + @{ + "@odata.type" = "#microsoft.graph.bookingReminder" + Message = "Please be reminded that this service is tomorrow." + Offset = "P1D" + "Recipients@odata.type" = "#microsoft.graph.bookingReminderRecipients" + Recipients = "allAttendees" + } + ) + Description = "Individual bento box lunch delivery" + DisplayName = "Bento" + IsLocationOnline = $true + SmsNotificationsEnabled = $true + IsHiddenFromCustomers = $false + Notes = "Home-cooked special" + PostBuffer = "PT10M" + PreBuffer = "PT5M" + SchedulingPolicy = @{ + "@odata.type" = "#microsoft.graph.bookingSchedulingPolicy" + AllowStaffSelection = $true + MaximumAdvance = "P10D" + MinimumLeadTime = "PT10H" + SendConfirmationsToOwner = $true + TimeSlotInterval = "PT1H" + } + "StaffMemberIds@odata.type" = "#Collection(String)" + StaffMemberIds = @( + "d90d1e8c-5cfe-48cf-a2d5-966267375b6a" + "2f5f8794-0b29-45b5-b56a-2eb5ff7aa880" + ) +} +New-MgBookingBusinessService -BookingBusinessId $bookingBusinessId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessStaffMember.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessStaffMember.md index 093355d11d5..0729f7013a1 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessStaffMember.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessStaffMember.md @@ -1,18 +1,82 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +$params = @{ + "@odata.type" = "#microsoft.graph.bookingStaffMember" + DisplayName = "Dana Swope" + EmailAddress = "danas@contoso.com" + "Role@odata.type" = "#microsoft.graph.bookingStaffRole" + Role = "externalGuest" + TimeZone = "America/Chicago" + UseBusinessHours = $true + "WorkingHours@odata.type" = "#Collection(microsoft.graph.bookingWorkHours)" + WorkingHours = @( + @{ + "@odata.type" = "#microsoft.graph.bookingWorkHours" + "Day@odata.type" = "#microsoft.graph.dayOfWeek" + Day = "monday" + "TimeSlots@odata.type" = "#Collection(microsoft.graph.bookingWorkTimeSlot)" + TimeSlots = @( + @{ + "@odata.type" = "#microsoft.graph.bookingWorkTimeSlot" + EndTime = "17:00:00.0000000" + StartTime = "08:00:00.0000000" + } + ) + } + @{ + "@odata.type" = "#microsoft.graph.bookingWorkHours" + "Day@odata.type" = "#microsoft.graph.dayOfWeek" + Day = "tuesday" + "TimeSlots@odata.type" = "#Collection(microsoft.graph.bookingWorkTimeSlot)" + TimeSlots = @( + @{ + "@odata.type" = "#microsoft.graph.bookingWorkTimeSlot" + EndTime = "17:00:00.0000000" + StartTime = "08:00:00.0000000" + } + ) + } + @{ + "@odata.type" = "#microsoft.graph.bookingWorkHours" + "Day@odata.type" = "#microsoft.graph.dayOfWeek" + Day = "wednesday" + "TimeSlots@odata.type" = "#Collection(microsoft.graph.bookingWorkTimeSlot)" + TimeSlots = @( + @{ + "@odata.type" = "#microsoft.graph.bookingWorkTimeSlot" + EndTime = "17:00:00.0000000" + StartTime = "08:00:00.0000000" + } + ) + } + @{ + "@odata.type" = "#microsoft.graph.bookingWorkHours" + "Day@odata.type" = "#microsoft.graph.dayOfWeek" + Day = "thursday" + "TimeSlots@odata.type" = "#Collection(microsoft.graph.bookingWorkTimeSlot)" + TimeSlots = @( + @{ + "@odata.type" = "#microsoft.graph.bookingWorkTimeSlot" + EndTime = "17:00:00.0000000" + StartTime = "08:00:00.0000000" + } + ) + } + @{ + "@odata.type" = "#microsoft.graph.bookingWorkHours" + "Day@odata.type" = "#microsoft.graph.dayOfWeek" + Day = "friday" + "TimeSlots@odata.type" = "#Collection(microsoft.graph.bookingWorkTimeSlot)" + TimeSlots = @( + @{ + "@odata.type" = "#microsoft.graph.bookingWorkTimeSlot" + EndTime = "17:00:00.0000000" + StartTime = "08:00:00.0000000" + } + ) + } + ) +} +New-MgBookingBusinessStaffMember -BookingBusinessId $bookingBusinessId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Publish-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Publish-MgBookingBusiness.md index 093355d11d5..c59bed845d3 100644 --- a/src/Bookings/Bookings/examples/v1.0/Publish-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Publish-MgBookingBusiness.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +Publish-MgBookingBusiness -BookingBusinessId $bookingBusinessId ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusiness.md index 093355d11d5..3e98655f184 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusiness.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +Remove-MgBookingBusiness -BookingBusinessId $bookingBusinessId ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessAppointment.md index 093355d11d5..f9ff6e8c553 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessAppointment.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +Remove-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId -BookingAppointmentId $bookingAppointmentId ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomQuestion.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomQuestion.md index 093355d11d5..21ba072e871 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomQuestion.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomQuestion.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +Remove-MgBookingBusinessCustomQuestion -BookingBusinessId $bookingBusinessId -BookingCustomQuestionId $bookingCustomQuestionId ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomer.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomer.md index 093355d11d5..fecaa75061e 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomer.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomer.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +Remove-MgBookingBusinessCustomer -BookingBusinessId $bookingBusinessId -BookingCustomerBaseId $bookingCustomerBaseId ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessService.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessService.md index 093355d11d5..503f733f570 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessService.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessService.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +Remove-MgBookingBusinessService -BookingBusinessId $bookingBusinessId -BookingServiceId $bookingServiceId ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessStaffMember.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessStaffMember.md index 093355d11d5..66fc98a9f36 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessStaffMember.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessStaffMember.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +Remove-MgBookingBusinessStaffMember -BookingBusinessId $bookingBusinessId -BookingStaffMemberBaseId $bookingStaffMemberBaseId ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Stop-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/Stop-MgBookingBusinessAppointment.md index 093355d11d5..0727a4ecba6 100644 --- a/src/Bookings/Bookings/examples/v1.0/Stop-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/Stop-MgBookingBusinessAppointment.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +$params = @{ + CancellationMessage = "Your appointment has been successfully cancelled. Please call us again." +} +Stop-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId -BookingAppointmentId $bookingAppointmentId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Unpublish-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Unpublish-MgBookingBusiness.md index 093355d11d5..e73a7ed48aa 100644 --- a/src/Bookings/Bookings/examples/v1.0/Unpublish-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Unpublish-MgBookingBusiness.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +Unpublish-MgBookingBusiness -BookingBusinessId $bookingBusinessId ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusiness.md index 093355d11d5..d0614fafbfb 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusiness.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +$params = @{ + Email = "admin@fabrikam.com" + SchedulingPolicy = @{ + TimeSlotInterval = "PT60M" + MinimumLeadTime = "P1D" + MaximumAdvance = "P30D" + SendConfirmationsToOwner = $true + AllowStaffSelection = $true + } +} +Update-MgBookingBusiness -BookingBusinessId $bookingBusinessId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessAppointment.md index 093355d11d5..0b9f731f327 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessAppointment.md @@ -1,18 +1,18 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +$params = @{ + "@odata.type" = "#microsoft.graph.bookingAppointment" + EndDateTime = @{ + "@odata.type" = "#microsoft.graph.dateTimeTimeZone" + DateTime = "2018-05-06T12:30:00.0000000+00:00" + TimeZone = "UTC" + } + StartDateTime = @{ + "@odata.type" = "#microsoft.graph.dateTimeTimeZone" + DateTime = "2018-05-06T12:00:00.0000000+00:00" + TimeZone = "UTC" + } +} +Update-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId -BookingAppointmentId $bookingAppointmentId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomQuestion.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomQuestion.md index 093355d11d5..c318f00955c 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomQuestion.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomQuestion.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +$params = @{ + "@odata.type" = "#microsoft.graph.bookingCustomQuestion" + DisplayName = "What is your age?" + AnswerInputType = "text" + AnswerOptions = @( + ) +} +Update-MgBookingBusinessCustomQuestion -BookingBusinessId $bookingBusinessId -BookingCustomQuestionId $bookingCustomQuestionId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomer.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomer.md index 093355d11d5..2d44497b40f 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomer.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomer.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +$params = @{ + "@odata.type" = "#microsoft.graph.bookingCustomer" + DisplayName = "Adele" + EmailAddress = "adele@relecloud.com" +} +Update-MgBookingBusinessCustomer -BookingBusinessId $bookingBusinessId -BookingCustomerBaseId $bookingCustomerBaseId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessService.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessService.md index 093355d11d5..5aed34d824c 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessService.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessService.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +$params = @{ + "@odata.type" = "#microsoft.graph.bookingService" + DefaultDuration = "PT30M" +} +Update-MgBookingBusinessService -BookingBusinessId $bookingBusinessId -BookingServiceId $bookingServiceId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessStaffMember.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessStaffMember.md index 093355d11d5..7394628c474 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessStaffMember.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessStaffMember.md @@ -1,18 +1,70 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Bookings +$params = @{ + "@odata.type" = "#microsoft.graph.bookingStaffMember" + WorkingHours = @( + @{ + "@odata.type" = "#microsoft.graph.bookingWorkHours" + "Day@odata.type" = "#microsoft.graph.dayOfWeek" + Day = "monday" + "TimeSlots@odata.type" = "#Collection(microsoft.graph.bookingWorkTimeSlot)" + TimeSlots = @( + ) + } + @{ + "@odata.type" = "#microsoft.graph.bookingWorkHours" + "Day@odata.type" = "#microsoft.graph.dayOfWeek" + Day = "tuesday" + "TimeSlots@odata.type" = "#Collection(microsoft.graph.bookingWorkTimeSlot)" + TimeSlots = @( + @{ + "@odata.type" = "#microsoft.graph.bookingWorkTimeSlot" + EndTime = "17:00:00.0000000" + StartTime = "08:00:00.0000000" + } + ) + } + @{ + "@odata.type" = "#microsoft.graph.bookingWorkHours" + "Day@odata.type" = "#microsoft.graph.dayOfWeek" + Day = "wednesday" + "TimeSlots@odata.type" = "#Collection(microsoft.graph.bookingWorkTimeSlot)" + TimeSlots = @( + @{ + "@odata.type" = "#microsoft.graph.bookingWorkTimeSlot" + EndTime = "17:00:00.0000000" + StartTime = "08:00:00.0000000" + } + ) + } + @{ + "@odata.type" = "#microsoft.graph.bookingWorkHours" + "Day@odata.type" = "#microsoft.graph.dayOfWeek" + Day = "thursday" + "TimeSlots@odata.type" = "#Collection(microsoft.graph.bookingWorkTimeSlot)" + TimeSlots = @( + @{ + "@odata.type" = "#microsoft.graph.bookingWorkTimeSlot" + EndTime = "17:00:00.0000000" + StartTime = "08:00:00.0000000" + } + ) + } + @{ + "@odata.type" = "#microsoft.graph.bookingWorkHours" + "Day@odata.type" = "#microsoft.graph.dayOfWeek" + Day = "friday" + "TimeSlots@odata.type" = "#Collection(microsoft.graph.bookingWorkTimeSlot)" + TimeSlots = @( + @{ + "@odata.type" = "#microsoft.graph.bookingWorkTimeSlot" + EndTime = "17:00:00.0000000" + StartTime = "08:00:00.0000000" + } + ) + } + ) +} +Update-MgBookingBusinessStaffMember -BookingBusinessId $bookingBusinessId -BookingStaffMemberBaseId $bookingStaffMemberBaseId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEvent.md b/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEvent.md index 093355d11d5..810d53a43ef 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEvent.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +Get-MgGroupEvent -GroupId $groupId -EventId $eventId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Calendar +Get-MgGroupEvent -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEventExtension.md b/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEventExtension.md index 093355d11d5..cef924c9308 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEventExtension.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEventExtension.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +Get-MgGroupEventExtension -GroupId $groupId -EventId $eventId -ExtensionId $extensionId ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgPlace.md b/src/Calendar/Calendar/examples/v1.0/Get-MgPlace.md index 093355d11d5..4d73f2c71e9 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgPlace.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgPlace.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Calendar +Get-MgPlace -PlaceId $placeId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Calendar +Get-MgPlace -PlaceId $placeId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Calendar +Get-MgPlace -PlaceId $placeId +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Calendar +Get-MgPlace -PlaceId $placeId +``` diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendar.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendar.md index 093355d11d5..3edf125f12c 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendar.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +# A UPN can also be used as -UserId. +Get-MgUserCalendar -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroup.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroup.md index 093355d11d5..293d8165da5 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroup.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroup.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +# A UPN can also be used as -UserId. +Get-MgUserCalendarGroup -UserId $userId -CalendarGroupId $calendarGroupId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Calendar +# A UPN can also be used as -UserId. +Get-MgUserCalendarGroup -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroupCalendar.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroupCalendar.md index 093355d11d5..1417884a275 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroupCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroupCalendar.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +# A UPN can also be used as -UserId. +Get-MgUserCalendarGroupCalendar -UserId $userId -CalendarGroupId $calendarGroupId ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarPermission.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarPermission.md index 093355d11d5..e46324aeb8c 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarPermission.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarPermission.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +Get-MgUserCalendarPermission -UserId $userId -CalendarPermissionId $calendarPermissionId ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarView.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarView.md index 093355d11d5..fc16a89246c 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarView.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarView.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +# A UPN can also be used as -UserId. +Get-MgUserCalendarView -UserId $userId -Startdatetime "2017-01-01T19:00:00-08:00" -Enddatetime "2017-01-07T19:00:00-08:00" ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserDefaultCalendar.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserDefaultCalendar.md index 093355d11d5..bb578ee2c27 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserDefaultCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserDefaultCalendar.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +# A UPN can also be used as -UserId. +Get-MgUserDefaultCalendar -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEvent.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEvent.md index 093355d11d5..04b87ed5672 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEvent.md @@ -1,18 +1,18 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +# A UPN can also be used as -UserId. +Get-MgUserEvent -UserId $userId -EventId $eventId -Property "subject,body,bodyPreview,organizer,attendees,start,end,location,locations" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Calendar +# A UPN can also be used as -UserId. +Get-MgUserEvent -UserId $userId -EventId $eventId -Property "subject,body,bodyPreview,organizer,attendees,start,end,location,hideAttendees" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Calendar +# A UPN can also be used as -UserId. +Get-MgUserEvent -UserId $userId -Property "subject,body,bodyPreview,organizer,attendees,start,end,location" ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventAttachment.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventAttachment.md index 093355d11d5..86f0d576a02 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventAttachment.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventAttachment.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +# A UPN can also be used as -UserId. +Get-MgUserEventAttachment -UserId $userId -EventId $eventId ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventInstance.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventInstance.md index 093355d11d5..92326b645ac 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventInstance.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventInstance.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +# A UPN can also be used as -UserId. +Get-MgUserEventInstance -UserId $userId -EventId $eventId -Startdatetime "2019-04-08T09:00:00.0000000" -Enddatetime "2019-04-30T09:00:00.0000000" -Property "subject,bodyPreview,seriesMasterId,type,recurrence,start,end" ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgGroupEvent.md b/src/Calendar/Calendar/examples/v1.0/New-MgGroupEvent.md index 093355d11d5..bbe032dc4e8 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgGroupEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgGroupEvent.md @@ -1,18 +1,32 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +$params = @{ + Subject = "Let's go for lunch" + Body = @{ + ContentType = "HTML" + Content = "Does late morning work for you?" + } + Start = @{ + DateTime = "2019-06-16T12:00:00" + TimeZone = "Pacific Standard Time" + } + End = @{ + DateTime = "2019-06-16T14:00:00" + TimeZone = "Pacific Standard Time" + } + Location = @{ + DisplayName = "Harry's Bar" + } + Attendees = @( + @{ + EmailAddress = @{ + Address = "adelev@contoso.onmicrosoft.com" + Name = "Adele Vance" + } + Type = "required" + } + ) +} +New-MgGroupEvent -GroupId $groupId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendar.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendar.md index 093355d11d5..6062dd5ccd9 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendar.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +$params = @{ + Name = "Volunteer" +} +# A UPN can also be used as -UserId. +New-MgUserCalendar -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarEvent.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarEvent.md index 093355d11d5..28dc76880ab 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarEvent.md @@ -1,18 +1,69 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +$params = @{ + Subject = "Let's go for lunch" + Body = @{ + ContentType = "HTML" + Content = "Does mid month work for you?" + } + Start = @{ + DateTime = "2019-03-15T12:00:00" + TimeZone = "Pacific Standard Time" + } + End = @{ + DateTime = "2019-03-15T14:00:00" + TimeZone = "Pacific Standard Time" + } + Location = @{ + DisplayName = "Harry's Bar" + } + Attendees = @( + @{ + EmailAddress = @{ + Address = "adelev@contoso.onmicrosoft.com" + Name = "Adele Vance" + } + Type = "required" + } + ) + TransactionId = "7E163156-7762-4BEB-A1C6-729EA81755A7" +} +# A UPN can also be used as -UserId. +New-MgUserCalendarEvent -UserId $userId -CalendarId $calendarId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Calendar +$params = @{ + Subject = "Let's go for lunch" + Body = @{ + ContentType = "HTML" + Content = "Does next month work for you?" + } + Start = @{ + DateTime = "2019-03-10T12:00:00" + TimeZone = "Pacific Standard Time" + } + End = @{ + DateTime = "2019-03-10T14:00:00" + TimeZone = "Pacific Standard Time" + } + Location = @{ + DisplayName = "Harry's Bar" + } + Attendees = @( + @{ + EmailAddress = @{ + Address = "adelev@contoso.onmicrosoft.com" + Name = "Adele Vance" + } + Type = "required" + } + ) + IsOnlineMeeting = $true + OnlineMeetingProvider = "teamsForBusiness" +} +# A UPN can also be used as -UserId. +New-MgUserCalendarEvent -UserId $userId -CalendarId $calendarId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroup.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroup.md index 093355d11d5..4a3f6243670 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroup.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroup.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +$params = @{ + Name = "Personal events" +} +# A UPN can also be used as -UserId. +New-MgUserCalendarGroup -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroupCalendar.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroupCalendar.md index 093355d11d5..9f5259dc99d 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroupCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroupCalendar.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +$params = @{ + Name = "Marketing calendar" +} +# A UPN can also be used as -UserId. +New-MgUserCalendarGroupCalendar -UserId $userId -CalendarGroupId $calendarGroupId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserEvent.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserEvent.md index 093355d11d5..da1ebab2b88 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserEvent.md @@ -1,18 +1,183 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Calendar +$params = @{ + Subject = "Plan summer company picnic" + Body = @{ + ContentType = "HTML" + Content = "Let's kick-start this event planning!" + } + Start = @{ + DateTime = "2017-08-30T11:00:00" + TimeZone = "Pacific Standard Time" + } + End = @{ + DateTime = "2017-08-30T12:00:00" + TimeZone = "Pacific Standard Time" + } + Attendees = @( + @{ + EmailAddress = @{ + Address = "DanaS@contoso.onmicrosoft.com" + Name = "Dana Swope" + } + Type = "Required" + } + @{ + EmailAddress = @{ + Address = "AlexW@contoso.onmicrosoft.com" + Name = "Alex Wilber" + } + Type = "Required" + } + ) + Location = @{ + DisplayName = "Conf Room 3; Fourth Coffee; Home Office" + LocationType = "Default" + } + Locations = @( + @{ + DisplayName = "Conf Room 3" + } + @{ + DisplayName = "Fourth Coffee" + Address = @{ + Street = "4567 Main St" + City = "Redmond" + State = "WA" + CountryOrRegion = "US" + PostalCode = "32008" + } + Coordinates = @{ + Latitude = 47.672 + Longitude = -102.103 + } + } + @{ + DisplayName = "Home Office" + } + ) + AllowNewTimeProposals = $true +} +# A UPN can also be used as -UserId. +New-MgUserEvent -UserId $userId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Calendar +$params = @{ + Subject = "Let's go for lunch" + Body = @{ + ContentType = "HTML" + Content = "Does noon work for you?" + } + Start = @{ + DateTime = "2017-04-15T12:00:00" + TimeZone = "Pacific Standard Time" + } + End = @{ + DateTime = "2017-04-15T14:00:00" + TimeZone = "Pacific Standard Time" + } + Location = @{ + DisplayName = "Harry's Bar" + } + Attendees = @( + @{ + EmailAddress = @{ + Address = "samanthab@contoso.onmicrosoft.com" + Name = "Samantha Booth" + } + Type = "required" + } + ) + AllowNewTimeProposals = $true + TransactionId = "7E163156-7762-4BEB-A1C6-729EA81755A7" +} +# A UPN can also be used as -UserId. +New-MgUserEvent -UserId $userId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Calendar +$params = @{ + Subject = "Let's go for lunch" + Body = @{ + ContentType = "HTML" + Content = "Does noon work for you?" + } + Start = @{ + DateTime = "2017-04-15T12:00:00" + TimeZone = "Pacific Standard Time" + } + End = @{ + DateTime = "2017-04-15T14:00:00" + TimeZone = "Pacific Standard Time" + } + Location = @{ + DisplayName = "Harry's Bar" + } + Attendees = @( + @{ + EmailAddress = @{ + Address = "samanthab@contoso.onmicrosoft.com" + Name = "Samantha Booth" + } + Type = "required" + } + ) + AllowNewTimeProposals = $true + IsOnlineMeeting = $true + OnlineMeetingProvider = "teamsForBusiness" +} +# A UPN can also be used as -UserId. +New-MgUserEvent -UserId $userId -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Calendar +$params = @{ + Subject = "Let's go for lunch" + Body = @{ + ContentType = "HTML" + Content = "Does noon time work for you?" + } + Start = @{ + DateTime = "2017-09-04T12:00:00" + TimeZone = "Pacific Standard Time" + } + End = @{ + DateTime = "2017-09-04T14:00:00" + TimeZone = "Pacific Standard Time" + } + Recurrence = @{ + Pattern = @{ + Type = "weekly" + Interval = 1 + DaysOfWeek = @( + "Monday" + ) + } + Range = @{ + Type = "endDate" + StartDate = "2017-09-04" + EndDate = "2017-12-31" + } + } + Location = @{ + DisplayName = "Harry's Bar" + } + Attendees = @( + @{ + EmailAddress = @{ + Address = "AdeleV@contoso.onmicrosoft.com" + Name = "Adele Vance" + } + Type = "required" + } + ) + AllowNewTimeProposals = $true +} +# A UPN can also be used as -UserId. +New-MgUserEvent -UserId $userId -BodyParameter $params +``` diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserEventAttachment.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserEventAttachment.md index 093355d11d5..b2fd15b3494 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserEventAttachment.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserEventAttachment.md @@ -1,18 +1,38 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +$params = @{ + "@odata.type" = "#microsoft.graph.fileAttachment" + Name = "menu.txt" + ContentBytes = "base64bWFjIGFuZCBjaGVlc2UgdG9kYXk=" +} +# A UPN can also be used as -UserId. +New-MgUserEventAttachment -UserId $userId -EventId $eventId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Calendar +$params = @{ + "@odata.type" = "#microsoft.graph.itemAttachment" + Name = "Holiday event" + Item = @{ + "@odata.type" = "microsoft.graph.event" + Subject = "Discuss gifts for children" + } +} +# A UPN can also be used as -UserId. +New-MgUserEventAttachment -UserId $userId -EventId $eventId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Calendar +$params = @{ + "@odata.type" = "#Microsoft.OutlookServices.ItemAttachment" + Name = "name-value" + Item = @{ + "@odata.type" = "microsoft.graph.message" + } +} +# A UPN can also be used as -UserId. +New-MgUserEventAttachment -UserId $userId -EventId $eventId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgGroupEvent.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgGroupEvent.md index 093355d11d5..e9eadac38be 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgGroupEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgGroupEvent.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +Remove-MgGroupEvent -GroupId $groupId -EventId $eventId ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarGroup.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarGroup.md index 093355d11d5..71bc0df2835 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarGroup.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarGroup.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +# A UPN can also be used as -UserId. +Remove-MgUserCalendarGroup -UserId $userId -CalendarGroupId $calendarGroupId ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarPermission.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarPermission.md index 093355d11d5..fd98633c40d 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarPermission.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarPermission.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +Remove-MgUserCalendarPermission -UserId $userId -CalendarPermissionId $calendarPermissionId ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEvent.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEvent.md index 093355d11d5..2aa40e404dd 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEvent.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +# A UPN can also be used as -UserId. +Remove-MgUserEvent -UserId $userId -EventId $eventId ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEventAttachment.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEventAttachment.md index 093355d11d5..6c957b3e624 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEventAttachment.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEventAttachment.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +# A UPN can also be used as -UserId. +Remove-MgUserEventAttachment -UserId $userId -EventId $eventId -AttachmentId $attachmentId ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Update-MgPlace.md b/src/Calendar/Calendar/examples/v1.0/Update-MgPlace.md index 093355d11d5..014bcf3436c 100644 --- a/src/Calendar/Calendar/examples/v1.0/Update-MgPlace.md +++ b/src/Calendar/Calendar/examples/v1.0/Update-MgPlace.md @@ -1,18 +1,37 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +$params = @{ + "@odata.type" = "microsoft.graph.room" + Nickname = "Conf Room" + Building = "1" + Label = "100" + Capacity = + IsWheelChairAccessible = $false +} +Update-MgPlace -PlaceId $placeId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Calendar +$params = @{ + "@odata.type" = "microsoft.graph.roomList" + DisplayName = "Building 1" + Phone = "555-555-0100" + Address = @{ + Street = "4567 Main Street" + City = "Buffalo" + State = "NY" + PostalCode = "98052" + CountryOrRegion = "USA" + } + GeoCoordinates = @{ + Altitude = $null + Latitude = 47 + Longitude = -122 + Accuracy = $null + AltitudeAccuracy = $null + } +} +Update-MgPlace -PlaceId $placeId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarGroup.md b/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarGroup.md index 093355d11d5..995555a9ad8 100644 --- a/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarGroup.md +++ b/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarGroup.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +$params = @{ + Name = "name-value" +} +# A UPN can also be used as -UserId. +Update-MgUserCalendarGroup -UserId $userId -CalendarGroupId $calendarGroupId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarPermission.md b/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarPermission.md index 093355d11d5..3d6c62af099 100644 --- a/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarPermission.md +++ b/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarPermission.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +$params = @{ + Role = "write" +} +Update-MgUserCalendarPermission -UserId $userId -CalendarPermissionId $calendarPermissionId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Calendar/Calendar/examples/v1.0/Update-MgUserEvent.md b/src/Calendar/Calendar/examples/v1.0/Update-MgUserEvent.md index 093355d11d5..34de3ba7d61 100644 --- a/src/Calendar/Calendar/examples/v1.0/Update-MgUserEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Update-MgUserEvent.md @@ -1,18 +1,23 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Calendar +$params = @{ + OriginalStartTimeZone = "originalStartTimeZone-value" + OriginalEndTimeZone = "originalEndTimeZone-value" + ResponseStatus = @{ + Response = "" + Time = [System.DateTime]::Parse("datetime-value") + } + Recurrence = $null + ReminderMinutesBeforeStart = 99 + IsOnlineMeeting = $true + OnlineMeetingProvider = "teamsForBusiness" + IsReminderOn = $true + HideAttendees = $false + Categories = @( + "Red category" + ) +} +# A UPN can also be used as -UserId. +Update-MgUserEvent -UserId $userId -EventId $eventId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Get-MgSubscription.md b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Get-MgSubscription.md index 093355d11d5..893bb4a1e38 100644 --- a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Get-MgSubscription.md +++ b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Get-MgSubscription.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.ChangeNotifications +Get-MgSubscription -SubscriptionId $subscriptionId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.ChangeNotifications +Get-MgSubscription ``` - -{{ Add description here }} - diff --git a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/New-MgSubscription.md b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/New-MgSubscription.md index 093355d11d5..3dc873c5a39 100644 --- a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/New-MgSubscription.md +++ b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/New-MgSubscription.md @@ -1,18 +1,13 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.ChangeNotifications +$params = @{ + ChangeType = "created" + NotificationUrl = "https://webhook.azurewebsites.net/api/send/myNotifyClient" + Resource = "me/mailFolders('Inbox')/messages" + ExpirationDateTime = [System.DateTime]::Parse("2016-11-20T18:23:45.9356913Z") + ClientState = "secretClientValue" + LatestSupportedTlsVersion = "v1_2" +} +New-MgSubscription -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Remove-MgSubscription.md b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Remove-MgSubscription.md index 093355d11d5..a425a3f2605 100644 --- a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Remove-MgSubscription.md +++ b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Remove-MgSubscription.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.ChangeNotifications +Remove-MgSubscription -SubscriptionId $subscriptionId ``` - -{{ Add description here }} - diff --git a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Update-MgSubscription.md b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Update-MgSubscription.md index 093355d11d5..9670e6fa613 100644 --- a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Update-MgSubscription.md +++ b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Update-MgSubscription.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.ChangeNotifications +$params = @{ + ExpirationDateTime = [System.DateTime]::Parse("2016-11-22T18:23:45.9356913Z") +} +Update-MgSubscription -SubscriptionId $subscriptionId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCall.md index 093355d11d5..b8a20f78fab 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCall.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +Get-MgCommunicationCall -CallId $callId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.CloudCommunications +Get-MgCommunicationCall -CallId $callId ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallParticipant.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallParticipant.md index 093355d11d5..9fc6cab2839 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallParticipant.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallParticipant.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +Get-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participantId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.CloudCommunications +Get-MgCommunicationCallParticipant -CallId $callId ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecord.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecord.md index 093355d11d5..865174c3d34 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecord.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecord.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.CloudCommunications +Get-MgCommunicationCallRecord -CallRecordId $callRecordId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.CloudCommunications +Get-MgCommunicationCallRecord -CallRecordId $callRecordId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.CloudCommunications +Get-MgCommunicationCallRecord -CallRecordId $callRecordId -ExpandProperty "sessions(`$expand=segments)" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.CloudCommunications +Get-MgCommunicationCallRecord -CallRecordId $callRecordId +``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecordSession.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecordSession.md index 093355d11d5..182609f947a 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecordSession.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecordSession.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +Get-MgCommunicationCallRecordSession -CallRecordId $callRecordId -ExpandProperty "segments" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.CloudCommunications +Get-MgCommunicationCallRecordSession -CallRecordId $callRecordId ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationOnlineMeeting.md index 093355d11d5..2b4a96d56fe 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationOnlineMeeting.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +Get-MgCommunicationOnlineMeeting -Filter "VideoTeleconferenceId eq '123456789'" ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresence.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresence.md index 093355d11d5..754568af942 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresence.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresence.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +Get-MgCommunicationPresence -PresenceId $presenceId ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresenceByUserId.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresenceByUserId.md index 093355d11d5..568f007e945 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresenceByUserId.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresenceByUserId.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + Ids = @( + "fa8bf3dc-eca7-46b7-bad1-db199b62afc3" + "66825e03-7ef5-42da-9069-724602c31f6b" + ) +} +Get-MgCommunicationPresenceByUserId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeeting.md index 093355d11d5..c59456fd4b9 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeeting.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +# A UPN can also be used as -UserId. +Get-MgUserOnlineMeeting -UserId $userId -Filter "JoinWebUrl eq 'https://teams.microsoft.com/l/meetup-join/19:meeting_MGQ4MDQyNTEtNTQ2NS00YjQxLTlkM2EtZWVkODYxODYzMmY2@thread.v2/0?context" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.CloudCommunications +# A UPN can also be used as -UserId. +Get-MgUserOnlineMeeting -UserId $userId -OnlineMeetingId $onlineMeetingId ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReport.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReport.md index 093355d11d5..d7902e0e0ae 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReport.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReport.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +# A UPN can also be used as -UserId. +Get-MgUserOnlineMeetingAttendanceReport -UserId $userId -OnlineMeetingId $onlineMeetingId -MeetingAttendanceReportId $meetingAttendanceReportId -ExpandProperty "attendanceRecords" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.CloudCommunications +# A UPN can also be used as -UserId. +Get-MgUserOnlineMeetingAttendanceReport -UserId $userId -OnlineMeetingId $onlineMeetingId ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord.md index 093355d11d5..9f5f1968d21 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +# A UPN can also be used as -UserId. +Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord -UserId $userId -OnlineMeetingId $onlineMeetingId -MeetingAttendanceReportId $meetingAttendanceReportId ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserPresence.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserPresence.md index 093355d11d5..d2ce725be1c 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserPresence.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserPresence.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +Get-MgUserPresence -UserId $userId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.CloudCommunications +# A UPN can also be used as -UserId. +Get-MgUserPresence -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgAnswerCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgAnswerCommunicationCall.md index 093355d11d5..52e9b724639 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgAnswerCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgAnswerCommunicationCall.md @@ -1,18 +1,47 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + CallbackUri = "https://bot.contoso.com/api/calls" + AcceptedModalities = @( + "audio" + ) + MediaConfig = @{ + "@odata.type" = "#microsoft.graph.appHostedMediaConfig" + Blob = "" + } +} +Invoke-MgAnswerCommunicationCall -CallId $callId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + CallbackUri = "callbackUri-value" + MediaConfig = @{ + "@odata.type" = "#microsoft.graph.appHostedMediaConfig" + Blob = "" + } + AcceptedModalities = @( + "audio" + ) + ParticipantCapacity = 200 +} +Invoke-MgAnswerCommunicationCall -CallId $callId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + CallbackUri = "https://bot.contoso.com/api/calls" + AcceptedModalities = @( + "audio" + ) + MediaConfig = @{ + "@odata.type" = "#microsoft.graph.serviceHostedMediaConfig" + PreFetchMedia = @( + ) + } +} +Invoke-MgAnswerCommunicationCall -CallId $callId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgInviteCommunicationCallParticipant.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgInviteCommunicationCallParticipant.md index 093355d11d5..6495a216a4c 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgInviteCommunicationCallParticipant.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgInviteCommunicationCallParticipant.md @@ -1,18 +1,165 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + Participants = @( + @{ + "@odata.type" = "#microsoft.graph.invitationParticipantInfo" + ReplacesCallId = "a7ebfb2d-871e-419c-87af-27290b22e8db" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + User = @{ + "@odata.type" = "#microsoft.graph.identity" + Id = "278405a3-f568-4b3e-b684-009193463064" + IdentityProvider = "AAD" + } + } + } + ) + ClientContext = "f2fa86af-3c51-4bc2-8fc0-475452d9764f" +} +Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + Participants = @( + @{ + "@odata.type" = "#microsoft.graph.invitationParticipantInfo" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + Phone = @{ + "@odata.type" = "#microsoft.graph.identity" + Id = "+12345678901" + } + } + } + ) + ClientContext = "f2fa86af-3c51-4bc2-8fc0-475452d9764f" +} +Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + Participants = @( + @{ + "@odata.type" = "#microsoft.graph.invitationParticipantInfo" + ReplacesCallId = "a7ebfb2d-871e-419c-87af-27290b22e8db" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + User = @{ + "@odata.type" = "#microsoft.graph.identity" + Id = "7e1b4346-85a6-4bdd-abe3-d11c5d420efe" + DisplayName = "string" + } + } + } + ) + ClientContext = "f2fa86af-3c51-4bc2-8fc0-475452d9764f" +} +Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + Participants = @( + @{ + "@odata.type" = "#microsoft.graph.invitationParticipantInfo" + ReplacesCallId = "a7ebfb2d-871e-419c-87af-27290b22e8db" + ParticipantId = "7d501bf1-5ee4-4605-ba92-0ae4513c611c" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + User = @{ + "@odata.type" = "#microsoft.graph.identity" + Id = "682b6c37-0729-4fab-ace6-d730d5d9137e" + IdentityProvider = "AAD" + } + } + } + ) + ClientContext = "f2fa86af-3c51-4bc2-8fc0-475452d9764f" +} +Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params +``` +###Example 5 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + Participants = @( + @{ + "@odata.type" = "#microsoft.graph.invitationParticipantInfo" + ReplacesCallId = "a7ebfb2d-871e-419c-87af-27290b22e8db" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + User = @{ + "@odata.type" = "#microsoft.graph.identity" + Id = "7e1b4346-85a6-4bdd-abe3-d11c5d420efe" + DisplayName = "string" + } + } + } + @{ + "@odata.type" = "#microsoft.graph.invitationParticipantInfo" + ReplacesCallId = "a7ebfb2d-871e-419c-87af-27290b22e8db" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + User = @{ + "@odata.type" = "#microsoft.graph.identity" + Id = "1e126418-44a0-4a94-a6f8-0efe1ad71acb" + DisplayName = "string" + } + } + } + ) + ClientContext = "f2fa86af-3c51-4bc2-8fc0-475452d9764f" +} +Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params +``` +###Example 6 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + Participants = @( + @{ + "@odata.type" = "#microsoft.graph.invitationParticipantInfo" + ReplacesCallId = "a7ebfb2d-871e-419c-87af-27290b22e8db" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + User = @{ + "@odata.type" = "#microsoft.graph.identity" + Id = "278405a3-f568-4b3e-b684-009193463064" + IdentityProvider = "AAD" + } + } + } + ) + ClientContext = "f2fa86af-3c51-4bc2-8fc0-475452d9764f" +} +Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params +``` +###Example 7 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + Participants = @( + @{ + "@odata.type" = "#microsoft.graph.invitationParticipantInfo" + ReplacesCallId = "a7ebfb2d-871e-419c-87af-27290b22e8db" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + User = @{ + "@odata.type" = "#microsoft.graph.identity" + Id = "278405a3-f568-4b3e-b684-009193463064" + DisplayName = "string" + } + } + } + ) + ClientContext = "f2fa86af-3c51-4bc2-8fc0-475452d9764f" +} +Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params +``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgKeepCommunicationCallAlive.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgKeepCommunicationCallAlive.md index 093355d11d5..8c12a320dc2 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgKeepCommunicationCallAlive.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgKeepCommunicationCallAlive.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +Invoke-MgKeepCommunicationCallAlive -CallId $callId ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality.md index 093355d11d5..f04a736cf2b 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality.md @@ -1,18 +1,89 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + Quality = @{ + "@odata.type" = "#microsoft.graph.teleconferenceDeviceQuality" + CallChainId = "0622673d-9f69-49b3-9d4f-5ec64f42ecce" + ParticipantId = "ea078406-b5d4-4d3c-b85e-90103dcec7f6" + MediaLegId = "bd9ee398-4b9d-42c7-8b8d-4e8efad9435f" + DeviceName = "TestAgent" + DeviceDescription = "TestDescription" + MediaQualityList = @( + @{ + "@odata.type" = "#microsoft.graph.teleconferenceDeviceAudioQuality" + ChannelIndex = 1 + MediaDuration = "PT20M" + NetworkLinkSpeedInBytes = 13000 + LocalIPAddress = "127.0.0.1" + LocalPort = 6300 + RemoteIPAddress = "102.1.1.101" + RemotePort = 6301 + InboundPackets = 5500 + OutboundPackets = 5400 + AverageInboundPacketLossRateInPercentage = 0.01 + AverageOutboundPacketLossRateInPercentage = 0.02 + MaximumInboundPacketLossRateInPercentage = 0.05 + MaximumOutboundPacketLossRateInPercentage = 0.06 + AverageInboundRoundTripDelay = "PT0.03S" + AverageOutboundRoundTripDelay = "PT0.04S" + MaximumInboundRoundTripDelay = "PT0.13S" + MaximumOutboundRoundTripDelay = "PT0.14S" + AverageInboundJitter = "PT0.01S" + AverageOutboundJitter = "PT0.015S" + MaximumInboundJitter = "PT0.023S" + MaximumOutboundJitter = "PT0.024S" + } + @{ + "@odata.type" = "#microsoft.graph.teleconferenceDeviceVideoQuality" + ChannelIndex = 1 + MediaDuration = "PT20M" + NetworkLinkSpeedInBytes = 13000 + LocalIPAddress = "127.0.0.1" + LocalPort = 6300 + RemoteIPAddress = "102.1.1.101" + RemotePort = 6301 + InboundPackets = 5500 + OutboundPackets = 5400 + AverageInboundPacketLossRateInPercentage = 0.01 + AverageOutboundPacketLossRateInPercentage = 0.02 + MaximumInboundPacketLossRateInPercentage = 0.05 + MaximumOutboundPacketLossRateInPercentage = 0.06 + AverageInboundRoundTripDelay = "PT0.03S" + AverageOutboundRoundTripDelay = "PT0.04S" + MaximumInboundRoundTripDelay = "PT0.13S" + MaximumOutboundRoundTripDelay = "PT0.14S" + AverageInboundJitter = "PT0.01S" + AverageOutboundJitter = "PT0.015S" + MaximumInboundJitter = "PT0.023S" + MaximumOutboundJitter = "PT0.024S" + } + @{ + "@odata.type" = "#microsoft.graph.teleconferenceDeviceScreenSharingQuality" + ChannelIndex = 1 + MediaDuration = "PT20M" + NetworkLinkSpeedInBytes = 13000 + LocalIPAddress = "127.0.0.1" + LocalPort = 6300 + RemoteIPAddress = "102.1.1.101" + RemotePort = 6301 + InboundPackets = 5500 + OutboundPackets = 5400 + AverageInboundPacketLossRateInPercentage = 0.01 + AverageOutboundPacketLossRateInPercentage = 0.02 + MaximumInboundPacketLossRateInPercentage = 0.05 + MaximumOutboundPacketLossRateInPercentage = 0.06 + AverageInboundRoundTripDelay = "PT0.03S" + AverageOutboundRoundTripDelay = "PT0.04S" + MaximumInboundRoundTripDelay = "PT0.13S" + MaximumOutboundRoundTripDelay = "PT0.14S" + AverageInboundJitter = "PT0.01S" + AverageOutboundJitter = "PT0.015S" + MaximumInboundJitter = "PT0.023S" + MaximumOutboundJitter = "PT0.024S" + } + ) + } +} +Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCall.md index 093355d11d5..7a3a3afc751 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCall.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + ClientContext = "clientContext-value" +} +Invoke-MgMuteCommunicationCall -CallId $callId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCallParticipant.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCallParticipant.md index 093355d11d5..753415d8584 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCallParticipant.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCallParticipant.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + ClientContext = "d45324c1-fcb5-430a-902c-f20af696537c" +} +Invoke-MgMuteCommunicationCallParticipant -CallId $callId -ParticipantId $participantId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgPlayCommunicationCallPrompt.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgPlayCommunicationCallPrompt.md index 093355d11d5..00f98aeab05 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgPlayCommunicationCallPrompt.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgPlayCommunicationCallPrompt.md @@ -1,18 +1,18 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + ClientContext = "d45324c1-fcb5-430a-902c-f20af696537c" + Prompts = @( + @{ + "@odata.type" = "#microsoft.graph.mediaPrompt" + MediaInfo = @{ + "@odata.type" = "#microsoft.graph.mediaInfo" + Uri = "https://cdn.contoso.com/beep.wav" + ResourceId = "1D6DE2D4-CD51-4309-8DAA-70768651088E" + } + } + ) +} +Invoke-MgPlayCommunicationCallPrompt -CallId $callId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRecordCommunicationCallResponse.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRecordCommunicationCallResponse.md index 093355d11d5..7a7979cde1e 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRecordCommunicationCallResponse.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRecordCommunicationCallResponse.md @@ -1,18 +1,23 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + BargeInAllowed = $true + ClientContext = "d45324c1-fcb5-430a-902c-f20af696537c" + Prompts = @( + @{ + "@odata.type" = "#microsoft.graph.mediaPrompt" + } + ) + MaxRecordDurationInSeconds = 10 + InitialSilenceTimeoutInSeconds = 5 + MaxSilenceTimeoutInSeconds = 2 + PlayBeep = $true + StopTones = @( + "#" + "1" + "*" + ) +} +Invoke-MgRecordCommunicationCallResponse -CallId $callId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRedirectCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRedirectCommunicationCall.md index 093355d11d5..4943653aaa6 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRedirectCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRedirectCommunicationCall.md @@ -1,18 +1,41 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + Targets = @( + @{ + "@odata.type" = "#microsoft.graph.invitationParticipantInfo" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + Application = @{ + "@odata.type" = "#microsoft.graph.identity" + DisplayName = "test bot 2" + Id = "22bfd41f-550e-477d-8789-f6f7bd2a5e8b" + } + } + } + ) + CallbackUri = "https://bot.contoso.com/api/calls/24701998-1a73-4d42-8085-bf46ed0ae039" +} +Invoke-MgRedirectCommunicationCall -CallId $callId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + Targets = @( + @{ + "@odata.type" = "#microsoft.graph.invitationParticipantInfo" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + Phone = @{ + "@odata.type" = "#microsoft.graph.identity" + Id = "+12345678901" + } + } + } + ) + CallbackUri = "https://bot.contoso.com/api/calls/24701998-1a73-4d42-8085-bf46ed0ae039" +} +Invoke-MgRedirectCommunicationCall -CallId $callId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRejectCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRejectCommunicationCall.md index 093355d11d5..47031bdab45 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRejectCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRejectCommunicationCall.md @@ -1,18 +1,16 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + Reason = "none" +} +Invoke-MgRejectCommunicationCall -CallId $callId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + Reason = "busy" +} +Invoke-MgRejectCommunicationCall -CallId $callId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgSubscribeCommunicationCallToTone.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgSubscribeCommunicationCallToTone.md index 093355d11d5..aadb8c55c1f 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgSubscribeCommunicationCallToTone.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgSubscribeCommunicationCallToTone.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + ClientContext = "fd1c7836-4d84-4e24-b6aa-23188688cc54" +} +Invoke-MgSubscribeCommunicationCallToTone -CallId $callId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgUnmuteCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgUnmuteCommunicationCall.md index 093355d11d5..5a91ceaee61 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgUnmuteCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgUnmuteCommunicationCall.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + ClientContext = "clientContext-value" +} +Invoke-MgUnmuteCommunicationCall -CallId $callId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Move-MgCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Move-MgCommunicationCall.md index 093355d11d5..c8bd36ba340 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Move-MgCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Move-MgCommunicationCall.md @@ -1,18 +1,102 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + TransferTarget = @{ + EndpointType = "default" + Identity = @{ + User = @{ + Id = "550fae72-d251-43ec-868c-373732c2704f" + DisplayName = "Heidi Steen" + } + } + } +} +Move-MgCommunicationCall -CallId $callId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + TransferTarget = @{ + "@odata.type" = "#microsoft.graph.invitationParticipantInfo" + EndpointType = "default" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + User = @{ + "@odata.type" = "#microsoft.graph.identity" + Id = "550fae72-d251-43ec-868c-373732c2704f" + DisplayName = "Heidi Steen" + } + } + ReplacesCallId = "e5d39592-99bd-4db8-bca8-30fb894ec51d" + } +} +Move-MgCommunicationCall -CallId $callId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + TransferTarget = @{ + EndpointType = "default" + Identity = @{ + Phone = @{ + "@odata.type" = "#microsoft.graph.identity" + Id = "+12345678901" + } + } + LanguageId = "languageId-value" + Region = "region-value" + } + ClientContext = "9e90d1c1-f61e-43e7-9f75-d420159aae08" +} +Move-MgCommunicationCall -CallId $callId -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + TransferTarget = @{ + "@odata.type" = "#microsoft.graph.invitationParticipantInfo" + EndpointType = "default" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + Phone = @{ + "@odata.type" = "#microsoft.graph.identity" + Id = "+12345678901" + } + } + LanguageId = "en-us" + Region = "amer" + ReplacesCallId = "e5d39592-99bd-4db8-bca8-30fb894ec51d" + } + ClientContext = "9e90d1c1-f61e-43e7-9f75-d420159aae08" +} +Move-MgCommunicationCall -CallId $callId -BodyParameter $params +``` +###Example 5 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + TransferTarget = @{ + EndpointType = "default" + Identity = @{ + User = @{ + Id = "550fae72-d251-43ec-868c-373732c2704f" + DisplayName = "Heidi Steen" + } + } + } + Transferee = @{ + Identity = @{ + User = @{ + Id = "751f6800-3180-414d-bd94-333364659951" + TenantId = "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + ParticipantId = "909c6581-5130-43e9-88f3-fcb3582cde37" + } +} +Move-MgCommunicationCall -CallId $callId -BodyParameter $params +``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgCommunicationCall.md index 093355d11d5..d74410803b0 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgCommunicationCall.md @@ -1,18 +1,157 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + "@odata.type" = "#microsoft.graph.call" + CallbackUri = "https://bot.contoso.com/callback" + Source = @{ + "@odata.type" = "#microsoft.graph.participantInfo" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + Application = @{ + "@odata.type" = "#microsoft.graph.identity" + DisplayName = "Calling Bot" + Id = "2891555a-92ff-42e6-80fa-6e1300c6b5c6" + } + } + Region = $null + LanguageId = $null + } + Targets = @( + @{ + "@odata.type" = "#microsoft.graph.invitationParticipantInfo" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + User = @{ + "@odata.type" = "#microsoft.graph.identity" + DisplayName = "John" + Id = "112f7296-5fa4-42ca-bae8-6a692b15d4b8" + } + } + } + ) + RequestedModalities = @( + "audio" + ) + MediaConfig = @{ + "@odata.type" = "#microsoft.graph.appHostedMediaConfig" + Blob = "" + } +} +New-MgCommunicationCall -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + "@odata.type" = "#microsoft.graph.call" + CallbackUri = "https://bot.contoso.com/callback" + Targets = @( + @{ + "@odata.type" = "#microsoft.graph.invitationParticipantInfo" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + User = @{ + "@odata.type" = "#microsoft.graph.identity" + DisplayName = "John" + Id = "112f7296-5fa4-42ca-bae8-6a692b15d4b8" + } + } + } + ) + RequestedModalities = @( + "audio" + ) + MediaConfig = @{ + "@odata.type" = "#microsoft.graph.serviceHostedMediaConfig" + } +} +New-MgCommunicationCall -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + "@odata.type" = "#microsoft.graph.call" + CallbackUri = "https://bot.contoso.com/callback" + Source = @{ + "@odata.type" = "#microsoft.graph.participantInfo" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + ApplicationInstance = @{ + "@odata.type" = "#microsoft.graph.identity" + DisplayName = "Calling Bot" + Id = "3d913abb-aec0-4964-8fa6-3c6850c4f278" + } + } + CountryCode = $null + EndpointType = $null + Region = $null + LanguageId = $null + } + Targets = @( + @{ + "@odata.type" = "#microsoft.graph.invitationParticipantInfo" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + Phone = @{ + "@odata.type" = "#microsoft.graph.identity" + Id = "+12345678901" + } + } + } + ) + RequestedModalities = @( + "audio" + ) + MediaConfig = @{ + "@odata.type" = "#microsoft.graph.serviceHostedMediaConfig" + } + TenantId = "aa67bd4c-8475-432d-bd41-39f255720e0a" +} +New-MgCommunicationCall -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + "@odata.type" = "#microsoft.graph.call" + CallbackUri = "https://bot.contoso.com/callback" + Source = @{ + "@odata.type" = "#microsoft.graph.participantInfo" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + ApplicationInstance = @{ + "@odata.type" = "#microsoft.graph.identity" + DisplayName = "Calling Bot" + Id = "3d913abb-aec0-4964-8fa6-3c6850c4f278" + } + } + CountryCode = $null + EndpointType = $null + Region = $null + LanguageId = $null + } + Targets = @( + @{ + "@odata.type" = "#microsoft.graph.invitationParticipantInfo" + Identity = @{ + "@odata.type" = "#microsoft.graph.identitySet" + Phone = @{ + "@odata.type" = "#microsoft.graph.identity" + Id = "+12345678901" + } + } + } + ) + RequestedModalities = @( + "audio" + ) + MediaConfig = @{ + "@odata.type" = "#microsoft.graph.appHostedMediaConfig" + Blob = "" + } + TenantId = "aa67bd4c-8475-432d-bd41-39f255720e0a" +} +New-MgCommunicationCall -BodyParameter $params +``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgUserOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgUserOnlineMeeting.md index 093355d11d5..84ae2f49d64 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgUserOnlineMeeting.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + StartDateTime = [System.DateTime]::Parse("2019-07-12T14:30:34.2444915-07:00") + EndDateTime = [System.DateTime]::Parse("2019-07-12T15:00:34.2464912-07:00") + Subject = "User Token Meeting" +} +# A UPN can also be used as -UserId. +New-MgUserOnlineMeeting -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCall.md index 093355d11d5..a62e4a1a1c5 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCall.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +Remove-MgCommunicationCall -CallId $callId ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCallParticipant.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCallParticipant.md index 093355d11d5..4a0a1682d34 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCallParticipant.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCallParticipant.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +Remove-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participantId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.CloudCommunications +Remove-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participantId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.CloudCommunications +Remove-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participantId ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgUserOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgUserOnlineMeeting.md index 093355d11d5..eb3ac7a8811 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgUserOnlineMeeting.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +# A UPN can also be used as -UserId. +Remove-MgUserOnlineMeeting -UserId $userId -OnlineMeetingId $onlineMeetingId ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Rename-MgCommunicationCallScreenSharingRole.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Rename-MgCommunicationCallScreenSharingRole.md index 093355d11d5..a89db177267 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Rename-MgCommunicationCallScreenSharingRole.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Rename-MgCommunicationCallScreenSharingRole.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + Role = "viewer" +} +Rename-MgCommunicationCallScreenSharingRole -CallId $callId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Start-MgCommunicationCallParticipantHoldMusic.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Start-MgCommunicationCallParticipantHoldMusic.md index 093355d11d5..6283875213c 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Start-MgCommunicationCallParticipantHoldMusic.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Start-MgCommunicationCallParticipantHoldMusic.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + CustomPrompt = @{ + "@odata.type" = "#microsoft.graph.mediaPrompt" + MediaInfo = @{ + "@odata.type" = "#microsoft.graph.mediaInfo" + Uri = "https://bot.contoso.com/onHold.wav" + } + } + ClientContext = "d45324c1-fcb5-430a-902c-f20af696537c" +} +Start-MgCommunicationCallParticipantHoldMusic -CallId $callId -ParticipantId $participantId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallMediaProcessing.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallMediaProcessing.md index 093355d11d5..df4eb99af43 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallMediaProcessing.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallMediaProcessing.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + ClientContext = "clientContext-value" +} +Stop-MgCommunicationCallMediaProcessing -CallId $callId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallParticipantHoldMusic.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallParticipantHoldMusic.md index 093355d11d5..b8ad615d7b9 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallParticipantHoldMusic.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallParticipantHoldMusic.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + ClientContext = "d45324c1-fcb5-430a-902c-f20af696537c" +} +Stop-MgCommunicationCallParticipantHoldMusic -CallId $callId -ParticipantId $participantId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgCommunicationCallRecordingStatus.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgCommunicationCallRecordingStatus.md index 093355d11d5..94cf10981f6 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgCommunicationCallRecordingStatus.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgCommunicationCallRecordingStatus.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + ClientContext = "clientContext-value" + Status = "notRecording | recording | failed" +} +Update-MgCommunicationCallRecordingStatus -CallId $callId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgUserOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgUserOnlineMeeting.md index 093355d11d5..15c0817218f 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgUserOnlineMeeting.md @@ -1,18 +1,22 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + LobbyBypassSettings = @{ + IsDialInBypassEnabled = $true + } +} +# A UPN can also be used as -UserId. +Update-MgUserOnlineMeeting -UserId $userId -OnlineMeetingId $onlineMeetingId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.CloudCommunications +$params = @{ + StartDateTime = [System.DateTime]::Parse("2020-09-09T14:33:30.8546353-07:00") + EndDateTime = [System.DateTime]::Parse("2020-09-09T15:03:30.8566356-07:00") + Subject = "Patch Meeting Subject" +} +# A UPN can also be used as -UserId. +Update-MgUserOnlineMeeting -UserId $userId -OnlineMeetingId $onlineMeetingId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/CrossDeviceExperiences/CrossDeviceExperiences/examples/v1.0/Remove-MgUserActivity.md b/src/CrossDeviceExperiences/CrossDeviceExperiences/examples/v1.0/Remove-MgUserActivity.md index 093355d11d5..0696129bcd8 100644 --- a/src/CrossDeviceExperiences/CrossDeviceExperiences/examples/v1.0/Remove-MgUserActivity.md +++ b/src/CrossDeviceExperiences/CrossDeviceExperiences/examples/v1.0/Remove-MgUserActivity.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.CrossDeviceExperiences +# A UPN can also be used as -UserId. +Remove-MgUserActivity -UserId $userId -UserActivityId $userActivityId ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignment.md index 093355d11d5..15186e9f617 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignment.md @@ -1,18 +1,25 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleAssignment -Filter "roleDefinitionId eq '62e90394-69f5-4237-9190-012177145e10'" -ExpandProperty "principal" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleAssignment -Filter " principalId eq '5bde3e51-d13b-4db1-9948-fe4b109d11a7'" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId -ExpandProperty "roleDefinition" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId +``` +###Example 5 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId -ExpandProperty "roleDefinition" +``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentSchedule.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentSchedule.md index 093355d11d5..cb96aff118a 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentSchedule.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentSchedule.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleAssignmentSchedule -UnifiedRoleAssignmentScheduleId $unifiedRoleAssignmentScheduleId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleAssignmentSchedule +``` +###Example 3 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleAssignmentSchedule -UnifiedRoleAssignmentScheduleId $unifiedRoleAssignmentScheduleId ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance.md index 093355d11d5..9ae202b0e9c 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance -UnifiedRoleAssignmentScheduleInstanceId $unifiedRoleAssignmentScheduleInstanceId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance +``` +###Example 3 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance -UnifiedRoleAssignmentScheduleInstanceId $unifiedRoleAssignmentScheduleInstanceId ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md index 093355d11d5..0d0b43f6a1b 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md @@ -1,18 +1,25 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId -Property "principalId,action,roleDefinitionId" -ExpandProperty "roleDefinition,activatedUsing,principal,targetSchedule" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -Property "principalId,action,roleDefinitionId" -ExpandProperty "roleDefinition,activatedUsing,principal,targetSchedule" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest +``` +###Example 5 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId +``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleDefinition.md index 093355d11d5..69db8f23ee3 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleDefinition.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId -ExpandProperty "inheritsPermissionsFrom" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleDefinition +``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilitySchedule.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilitySchedule.md index 093355d11d5..8ad6dec0d73 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilitySchedule.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilitySchedule.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleEligibilitySchedule -UnifiedRoleEligibilityScheduleId $unifiedRoleEligibilityScheduleId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleEligibilitySchedule +``` +###Example 3 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleEligibilitySchedule -UnifiedRoleEligibilityScheduleId $unifiedRoleEligibilityScheduleId ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance.md index 093355d11d5..d54f1e5c231 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance -UnifiedRoleEligibilityScheduleInstanceId $unifiedRoleEligibilityScheduleInstanceId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance +``` +###Example 3 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance -UnifiedRoleEligibilityScheduleInstanceId $unifiedRoleEligibilityScheduleInstanceId ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md index 093355d11d5..796902f542a 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -UnifiedRoleEligibilityScheduleRequestId $unifiedRoleEligibilityScheduleRequestId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest +``` +###Example 3 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -UnifiedRoleEligibilityScheduleRequestId $unifiedRoleEligibilityScheduleRequestId ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleAssignment.md index 093355d11d5..45e5d956f3f 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleAssignment.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementEntitlementManagementRoleAssignment -Filter "appScopeId eq '/AccessPackageCatalog/4cee616b-fdf9-4890-9d10-955e0ccb12bc'" -ExpandProperty "principal" ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleDefinition.md index 093355d11d5..a536c89a47d 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleDefinition.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Get-MgRoleManagementEntitlementManagementRoleDefinition ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignment.md index 093355d11d5..8b149aac0ad 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignment.md @@ -1,18 +1,33 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +$params = @{ + "@odata.type" = "#microsoft.graph.unifiedRoleAssignment" + RoleDefinitionId = "c2cf284d-6c41-4e6b-afac-4b80928c9034" + PrincipalId = "f8ca5a85-489a-49a0-b555-0a6d81e56f0d" + DirectoryScopeId = "/" +} +New-MgRoleManagementDirectoryRoleAssignment -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +$params = @{ + "@odata.type" = "#microsoft.graph.unifiedRoleAssignment" + RoleDefinitionId = "fe930be7-5e62-47db-91af-98c3a49a38b1" + PrincipalId = "f8ca5a85-489a-49a0-b555-0a6d81e56f0d" + DirectoryScopeId = "/administrativeUnits/5d107bba-d8e2-4e13-b6ae-884be90e5d1a" +} +New-MgRoleManagementDirectoryRoleAssignment -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +$params = @{ + "@odata.type" = "#microsoft.graph.unifiedRoleAssignment" + PrincipalId = "6b937a9d-c731-465b-a844-2d5b5368c161" + RoleDefinitionId = "9b895d92-2cd3-44c7-9d02-a6ac2d5ea5c3" + DirectoryScopeId = "/661e1310-bd76-4795-89a7-8f3c8f855bfc" +} +New-MgRoleManagementDirectoryRoleAssignment -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md index 093355d11d5..ef85ddd0d4f 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md @@ -1,18 +1,41 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +$params = @{ + Action = "adminAssign" + Justification = "Assign Groups Admin to IT Helpdesk group" + RoleDefinitionId = "fdd7a751-b60b-444a-984c-02652fe8fa1c" + DirectoryScopeId = "/" + PrincipalId = "071cc716-8147-4397-a5ba-b2105951cc0b" + ScheduleInfo = @{ + StartDateTime = [System.DateTime]::Parse("2022-04-10T00:00:00Z") + Expiration = @{ + Type = "NoExpiration" + } + } +} +New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +$params = @{ + Action = "selfActivate" + PrincipalId = "071cc716-8147-4397-a5ba-b2105951cc0b" + RoleDefinitionId = "8424c6f0-a189-499e-bbd0-26c1753c96d4" + DirectoryScopeId = "/" + Justification = "I need access to the Attribute Administrator role to manage attributes to be assigned to restricted AUs" + ScheduleInfo = @{ + StartDateTime = [System.DateTime]::Parse("2022-04-14T00:00:00.000Z") + Expiration = @{ + Type = "AfterDuration" + Duration = "PT5H" + } + } + TicketInfo = @{ + TicketNumber = "CONTOSO:Normal-67890" + TicketSystem = "MS Project" + } +} +New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleDefinition.md index 093355d11d5..55c4c00a7d1 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleDefinition.md @@ -1,18 +1,17 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +$params = @{ + Description = "Update basic properties of application registrations" + DisplayName = "Application Registration Support Administrator" + RolePermissions = @( + @{ + AllowedResourceActions = @( + "microsoft.directory/applications/basic/read" + ) + } + ) + IsEnabled = $true +} +New-MgRoleManagementDirectoryRoleDefinition -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md index 093355d11d5..a42a9f26c48 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md @@ -1,18 +1,30 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +$params = @{ + Action = "adminAssign" + Justification = "Assign Attribute Assignment Admin eligibility to restricted user" + RoleDefinitionId = "8424c6f0-a189-499e-bbd0-26c1753c96d4" + DirectoryScopeId = "/" + PrincipalId = "071cc716-8147-4397-a5ba-b2105951cc0b" + ScheduleInfo = @{ + StartDateTime = [System.DateTime]::Parse("2022-04-10T00:00:00Z") + Expiration = @{ + Type = "afterDateTime" + EndDateTime = [System.DateTime]::Parse("2024-04-10T00:00:00Z") + } + } +} +New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +$params = @{ + Action = "adminRemove" + RoleDefinitionId = "8424c6f0-a189-499e-bbd0-26c1753c96d4" + DirectoryScopeId = "/" + PrincipalId = "071cc716-8147-4397-a5ba-b2105951cc0b" +} +New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementEntitlementManagementRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementEntitlementManagementRoleAssignment.md index 093355d11d5..d043b78d47e 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementEntitlementManagementRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementEntitlementManagementRoleAssignment.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +$params = @{ + PrincipalId = "679a9213-c497-48a4-830a-8d3d25d94ddc" + RoleDefinitionId = "ae79f266-94d4-4dab-b730-feca7e132178" + AppScopeId = "/AccessPackageCatalog/beedadfe-01d5-4025-910b-84abb9369997" +} +New-MgRoleManagementEntitlementManagementRoleAssignment -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleAssignment.md index 093355d11d5..1e3705656ed 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleAssignment.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Remove-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleDefinition.md index 093355d11d5..8bb55d6585e 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleDefinition.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Remove-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md index 093355d11d5..89812bcc343 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md index 093355d11d5..781e41d879a 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -UnifiedRoleEligibilityScheduleRequestId $unifiedRoleEligibilityScheduleRequestId ``` - -{{ Add description here }} - diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Update-MgRoleManagementDirectoryRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Update-MgRoleManagementDirectoryRoleDefinition.md index 093355d11d5..0273b3e9892 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Update-MgRoleManagementDirectoryRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Update-MgRoleManagementDirectoryRoleDefinition.md @@ -1,18 +1,16 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DeviceManagement.Enrolment +$params = @{ + Description = "Update basic properties of application registrations" + DisplayName = "Application Registration Support Administrator" + RolePermissions = @( + @{ + AllowedResourceActions = @( + "microsoft.directory/applications/basic/read" + ) + } + ) +} +Update-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintConnector.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintConnector.md index 093355d11d5..2a058ec69b4 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintConnector.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintConnector.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintConnector -PrintConnectorId $printConnectorId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintConnector ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintOperation.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintOperation.md index 093355d11d5..371a148adfa 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintOperation.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintOperation.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintOperation -PrintOperationId $printOperationId ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinter.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinter.md index 093355d11d5..712614277fb 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinter.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinter.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintPrinter -PrinterId $printerId -Property "id,displayName,capabilities" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintPrinter -PrinterId $printerId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintPrinter ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterConnector.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterConnector.md index 093355d11d5..52d8b3e0ee7 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterConnector.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterConnector.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintPrinterConnector -PrinterId $printerId ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterTaskTrigger.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterTaskTrigger.md index 093355d11d5..a15f04a566a 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterTaskTrigger.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterTaskTrigger.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintPrinterTaskTrigger -PrinterId $printerId -PrintTaskTriggerId $printTaskTriggerId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintPrinterTaskTrigger -PrinterId $printerId ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintService.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintService.md index 093355d11d5..d188935a0ca 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintService.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintService.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintService -PrintServiceId $printServiceId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintService ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintServiceEndpoint.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintServiceEndpoint.md index 093355d11d5..b46fc800f1a 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintServiceEndpoint.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintServiceEndpoint.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintServiceEndpoint -PrintServiceId $printServiceId -PrintServiceEndpointId $printServiceEndpointId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintServiceEndpoint -PrintServiceId $printServiceId ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShare.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShare.md index 093355d11d5..5cd4449b0ab 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShare.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShare.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintShare -PrinterShareId $printerShareId -Property "id,displayName,capabilities" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintShare -PrinterShareId $printerShareId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintShare ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedGroup.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedGroup.md index 093355d11d5..37ebe8644b8 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedGroup.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedGroup.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintShareAllowedGroup -PrinterShareId $printerShareId ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedUser.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedUser.md index 093355d11d5..e275b9d0f4a 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedUser.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedUser.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintShareAllowedUser -PrinterShareId $printerShareId ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinition.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinition.md index 093355d11d5..26fe53cd54d 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinition.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinition.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintTaskDefinition -PrintTaskDefinitionId $printTaskDefinitionId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintTaskDefinition ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinitionTask.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinitionTask.md index 093355d11d5..6ddd4b30931 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinitionTask.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinitionTask.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintTaskDefinitionTask -PrintTaskDefinitionId $printTaskDefinitionId -PrintTaskId $printTaskId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Devices.CloudPrint +Get-MgPrintTaskDefinitionTask -PrintTaskDefinitionId $printTaskDefinitionId ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintPrinterTaskTrigger.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintPrinterTaskTrigger.md index 093355d11d5..628d442debc 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintPrinterTaskTrigger.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintPrinterTaskTrigger.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +$params = @{ + Event = "jobStarted" + "Definition@odata.bind" = "https://graph.microsoft.com/v1.0/print/taskDefinitions/{taskDefinitionId}" +} +New-MgPrintPrinterTaskTrigger -PrinterId $printerId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShare.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShare.md index 093355d11d5..66064c00098 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShare.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShare.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +$params = @{ + DisplayName = "ShareName" + AllowAllUsers = $false + "Printer@odata.bind" = "https://graph.microsoft.com/v1.0/print/printers/{printerId}" +} +New-MgPrintShare -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedGroupByRef.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedGroupByRef.md index 093355d11d5..664ad32cb93 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedGroupByRef.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedGroupByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/groups/{groupId}" +} +New-MgPrintShareAllowedGroupByRef -PrinterShareId $printerShareId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedUserByRef.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedUserByRef.md index 093355d11d5..70a21160639 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedUserByRef.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedUserByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/users/{userId}" +} +New-MgPrintShareAllowedUserByRef -PrinterShareId $printerShareId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintTaskDefinition.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintTaskDefinition.md index 093355d11d5..3450da2b9a9 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintTaskDefinition.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintTaskDefinition.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +$params = @{ + DisplayName = "Test TaskDefinitionName" + CreatedBy = @{ + DisplayName = "Requesting App Display Name" + } +} +New-MgPrintTaskDefinition -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintConnector.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintConnector.md index 093355d11d5..2dfed546364 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintConnector.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintConnector.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Remove-MgPrintConnector -PrintConnectorId $printConnectorId ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinter.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinter.md index 093355d11d5..bed983190ec 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinter.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinter.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Remove-MgPrintPrinter -PrinterId $printerId ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinterTaskTrigger.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinterTaskTrigger.md index 093355d11d5..0b61069b06b 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinterTaskTrigger.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinterTaskTrigger.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Remove-MgPrintPrinterTaskTrigger -PrinterId $printerId -PrintTaskTriggerId $printTaskTriggerId ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShare.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShare.md index 093355d11d5..14fce5c491d 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShare.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShare.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Remove-MgPrintShare -PrinterShareId $printerShareId ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedGroupByRef.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedGroupByRef.md index 093355d11d5..cf51695faf4 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedGroupByRef.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedGroupByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Remove-MgPrintShareAllowedGroupByRef -PrinterShareId $printerShareId -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedUserByRef.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedUserByRef.md index 093355d11d5..b350f092d1b 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedUserByRef.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedUserByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Remove-MgPrintShareAllowedUserByRef -PrinterShareId $printerShareId -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintTaskDefinition.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintTaskDefinition.md index 093355d11d5..ca6d20afa8f 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintTaskDefinition.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintTaskDefinition.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Remove-MgPrintTaskDefinition -PrintTaskDefinitionId $printTaskDefinitionId ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Restore-MgPrintPrinterFactoryDefault.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Restore-MgPrintPrinterFactoryDefault.md index 093355d11d5..d5dcac3d49b 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Restore-MgPrintPrinterFactoryDefault.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Restore-MgPrintPrinterFactoryDefault.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +Restore-MgPrintPrinterFactoryDefault -PrinterId $printerId ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintConnector.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintConnector.md index 093355d11d5..7547d00bb37 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintConnector.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintConnector.md @@ -1,18 +1,16 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +$params = @{ + DisplayName = "ConnectorName" + FullyQualifiedDomainName = "CONNECTOR-MACHINE" + OperatingSystem = "Microsoft Windows 10 Enterprise Insider Preview | 10.0.19555" + AppVersion = "0.19.7338.23496" + Location = @{ + Latitude = 1.1 + Longitude = 2.2 + AltitudeInMeters = 3 + } +} +Update-MgPrintConnector -PrintConnectorId $printConnectorId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintPrinter.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintPrinter.md index 093355d11d5..f348cc3933f 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintPrinter.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintPrinter.md @@ -1,18 +1,13 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +$params = @{ + Name = "PrinterName" + Location = @{ + Latitude = 1.1 + Longitude = 2.2 + AltitudeInMeters = 3 + } +} +Update-MgPrintPrinter -PrinterId $printerId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintShare.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintShare.md index 093355d11d5..7095519c64d 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintShare.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintShare.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +$params = @{ + DisplayName = "PrinterShare Name" + "Printer@odata.bind" = "https://graph.microsoft.com/v1.0/print/printers/{printerId}" + AllowAllUsers = $false +} +Update-MgPrintShare -PrinterShareId $printerShareId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinition.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinition.md index 093355d11d5..39fa0bdd4c2 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinition.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinition.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +$params = @{ + DisplayName = "Test TaskDefinitionName" + CreatedBy = @{ + DisplayName = "Requesting App Display Name" + } +} +Update-MgPrintTaskDefinition -PrintTaskDefinitionId $printTaskDefinitionId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinitionTask.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinitionTask.md index 093355d11d5..378ebf36936 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinitionTask.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinitionTask.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.CloudPrint +$params = @{ + Status = @{ + State = "completed" + Description = "completed" + } +} +Update-MgPrintTaskDefinitionTask -PrintTaskDefinitionId $printTaskDefinitionId -PrintTaskId $printTaskId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementHealthOverview.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementHealthOverview.md index 093355d11d5..404e429fb80 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementHealthOverview.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementHealthOverview.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +Get-MgServiceAnnouncementHealthOverview -ServiceHealthId $serviceHealthId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +Get-MgServiceAnnouncementHealthOverview -ServiceHealthId $serviceHealthId -ExpandProperty "issues" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +Get-MgServiceAnnouncementHealthOverview +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +Get-MgServiceAnnouncementHealthOverview -ExpandProperty "issues" +``` diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementIssue.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementIssue.md index 093355d11d5..d2808aa48e7 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementIssue.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementIssue.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +Get-MgServiceAnnouncementIssue -ServiceHealthIssueId $serviceHealthIssueId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +Get-MgServiceAnnouncementIssue ``` - -{{ Add description here }} - diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessage.md index 093355d11d5..b02cb45fb4a 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessage.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +Get-MgServiceAnnouncementMessage -ServiceUpdateMessageId $serviceUpdateMessageId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +Get-MgServiceAnnouncementMessage ``` - -{{ Add description here }} - diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachment.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachment.md index 093355d11d5..a81a00e76fe 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachment.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachment.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +Get-MgServiceAnnouncementMessageAttachment -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +Get-MgServiceAnnouncementMessageAttachment -ServiceUpdateMessageId $serviceUpdateMessageId ``` - -{{ Add description here }} - diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentArchive.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentArchive.md index 093355d11d5..69c9f0ac378 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentArchive.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentArchive.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +Get-MgServiceAnnouncementMessageAttachmentArchive -ServiceUpdateMessageId $serviceUpdateMessageId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +Get-MgServiceAnnouncementMessageAttachmentArchive -ServiceUpdateMessageId $serviceUpdateMessageId -OutFile $outFileId ``` - -{{ Add description here }} - diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentContent.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentContent.md index 093355d11d5..77522687309 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentContent.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentContent.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +Get-MgServiceAnnouncementMessageAttachmentContent -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +Get-MgServiceAnnouncementMessageAttachmentContent -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId -OutFile $outFileId ``` - -{{ Add description here }} - diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgArchiveServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgArchiveServiceAnnouncementMessage.md index 093355d11d5..ee86cb610bc 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgArchiveServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgArchiveServiceAnnouncementMessage.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +$params = @{ + MessageIds = @( + "MC172851" + "MC167983" + ) +} +Invoke-MgArchiveServiceAnnouncementMessage -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgFavoriteServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgFavoriteServiceAnnouncementMessage.md index 093355d11d5..b72e7a92c42 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgFavoriteServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgFavoriteServiceAnnouncementMessage.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +$params = @{ + MessageIds = @( + "MC172851" + "MC167983" + ) +} +Invoke-MgFavoriteServiceAnnouncementMessage -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageRead.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageRead.md index 093355d11d5..1c790ad31d0 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageRead.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageRead.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +$params = @{ + MessageIds = @( + "MC172851" + "MC167983" + ) +} +Invoke-MgMarkServiceAnnouncementMessageRead -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageUnread.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageUnread.md index 093355d11d5..25e955fc419 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageUnread.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageUnread.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +$params = @{ + MessageIds = @( + "MC172851" + "MC167983" + ) +} +Invoke-MgMarkServiceAnnouncementMessageUnread -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgReportServiceAnnouncementIssueIncident.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgReportServiceAnnouncementIssueIncident.md index 093355d11d5..241766e8312 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgReportServiceAnnouncementIssueIncident.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgReportServiceAnnouncementIssueIncident.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +Invoke-MgReportServiceAnnouncementIssueIncident -ServiceHealthIssueId $serviceHealthIssueId ``` - -{{ Add description here }} - diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnarchiveServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnarchiveServiceAnnouncementMessage.md index 093355d11d5..53ae92eff05 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnarchiveServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnarchiveServiceAnnouncementMessage.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +$params = @{ + MessageIds = @( + "MC172851" + "MC167983" + ) +} +Invoke-MgUnarchiveServiceAnnouncementMessage -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnfavoriteServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnfavoriteServiceAnnouncementMessage.md index 093355d11d5..605aad82292 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnfavoriteServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnfavoriteServiceAnnouncementMessage.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Devices.ServiceAnnouncement +$params = @{ + MessageIds = @( + "MC172851" + "MC167983" + ) +} +Invoke-MgUnfavoriteServiceAnnouncementMessage -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Confirm-MgDirectoryObjectMemberGroup.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Confirm-MgDirectoryObjectMemberGroup.md index 093355d11d5..1e5490ae722 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Confirm-MgDirectoryObjectMemberGroup.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Confirm-MgDirectoryObjectMemberGroup.md @@ -1,18 +1,14 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DirectoryObjects +$params = @{ + GroupIds = @( + "f448435d-3ca7-4073-8152-a1fd73c0fd09" + "bd7c6263-4dd5-4ae8-8c96-556e1c0bece6" + "93670da6-d731-4366-94b5-abed40b6016b" + "f5484ab1-4d4d-41ec-a9b8-754b3957bfc7" + "c9103f26-f3cf-4004-a611-2a14e81b8f79" + ) +} +Confirm-MgDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObject.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObject.md index 093355d11d5..dcf9a0745c4 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObject.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObject.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DirectoryObjects +Get-MgDirectoryObject -DirectoryObjectId $directoryObjectId ``` - -{{ Add description here }} - diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectAvailableExtensionProperty.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectAvailableExtensionProperty.md index 093355d11d5..c204dc513a9 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectAvailableExtensionProperty.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectAvailableExtensionProperty.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DirectoryObjects +Get-MgDirectoryObjectAvailableExtensionProperty ``` - -{{ Add description here }} - diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectById.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectById.md index 093355d11d5..94c31283d87 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectById.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectById.md @@ -1,18 +1,18 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DirectoryObjects +$params = @{ + Ids = @( + "84b80893-8749-40a3-97b7-68513b600544" + "5d6059b6-368d-45f8-91e1-8e07d485f1d0" + "0b944de3-e0fc-4774-a49a-b135213725ef" + "b75a5ab2-fe55-4463-bd31-d21ad555c6e0" + ) + Types = @( + "user" + "group" + "device" + ) +} +Get-MgDirectoryObjectById -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberGroup.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberGroup.md index 093355d11d5..86841818f79 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberGroup.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberGroup.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DirectoryObjects +$params = @{ + SecurityEnabledOnly = $false +} +Get-MgDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberObject.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberObject.md index 093355d11d5..8efe89c7b65 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberObject.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberObject.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DirectoryObjects +$params = @{ + SecurityEnabledOnly = $true +} +Get-MgDirectoryObjectMemberObject -DirectoryObjectId $directoryObjectId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Remove-MgDirectoryObject.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Remove-MgDirectoryObject.md index 093355d11d5..4e4325414e4 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Remove-MgDirectoryObject.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Remove-MgDirectoryObject.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DirectoryObjects +Remove-MgDirectoryObject -DirectoryObjectId $directoryObjectId ``` - -{{ Add description here }} - diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Test-MgDirectoryObjectProperty.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Test-MgDirectoryObjectProperty.md index 093355d11d5..49f3bbd38d8 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Test-MgDirectoryObjectProperty.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Test-MgDirectoryObjectProperty.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.DirectoryObjects +$params = @{ + EntityType = "Group" + DisplayName = "Myprefix_test_mysuffix" + MailNickname = "Myprefix_test_mysuffix" + OnBehalfOfUserId = "onBehalfOfUserId-value" +} +Test-MgDirectoryObjectProperty -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClass.md b/src/Education/Education/examples/v1.0/Get-MgEducationClass.md index 093355d11d5..7af04209a44 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClass.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClass.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationClass -EducationClassId $educationClassId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClass ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignment.md index 093355d11d5..64211a4957f 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignment.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignment -EducationClassId $educationClassId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignment -EducationClassId $educationClassId -ExpandProperty "resources" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategory.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategory.md index 093355d11d5..b81531504ab 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategory.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategory.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentCategory -EducationClassId $educationClassId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentCategory -EducationClassId $educationClassId -EducationCategoryId $educationCategoryId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategoryDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategoryDelta.md index 093355d11d5..f93bd51ce10 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategoryDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategoryDelta.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Skiptoken "U43TyYWKlRvJ6wWxZOfJvkp22nMqShRw9f-GxBtG2FDy9b1hMDaAJGdLb7n2fh1IVSFtBcXz0jxjIEihcR91dS3R7i8Z2IMtxIn9rKbK9Jvurj6jCH-lDbSNatdesrK0PJ5zpZ_-i8HyqkdtLhWD9tewXVArIqQWJA7gJz8z4paG2q0MU9rixrQOTe7WIXikPiBTUPilHuUW-o1k7cvqke3K7llJbU3G7z_O7WGoVGE.l8-2OcBi9ZWAhwhPnXvJ-kyyk8GNb6-H4o6qofP5YBY" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Deltatoken "7ORzTfzlUEGDy6BRE3OC-3ePBbvLHCRe4aJ_hjaBKJxUHmn_ODgoM4xreLS7YRaxc-iACeqCQsT5Tb0u9vn6QXYflO6j0sRgRQlhcfR7DApZYl6uZqiXcR7H0G14btPqR761sKWNc0jgiczrHGF6dGfSQwsLzPT46og-84ArhOU.Jnxvkr08FE-QBvEYstYel3JZUrgwgTauo-GmpbdWeSA" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Deltatoken "7ORzTfzlUEGDy6BRE3OC-3ePBbvLHCRe4aJ_hjaBKJxUHmn_ODgoM4xreLS7YRaxc-iACeqCQsT5Tb0u9vn6QXYflO6j0sRgRQlhcfR7DApZYl6uZqiXcR7H0G14btPqR761sKWNc0jgiczrHGF6dGfSQwsLzPT46og-84ArhOU.Jnxvkr08FE-QBvEYstYel3JZUrgwgTauo-GmpbdWeSA" -OutFile $outFileId +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Top 3 +``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDefault.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDefault.md index 093355d11d5..cc63e5955f7 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDefault.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDefault.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentDefault -EducationClassId $educationClassId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDelta.md index 093355d11d5..6f1a395b8bd 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDelta.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentDelta -EducationClassId $educationClassId -Deltatoken "7ORzTfzlUEGDy6BRE3OC-3ePBbvLHCRe4aJ_hjaBKJxUHmn_ODgoM4xreLS7YRaxROmLjac48n-iXm5j6n5aQwlsnC-2OvL3lI0Z8M4klERNmJQjnBn7MHqwXZ6L8GlI3VPnya3E-p1bisiZX97jLvQUAopseIYhvnD6v7fiYrk.fVsHempT6X2CiBh6aN9Ex5nVJ71adKdcf-mdke8OHKs" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentDelta -EducationClassId $educationClassId -Skiptoken "U43TyYWKlRvJ6wWxZOfJvkp22nMqShRw9f-GxBtG2FDy9b1hMDaAJGdLb7n2fh1IdHoweKQs1czM4Ry1LVsNqwIFXftTcRHvgSCbcszvbJHEWDCO3QO7K7zwCM8DdXNepZOa1gqldecjIUM0NFRbGQoQ5yR6RmGnMgtko8TDMOyMH_yg1my82PTXA_t4Nj-DhMDZWvuNTd_lbLeTngc7mIJPMCR2gHN9CSKsW_kw850.UM9tUqwOu5Ln1pnxaP6KdMmfJHszGqY3EKPlQkOiyGs" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentDelta -EducationClassId $educationClassId -Top 2 ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentResource.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentResource.md index 093355d11d5..bc48f59f18a 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentResource.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentResource.md @@ -1,18 +1,35 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId +``` +###Example 6 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId +``` +###Example 7 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId +``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentRubric.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentRubric.md index 093355d11d5..e7dd0bb7701 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentRubric.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentRubric.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentRubric -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSetting.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSetting.md index 093355d11d5..1b53f6bd99b 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSetting.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSetting.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentSetting -EducationClassId $educationClassId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmission.md index 093355d11d5..1c0841e65f6 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmission.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -ExpandProperty "*" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -ExpandProperty "outcomes" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId +``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionOutcome.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionOutcome.md index 093355d11d5..267afe7d0a5 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionOutcome.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionOutcome.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentSubmissionOutcome -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionResource.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionResource.md index 093355d11d5..bfa1f24d584 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionResource.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionResource.md @@ -1,18 +1,35 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId +``` +###Example 6 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId +``` +###Example 7 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId +``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionSubmittedResource.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionSubmittedResource.md index 093355d11d5..3be7b3ad7dc 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionSubmittedResource.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionSubmittedResource.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationClassAssignmentSubmissionSubmittedResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassDelta.md index 093355d11d5..f9dbdc6b26d 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassDelta.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationClassDelta ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassMember.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassMember.md index 093355d11d5..ec8a6cb6784 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassMember.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassMember.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationClassMember -EducationClassId $educationClassId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassSchool.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassSchool.md index 093355d11d5..db709d1536b 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassSchool.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassSchool.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationClassSchool -EducationClassId $educationClassId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassTeacher.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassTeacher.md index 093355d11d5..8f914eef1b5 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassTeacher.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassTeacher.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationClassTeacher -EducationClassId $educationClassId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationMeAssignment.md b/src/Education/Education/examples/v1.0/Get-MgEducationMeAssignment.md index 093355d11d5..8b135b6c463 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationMeAssignment.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationMeAssignment.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationMeAssignment ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationMeClass.md b/src/Education/Education/examples/v1.0/Get-MgEducationMeClass.md index 093355d11d5..ec3fd694dd9 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationMeClass.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationMeClass.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationMeClass ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationMeRubric.md b/src/Education/Education/examples/v1.0/Get-MgEducationMeRubric.md index 093355d11d5..fe11d4f9b94 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationMeRubric.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationMeRubric.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationMeRubric -EducationRubricId $educationRubricId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationMeRubric ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationMeSchool.md b/src/Education/Education/examples/v1.0/Get-MgEducationMeSchool.md index 093355d11d5..b134c653003 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationMeSchool.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationMeSchool.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationMeSchool ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationSchool.md b/src/Education/Education/examples/v1.0/Get-MgEducationSchool.md index 093355d11d5..630a6bfe850 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationSchool.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationSchool.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationSchool -EducationSchoolId $educationSchoolId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationSchool ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolClass.md b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolClass.md index 093355d11d5..b638053c92b 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolClass.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolClass.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationSchoolClass -EducationSchoolId $educationSchoolId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolDelta.md index 093355d11d5..ae748a5b1ac 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolDelta.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationSchoolDelta ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolUser.md b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolUser.md index 093355d11d5..d60a920e7c4 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolUser.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolUser.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationSchoolUser -EducationSchoolId $educationSchoolId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationUser.md b/src/Education/Education/examples/v1.0/Get-MgEducationUser.md index 093355d11d5..b4f1cb286c7 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationUser.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationUser.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationUser -EducationUserId $educationUserId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationUser ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationUserAssignment.md b/src/Education/Education/examples/v1.0/Get-MgEducationUserAssignment.md index 093355d11d5..e60d9f97bb7 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationUserAssignment.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationUserAssignment.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationUserAssignment -EducationUserId $educationUserId -ExpandProperty "submissions" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationUserAssignment -EducationUserId $educationUserId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationUserDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationUserDelta.md index 093355d11d5..7882c512fae 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationUserDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationUserDelta.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationUserDelta ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationUserTaughtClass.md b/src/Education/Education/examples/v1.0/Get-MgEducationUserTaughtClass.md index 093355d11d5..4445eb2f79e 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationUserTaughtClass.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationUserTaughtClass.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Get-MgEducationUserTaughtClass -EducationUserId $educationUserId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +Get-MgEducationUserTaughtClass -EducationUserId $educationUserId -OutFile $outFileId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Invoke-MgReassignEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Invoke-MgReassignEducationClassAssignmentSubmission.md index 093355d11d5..aed32b709bc 100644 --- a/src/Education/Education/examples/v1.0/Invoke-MgReassignEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Invoke-MgReassignEducationClassAssignmentSubmission.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Invoke-MgReassignEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +Invoke-MgReassignEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Invoke-MgReturnEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Invoke-MgReturnEducationClassAssignmentSubmission.md index 093355d11d5..51b992b6910 100644 --- a/src/Education/Education/examples/v1.0/Invoke-MgReturnEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Invoke-MgReturnEducationClassAssignmentSubmission.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Invoke-MgReturnEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Invoke-MgUnsubmitEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Invoke-MgUnsubmitEducationClassAssignmentSubmission.md index 093355d11d5..568ea1c886d 100644 --- a/src/Education/Education/examples/v1.0/Invoke-MgUnsubmitEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Invoke-MgUnsubmitEducationClassAssignmentSubmission.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Invoke-MgUnsubmitEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClass.md b/src/Education/Education/examples/v1.0/New-MgEducationClass.md index 093355d11d5..d46ccb538dc 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClass.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClass.md @@ -1,18 +1,23 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + "@odata.type" = "#microsoft.graph.educationClass" + DisplayName = "String" + MailNickname = "String" + Description = "String" + CreatedBy = @{ + "@odata.type" = "microsoft.graph.identitySet" + } + ClassCode = "String" + ExternalName = "String" + ExternalId = "String" + ExternalSource = "String" + ExternalSourceDetail = "String" + Grade = "String" + Term = @{ + "@odata.type" = "microsoft.graph.educationTerm" + } +} +New-MgEducationClass -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignment.md index 093355d11d5..6c51c8be273 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignment.md @@ -1,18 +1,22 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + DueDateTime = [System.DateTime]::Parse("2021-09-07T00:00:00Z") + DisplayName = "Reading test 09.03 #4" + Instructions = @{ + ContentType = "text" + Content = "Read chapter 4" + } + Grading = @{ + "@odata.type" = "#microsoft.graph.educationAssignmentGradeType" + MaxPoints = + } + AssignTo = @{ + "@odata.type" = "#microsoft.graph.educationAssignmentGradeType" + } + Status = "draft" + AllowStudentsToAddResourcesToSubmission = $true +} +New-MgEducationClassAssignment -EducationClassId $educationClassId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategory.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategory.md index 093355d11d5..dd67f439257 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategory.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategory.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + DisplayName = "Quizzes" +} +New-MgEducationClassAssignmentCategory -EducationClassId $educationClassId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategoryByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategoryByRef.md index 093355d11d5..f126dc32273 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategoryByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategoryByRef.md @@ -1,18 +1,16 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignmentCategories/ec98f158-341d-4fea-9f8c-14a250d489ac" +} +New-MgEducationClassAssignmentCategoryByRef -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignmentCategories/ec98f158-341d-4fea-9f8c-14a250d489ac" +} +New-MgEducationClassAssignmentCategoryByRef -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentResource.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentResource.md index 093355d11d5..752fd34ad6a 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentResource.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentResource.md @@ -1,18 +1,78 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Education +$params = @{ + DistributeForStudentWork = $false + Resource = @{ + "@odata.type" = "microsoft.graph.educationExcelResource" + DisplayName = "Graph Doc pages.xlsx" + FileUrl = "https://graph.microsoft.com/v1.0/drives/b!OPmUsPgnBUiMIXMxWcj3neC1xck6I5NIsnFxfrLdmXoOOmEQNO79QpIMPdOmY3nf/items/01QTY63RIR7PSV4JJSFJHKNPUVUWGPW4O2" + } +} +New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +$params = @{ + DistributeForStudentWork = $false + Resource = @{ + DisplayName = "article.pdf" + "@odata.type" = "#microsoft.graph.educationFileResource" + } +} +New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Education +$params = @{ + DistributeForStudentWork = $false + Resource = @{ + DisplayName = "Where the Wonders of Learning Never Cease | Wonderopolis" + Link = "https://wonderopolis.org/" + ThumbnailPreviewUrl = $null + "@odata.type" = "#microsoft.graph.educationLinkResource" + } +} +New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Education +$params = @{ + DistributeForStudentWork = $false + Resource = @{ + "@odata.type" = "microsoft.graph.educationMediaResource" + DisplayName = "homework example.PNG" + FileUrl = "https://graph.microsoft.com/v1.0/drives/b!OPmUsPgnBUiMIXMxWcj3neC1xck6I5NIsnFxfrLdmXoOOmEQNO79QpIMPdOmY3nf/items/01QTY63RMUWOKAGSJZ6BHINJVKNMOOJABF" + } +} +New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Education +$params = @{ + DistributeForStudentWork = $false + Resource = @{ + "@odata.type" = "microsoft.graph.educationPowerPointResource" + DisplayName = "state diagram.pptx" + FileUrl = "https://graph.microsoft.com/v1.0/drives/b!OPmUsPgnBUiMIXMxWcj3neC1xck6I5NIsnFxfrLdmXoOOmEQNO79QpIMPdOmY3nf/items/01QTY63RN327OXRN6EVFE2Q5FRJZTN5EOJ" + } +} +New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params +``` +###Example 6 +``` +Import-Module Microsoft.Graph.Education +$params = @{ + DistributeForStudentWork = $false + Resource = @{ + "@odata.type" = "microsoft.graph.educationWordResource" + DisplayName = "Issues and PR in guthub.docx" + FileUrl = "https://graph.microsoft.com/v1.0/drives/b!DPA6q59Tw0mtgmyXRUmrQRqBZTesG-lMkl1cBmvvMeUEWrOk89nKRpUEr4ZhNYBc/items/016XPCQEELISJB7NVNVBAK7V4UIF6Q27U2" + } +} +New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params +``` diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentSubmissionResource.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentSubmissionResource.md index 093355d11d5..233f6349b61 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentSubmissionResource.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentSubmissionResource.md @@ -1,18 +1,72 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Education +$params = @{ + Resource = @{ + "@odata.type" = "#microsoft.graph.educationExcelResource" + DisplayName = "userAgeGroup QueryParameter Test.xlsx" + FileUrl = "https://graph.microsoft.com/v1.0/drives/b!OPmUsPgnBUiMIXMxWcj3neC1xck6I5NIsnFxfrLdmXodJYOAkI7rTLhw7ME_e42J/items/01QTY63RONPUDM2CZKNRF3TGHYUM7Z64WE" + } +} +New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +$params = @{ + Resource = @{ + DisplayName = "_FTP_EDC-61424749-250820211136.pdf" + FileUrl = "https://graph.microsoft.com/v1.0/drives/b!OPmUsPgnBUiMIXMxWcj3neC1xck6I5NIsnFxfrLdmXodJYOAkI7rTLhw7ME_e42J/items/01QTY63RL45XVPGDBRW5FLDR62Z5TCMGG3" + "@odata.type" = "#microsoft.graph.educationFileResource" + } +} +New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Education +$params = @{ + Resource = @{ + DisplayName = "Wikipedia" + Link = "https://en.wikipedia.org/wiki/Main_Page" + "@odata.type" = "#microsoft.graph.educationLinkResource" + } +} +New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Education +$params = @{ + Resource = @{ + DisplayName = "category.jpg" + FileUrl = "https://graph.microsoft.com/v1.0/drives/b!OPmUsPgnBUiMIXMxWcj3neC1xck6I5NIsnFxfrLdmXodJYOAkI7rTLhw7ME_e42J/items/01QTY63RK2WLKUUBAA4ZBKXNBL6QFC2TKG" + "@odata.type" = "#microsoft.graph.educationMediaResource" + } +} +New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Education +$params = @{ + Resource = @{ + "@odata.type" = "#microsoft.graph.educationPowerPointResource" + DisplayName = "state diagram.pptx" + FileUrl = "https://graph.microsoft.com/v1.0/drives/b!OPmUsPgnBUiMIXMxWcj3neC1xck6I5NIsnFxfrLdmXodJYOAkI7rTLhw7ME_e42J/items/01QTY63RN3MHWWM7BNXJD2UD5OMRFEDKN2" + } +} +New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params +``` +###Example 6 +``` +Import-Module Microsoft.Graph.Education +$params = @{ + Resource = @{ + "@odata.type" = "microsoft.graph.educationWordResource" + DisplayName = "Report.docx" + FileUrl = "https://graph.microsoft.com/v1.0/drives/b!DPA6q59Tw0mtgmyXRUmrQRqBZTesG-lMkl1cBmvvMeUEWrOk89nKRpUEr4ZhNYBc/items/016XPCQEELISJB7NVNVBAK7V4UIF6Q27U2" + } +} +New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params +``` diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassMemberByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationClassMemberByRef.md index 093355d11d5..16f084157ca 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassMemberByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassMemberByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/education/users/13015" +} +New-MgEducationClassMemberByRef -EducationClassId $educationClassId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassTeacherByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationClassTeacherByRef.md index 093355d11d5..96745bf2b1a 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassTeacherByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassTeacherByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/education/users/14011" +} +New-MgEducationClassTeacherByRef -EducationClassId $educationClassId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/New-MgEducationMeRubric.md b/src/Education/Education/examples/v1.0/New-MgEducationMeRubric.md index 093355d11d5..4f1da5b2e1e 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationMeRubric.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationMeRubric.md @@ -1,18 +1,153 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + DisplayName = "Example Credit Rubric" + Description = @{ + Content = "This is an example of a credit rubric (no points)" + ContentType = "text" + } + Levels = @( + @{ + DisplayName = "Good" + Description = @{ + Content = "" + ContentType = "text" + } + } + @{ + DisplayName = "Poor" + Description = @{ + Content = "" + ContentType = "text" + } + } + ) + Qualities = @( + @{ + Description = @{ + Content = "Argument" + ContentType = "text" + } + Criteria = @( + @{ + Description = @{ + Content = "The essay's argument is persuasive." + ContentType = "text" + } + } + @{ + Description = @{ + Content = "The essay's argument does not make sense." + ContentType = "text" + } + } + ) + } + @{ + Description = @{ + Content = "Spelling and Grammar" + ContentType = "text" + } + Criteria = @( + @{ + Description = @{ + Content = "The essay uses proper spelling and grammar with few or no errors." + ContentType = "text" + } + } + @{ + Description = @{ + Content = "The essay has numerous errors in spelling and/or grammar." + ContentType = "text" + } + } + ) + } + ) +} +New-MgEducationMeRubric -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +$params = @{ + DisplayName = "Example Points Rubric" + Description = @{ + Content = "This is an example of a rubric with points" + ContentType = "text" + } + Levels = @( + @{ + DisplayName = "Good" + Description = @{ + Content = "" + ContentType = "text" + } + Grading = @{ + "@odata.type" = "#microsoft.graph.educationAssignmentPointsGradeType" + MaxPoints = + } + } + @{ + DisplayName = "Poor" + Description = @{ + Content = "" + ContentType = "text" + } + Grading = @{ + "@odata.type" = "#microsoft.graph.educationAssignmentPointsGradeType" + MaxPoints = + } + } + ) + Qualities = @( + @{ + Description = @{ + Content = "Argument" + ContentType = "text" + } + Criteria = @( + @{ + Description = @{ + Content = "The essay's argument is persuasive." + ContentType = "text" + } + } + @{ + Description = @{ + Content = "The essay's argument does not make sense." + ContentType = "text" + } + } + ) + Weight = 50.0 + } + @{ + Description = @{ + Content = "Spelling and Grammar" + ContentType = "text" + } + Criteria = @( + @{ + Description = @{ + Content = "The essay uses proper spelling and grammar with few or no errors." + ContentType = "text" + } + } + @{ + Description = @{ + Content = "The essay has numerous errors in spelling and/or grammar." + ContentType = "text" + } + } + ) + Weight = 50.0 + } + ) + Grading = @{ + "@odata.type" = "#microsoft.graph.educationAssignmentPointsGradeType" + } +} +New-MgEducationMeRubric -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/New-MgEducationSchool.md b/src/Education/Education/examples/v1.0/New-MgEducationSchool.md index 093355d11d5..527a81056c4 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationSchool.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationSchool.md @@ -1,18 +1,27 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + "@odata.type" = "#microsoft.graph.educationSchool" + DisplayName = "String" + Description = "String" + ExternalSource = "String" + ExternalSourceDetail = "String" + PrincipalEmail = "String" + PrincipalName = "String" + ExternalPrincipalId = "String" + LowestGrade = "String" + HighestGrade = "String" + SchoolNumber = "String" + ExternalId = "String" + Phone = "String" + Fax = "String" + CreatedBy = @{ + "@odata.type" = "microsoft.graph.identitySet" + } + Address = @{ + "@odata.type" = "microsoft.graph.physicalAddress" + } +} +New-MgEducationSchool -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/New-MgEducationSchoolClassByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationSchoolClassByRef.md index 093355d11d5..8e4cbd5815f 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationSchoolClassByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationSchoolClassByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/education/classes/11006" +} +New-MgEducationSchoolClassByRef -EducationSchoolId $educationSchoolId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/New-MgEducationSchoolUserByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationSchoolUserByRef.md index 093355d11d5..c1387106586 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationSchoolUserByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationSchoolUserByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/education/users/14008" +} +New-MgEducationSchoolUserByRef -EducationSchoolId $educationSchoolId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/New-MgEducationUser.md b/src/Education/Education/examples/v1.0/New-MgEducationUser.md index 093355d11d5..b9e5d701ec6 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationUser.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationUser.md @@ -1,18 +1,67 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + "@odata.type" = "#microsoft.graph.educationUser" + PrimaryRole = "String" + MiddleName = "String" + ExternalSource = "String" + ExternalSourceDetail = "String" + ResidenceAddress = @{ + "@odata.type" = "microsoft.graph.physicalAddress" + } + MailingAddress = @{ + "@odata.type" = "microsoft.graph.physicalAddress" + } + Student = @{ + "@odata.type" = "microsoft.graph.educationStudent" + } + Teacher = @{ + "@odata.type" = "microsoft.graph.educationTeacher" + } + CreatedBy = @{ + "@odata.type" = "microsoft.graph.identitySet" + } + AccountEnabled = "Boolean" + AssignedLicenses = @( + @{ + "@odata.type" = "microsoft.graph.assignedLicense" + } + ) + AssignedPlans = @( + @{ + "@odata.type" = "microsoft.graph.assignedPlan" + } + ) + BusinessPhones = @( + "String" + ) + Department = "String" + DisplayName = "String" + GivenName = "String" + Mail = "String" + MailNickname = "String" + MobilePhone = "String" + PasswordPolicies = "String" + PasswordProfile = @{ + "@odata.type" = "microsoft.graph.passwordProfile" + } + OfficeLocation = "String" + PreferredLanguage = "String" + ProvisionedPlans = @( + @{ + "@odata.type" = "microsoft.graph.provisionedPlan" + } + ) + RefreshTokensValidFromDateTime = [System.DateTime]::Parse("String (timestamp)") + ShowInAddressList = "Boolean" + Surname = "String" + UsageLocation = "String" + UserPrincipalName = "String" + UserType = "String" + OnPremisesInfo = @{ + "@odata.type" = "microsoft.graph.educationOnPremisesInfo" + } +} +New-MgEducationUser -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Publish-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/Publish-MgEducationClassAssignment.md index 093355d11d5..5608c5b4727 100644 --- a/src/Education/Education/examples/v1.0/Publish-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/Publish-MgEducationClassAssignment.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Publish-MgEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClass.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClass.md index 093355d11d5..a394df2d598 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClass.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClass.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Remove-MgEducationClass -EducationClassId $educationClassId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignment.md index 093355d11d5..541af643858 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignment.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Remove-MgEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategory.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategory.md index 093355d11d5..e96614a85b7 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategory.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategory.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Remove-MgEducationClassAssignmentCategory -EducationClassId $educationClassId -EducationCategoryId $educationCategoryId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategoryByRef.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategoryByRef.md index 093355d11d5..ca77157721f 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategoryByRef.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategoryByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Remove-MgEducationClassAssignmentCategoryByRef -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationCategoryId $educationCategoryId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentResource.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentResource.md index 093355d11d5..a20d42d0520 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentResource.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentResource.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Remove-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentRubricByRef.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentRubricByRef.md index 093355d11d5..1c0a68851d9 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentRubricByRef.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentRubricByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Remove-MgEducationClassAssignmentRubricByRef -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentSubmissionResource.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentSubmissionResource.md index 093355d11d5..36d01782e56 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentSubmissionResource.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentSubmissionResource.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Remove-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationMeRubric.md b/src/Education/Education/examples/v1.0/Remove-MgEducationMeRubric.md index 093355d11d5..0c8be93183e 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationMeRubric.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationMeRubric.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Remove-MgEducationMeRubric -EducationRubricId $educationRubricId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationSchool.md b/src/Education/Education/examples/v1.0/Remove-MgEducationSchool.md index 093355d11d5..3b1c41bff92 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationSchool.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationSchool.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Remove-MgEducationSchool -EducationSchoolId $educationSchoolId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationUser.md b/src/Education/Education/examples/v1.0/Remove-MgEducationUser.md index 093355d11d5..1019b246d10 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationUser.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationUser.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Remove-MgEducationUser -EducationUserId $educationUserId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Set-MgEducationClassAssignmentRubricByRef.md b/src/Education/Education/examples/v1.0/Set-MgEducationClassAssignmentRubricByRef.md index 093355d11d5..dae2116dabd 100644 --- a/src/Education/Education/examples/v1.0/Set-MgEducationClassAssignmentRubricByRef.md +++ b/src/Education/Education/examples/v1.0/Set-MgEducationClassAssignmentRubricByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/education/me/rubrics/ceb3863e-6912-4ea9-ac41-3c2bb7b6672d" +} +Set-MgEducationClassAssignmentRubricByRef -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Submit-MgEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Submit-MgEducationClassAssignmentSubmission.md index 093355d11d5..a4c5c1baa94 100644 --- a/src/Education/Education/examples/v1.0/Submit-MgEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Submit-MgEducationClassAssignmentSubmission.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +Submit-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClass.md b/src/Education/Education/examples/v1.0/Update-MgEducationClass.md index 093355d11d5..ef8e208021e 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClass.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClass.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + Description = "History - World History 1" + DisplayName = "World History Level 1" +} +Update-MgEducationClass -EducationClassId $educationClassId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignment.md index 093355d11d5..0bccad3e4d8 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignment.md @@ -1,18 +1,14 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + DisplayName = "Reading and review test 09.03 #5" + Instructions = @{ + ContentType = "text" + Content = "Read chapter 5 and write your review" + } + DueDateTime = [System.DateTime]::Parse("2021-09-10T00:00:00Z") + AddedStudentAction = "none" +} +Update-MgEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentDefault.md b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentDefault.md index 093355d11d5..0e6e0bf4c0a 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentDefault.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentDefault.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + AddedStudentAction = "assignIfOpen" + NotificationChannelUrl = "https://graph.microsoft.com/beta/teams('acdefc6b-2dc6-4e71-b1e9-6d9810ab1793')/channels('3da03fc4-8eac-4459-84fb-1422dc01f65e')" +} +Update-MgEducationClassAssignmentDefault -EducationClassId $educationClassId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSetting.md b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSetting.md index 093355d11d5..83521834a40 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSetting.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSetting.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + SubmissionAnimationDisabled = $true +} +Update-MgEducationClassAssignmentSetting -EducationClassId $educationClassId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSubmissionOutcome.md b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSubmissionOutcome.md index 093355d11d5..8428822867f 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSubmissionOutcome.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSubmissionOutcome.md @@ -1,18 +1,32 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + "@odata.type" = "#microsoft.graph.educationFeedbackOutcome" +} +Update-MgEducationClassAssignmentSubmissionOutcome -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationOutcomeId $educationOutcomeId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Education +$params = @{ + "@odata.type" = "#microsoft.graph.educationRubricOutcome" + RubricQualityFeedback = @( + ) + RubricQualitySelectedLevels = @( + ) +} +Update-MgEducationClassAssignmentSubmissionOutcome -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationOutcomeId $educationOutcomeId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Education +$params = @{ + "@odata.type" = "#microsoft.graph.educationPointsOutcome" + Points = @{ + "@odata.type" = "#microsoft.graph.educationAssignmentPointsGrade" + Points = + } +} +Update-MgEducationClassAssignmentSubmissionOutcome -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationOutcomeId $educationOutcomeId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationMeRubric.md b/src/Education/Education/examples/v1.0/Update-MgEducationMeRubric.md index 093355d11d5..60b1a7342fd 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationMeRubric.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationMeRubric.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + DisplayName = "Example Credit Rubric after display name patch" +} +Update-MgEducationMeRubric -EducationRubricId $educationRubricId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationSchool.md b/src/Education/Education/examples/v1.0/Update-MgEducationSchool.md index 093355d11d5..880e9a84990 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationSchool.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationSchool.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + DisplayName = "Fabrikam Arts High School" + Description = "Magnate school for the arts. Los Angeles School District" +} +Update-MgEducationSchool -EducationSchoolId $educationSchoolId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationUser.md b/src/Education/Education/examples/v1.0/Update-MgEducationUser.md index 093355d11d5..232b65a7856 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationUser.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationUser.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Education +$params = @{ + DisplayName = "Rogelio Cazares" + GivenName = "Rogelio" + MiddleName = "Fernando" + Surname = "Cazares" +} +Update-MgEducationUser -EducationUserId $educationUserId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Files/Files/examples/v1.0/Get-MgDrive.md b/src/Files/Files/examples/v1.0/Get-MgDrive.md index 093355d11d5..fab4aef6cab 100644 --- a/src/Files/Files/examples/v1.0/Get-MgDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgDrive.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Files +Get-MgDrive -DriveId $driveId ``` - -{{ Add description here }} - diff --git a/src/Files/Files/examples/v1.0/Get-MgDriveItemChild.md b/src/Files/Files/examples/v1.0/Get-MgDriveItemChild.md index 093355d11d5..be270ac3c54 100644 --- a/src/Files/Files/examples/v1.0/Get-MgDriveItemChild.md +++ b/src/Files/Files/examples/v1.0/Get-MgDriveItemChild.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Files +Get-MgDriveItemChild -DriveId $driveId -DriveItemId $driveItemId ``` - -{{ Add description here }} - diff --git a/src/Files/Files/examples/v1.0/Get-MgGroupDefaultDrive.md b/src/Files/Files/examples/v1.0/Get-MgGroupDefaultDrive.md index 093355d11d5..3e9c9f8f1df 100644 --- a/src/Files/Files/examples/v1.0/Get-MgGroupDefaultDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgGroupDefaultDrive.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Files +Get-MgGroupDefaultDrive -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Files/Files/examples/v1.0/Get-MgGroupDrive.md b/src/Files/Files/examples/v1.0/Get-MgGroupDrive.md index 093355d11d5..b7d1650fca3 100644 --- a/src/Files/Files/examples/v1.0/Get-MgGroupDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgGroupDrive.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Files +Get-MgGroupDrive -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Files/Files/examples/v1.0/Get-MgShareDriveItem.md b/src/Files/Files/examples/v1.0/Get-MgShareDriveItem.md index 093355d11d5..9dece84510a 100644 --- a/src/Files/Files/examples/v1.0/Get-MgShareDriveItem.md +++ b/src/Files/Files/examples/v1.0/Get-MgShareDriveItem.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Files +Get-MgShareDriveItem -SharedDriveItemId $sharedDriveItemId -ExpandProperty "children" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Files +Get-MgShareDriveItem -SharedDriveItemId $sharedDriveItemId ``` - -{{ Add description here }} - diff --git a/src/Files/Files/examples/v1.0/Get-MgShareSharedDriveItemSharedDriveItem.md b/src/Files/Files/examples/v1.0/Get-MgShareSharedDriveItemSharedDriveItem.md index 093355d11d5..e9fbb0965a5 100644 --- a/src/Files/Files/examples/v1.0/Get-MgShareSharedDriveItemSharedDriveItem.md +++ b/src/Files/Files/examples/v1.0/Get-MgShareSharedDriveItemSharedDriveItem.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Files +Get-MgShareSharedDriveItemSharedDriveItem -SharedDriveItemId $sharedDriveItemId ``` - -{{ Add description here }} - diff --git a/src/Files/Files/examples/v1.0/Get-MgUserDefaultDrive.md b/src/Files/Files/examples/v1.0/Get-MgUserDefaultDrive.md index 093355d11d5..498ad5fb2fe 100644 --- a/src/Files/Files/examples/v1.0/Get-MgUserDefaultDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgUserDefaultDrive.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Files +Get-MgUserDefaultDrive -UserId $userId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Files +# A UPN can also be used as -UserId. +Get-MgUserDefaultDrive -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Files/Files/examples/v1.0/Get-MgUserDrive.md b/src/Files/Files/examples/v1.0/Get-MgUserDrive.md index 093355d11d5..bb564bfecb9 100644 --- a/src/Files/Files/examples/v1.0/Get-MgUserDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgUserDrive.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Files +# A UPN can also be used as -UserId. +Get-MgUserDrive -UserId $userId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Files +Get-MgUserDrive -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Files/Files/examples/v1.0/Grant-MgSharePermission.md b/src/Files/Files/examples/v1.0/Grant-MgSharePermission.md index 093355d11d5..658087df1d4 100644 --- a/src/Files/Files/examples/v1.0/Grant-MgSharePermission.md +++ b/src/Files/Files/examples/v1.0/Grant-MgSharePermission.md @@ -1,18 +1,18 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Files +$params = @{ + Recipients = @( + @{ + Email = "john@contoso.com" + } + @{ + Email = "ryan@external.com" + } + ) + Roles = @( + "read" + ) +} +Grant-MgSharePermission -SharedDriveItemId $sharedDriveItemId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Files/Files/examples/v1.0/Invoke-MgCheckinDriveItem.md b/src/Files/Files/examples/v1.0/Invoke-MgCheckinDriveItem.md index 093355d11d5..85606061111 100644 --- a/src/Files/Files/examples/v1.0/Invoke-MgCheckinDriveItem.md +++ b/src/Files/Files/examples/v1.0/Invoke-MgCheckinDriveItem.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Files +$params = @{ + Comment = "Updating the latest guidelines" +} +Invoke-MgCheckinDriveItem -DriveId $driveId -DriveItemId $driveItemId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Files/Files/examples/v1.0/Invoke-MgCheckoutDriveItem.md b/src/Files/Files/examples/v1.0/Invoke-MgCheckoutDriveItem.md index 093355d11d5..0dc67e4adae 100644 --- a/src/Files/Files/examples/v1.0/Invoke-MgCheckoutDriveItem.md +++ b/src/Files/Files/examples/v1.0/Invoke-MgCheckoutDriveItem.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Files +Invoke-MgCheckoutDriveItem -DriveId $driveId -DriveItemId $driveItemId ``` - -{{ Add description here }} - diff --git a/src/Files/Files/examples/v1.0/Restore-MgDriveItemVersion.md b/src/Files/Files/examples/v1.0/Restore-MgDriveItemVersion.md index 093355d11d5..d029216194e 100644 --- a/src/Files/Files/examples/v1.0/Restore-MgDriveItemVersion.md +++ b/src/Files/Files/examples/v1.0/Restore-MgDriveItemVersion.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Files +Restore-MgDriveItemVersion -DriveId $driveId -DriveItemId $driveItemId -DriveItemVersionId $driveItemVersionId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Add-MgGroupFavorite.md b/src/Groups/Groups/examples/v1.0/Add-MgGroupFavorite.md index 093355d11d5..34527356592 100644 --- a/src/Groups/Groups/examples/v1.0/Add-MgGroupFavorite.md +++ b/src/Groups/Groups/examples/v1.0/Add-MgGroupFavorite.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Add-MgGroupFavorite -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupAcceptedSender.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupAcceptedSender.md index 093355d11d5..7644fd65823 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupAcceptedSender.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupAcceptedSender.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Get-MgGroupAcceptedSender -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupConversation.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupConversation.md index 093355d11d5..6e67784d7c9 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupConversation.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupConversation.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Get-MgGroupConversation -GroupId $groupId -ConversationId $conversationId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Groups +Get-MgGroupConversation -GroupId $groupId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Groups +Get-MgGroupConversation -GroupId $groupId -ConversationId $conversationId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupConversationThread.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupConversationThread.md index 093355d11d5..9aee00cc81c 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupConversationThread.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupConversationThread.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Get-MgGroupConversationThread -GroupId $groupId -ConversationId $conversationId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupDelta.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupDelta.md index 093355d11d5..d812b8ecced 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupDelta.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupDelta.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Get-MgGroupDelta ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicy.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicy.md index 093355d11d5..e7c7119b5a8 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicy.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicy.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Get-MgGroupLifecyclePolicy -GroupLifecyclePolicyId $groupLifecyclePolicyId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Groups +Get-MgGroupLifecyclePolicy ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicyByGroup.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicyByGroup.md index 093355d11d5..d82b10d4a09 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicyByGroup.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicyByGroup.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Get-MgGroupLifecyclePolicyByGroup -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupMemberOf.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupMemberOf.md index 093355d11d5..93dd64f3737 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupMemberOf.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupMemberOf.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Get-MgGroupMemberOf -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupPermissionGrant.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupPermissionGrant.md index 093355d11d5..2583ff8356f 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupPermissionGrant.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupPermissionGrant.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Get-MgGroupPermissionGrant -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupPhoto.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupPhoto.md index 093355d11d5..213ebf358ff 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupPhoto.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupPhoto.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Get-MgGroupPhoto -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupRejectedSender.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupRejectedSender.md index 093355d11d5..24c1c1e0f40 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupRejectedSender.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupRejectedSender.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Get-MgGroupRejectedSender -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupThread.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupThread.md index 093355d11d5..e94dc275224 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupThread.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Get-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Groups +Get-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Groups +Get-MgGroupThread -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPost.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPost.md index 093355d11d5..cd071dbc071 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPost.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPost.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Get-MgGroupThreadPost -GroupId $groupId -ConversationThreadId $conversationThreadId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostAttachment.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostAttachment.md index 093355d11d5..452a7b9cc6c 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostAttachment.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostAttachment.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Get-MgGroupThreadPostAttachment -GroupId $groupId -ConversationThreadId $conversationThreadId -PostId $postId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostExtension.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostExtension.md index 093355d11d5..985a15bdb9c 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostExtension.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostExtension.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Get-MgGroupThreadPostExtension -GroupId $groupId -ConversationThreadId $conversationThreadId -PostId $postId -ExtensionId $extensionId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMember.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMember.md index 093355d11d5..3999affc1ce 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMember.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMember.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Get-MgGroupTransitiveMember -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMemberOf.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMemberOf.md index 093355d11d5..4654953a4b5 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMemberOf.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMemberOf.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Get-MgGroupTransitiveMemberOf -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgForwardGroupThreadPost.md b/src/Groups/Groups/examples/v1.0/Invoke-MgForwardGroupThreadPost.md index 093355d11d5..c457653018c 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgForwardGroupThreadPost.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgForwardGroupThreadPost.md @@ -1,18 +1,16 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +$params = @{ + Comment = "comment-value" + ToRecipients = @( + @{ + EmailAddress = @{ + Name = "name-value" + Address = "address-value" + } + } + ) +} +Invoke-MgForwardGroupThreadPost -GroupId $groupId -ConversationThreadId $conversationThreadId -PostId $postId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgGraphGroup.md b/src/Groups/Groups/examples/v1.0/Invoke-MgGraphGroup.md index 093355d11d5..18ddd979530 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgGraphGroup.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgGraphGroup.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Invoke-MgGraphGroup -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgRenewGroup.md b/src/Groups/Groups/examples/v1.0/Invoke-MgRenewGroup.md index 093355d11d5..dcd124925b9 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgRenewGroup.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgRenewGroup.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Invoke-MgRenewGroup -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThread.md b/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThread.md index 093355d11d5..0513ce5b321 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThread.md @@ -1,18 +1,79 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Groups +$params = @{ + Post = @{ + Body = @{ + ContentType = "" + Content = "content-value" + } + } +} +Invoke-MgReplyGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Groups +$params = @{ + Post = @{ + Body = @{ + ContentType = "text" + Content = "Which quarter does that file cover? See my attachment." + } + Attachments = @( + @{ + "@odata.type" = "#microsoft.graph.fileAttachment" + Name = "Another file as attachment" + ContentBytes = "VGhpcyBpcyBhIGZpbGUgdG8gYmUgYXR0YWNoZWQu" + } + ) + } +} +Invoke-MgReplyGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Groups +$params = @{ + Post = @{ + Body = @{ + ContentType = "text" + Content = "I attached an event." + } + Attachments = @( + @{ + "@odata.type" = "#microsoft.graph.itemAttachment" + Name = "Holiday event" + Item = @{ + "@odata.type" = "microsoft.graph.event" + Subject = "Discuss gifts for children" + } + } + ) + } +} +Invoke-MgReplyGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Groups +$params = @{ + Post = @{ + Body = @{ + ContentType = "text" + Content = "I attached a reference to a file on OneDrive." + } + Attachments = @( + @{ + "@odata.type" = "#microsoft.graph.referenceAttachment" + Name = "Personal pictures" + SourceUrl = "https://contoso.com/personal/mario_contoso_net/Documents/Pics" + ProviderType = "oneDriveConsumer" + Permission = "Edit" + IsFolder = "True" + } + ) + } +} +Invoke-MgReplyGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId -BodyParameter $params +``` diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThreadPost.md b/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThreadPost.md index 093355d11d5..d96389b7728 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThreadPost.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThreadPost.md @@ -1,18 +1,57 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +$params = @{ + Post = @{ + Body = @{ + ContentType = "" + Content = "content-value" + } + ReceivedDateTime = [System.DateTime]::Parse("datetime-value") + HasAttachments = $true + From = @{ + EmailAddress = @{ + Name = "name-value" + Address = "address-value" + } + } + Sender = @{ + EmailAddress = @{ + Name = "name-value" + Address = "address-value" + } + } + ConversationThreadId = "conversationThreadId-value" + NewParticipants = @( + @{ + EmailAddress = @{ + Name = "name-value" + Address = "address-value" + } + } + ) + ConversationId = "conversationId-value" + CreatedDateTime = [System.DateTime]::Parse("datetime-value") + LastModifiedDateTime = [System.DateTime]::Parse("datetime-value") + ChangeKey = "changeKey-value" + Categories = @( + "categories-value" + ) + Id = "id-value" + InReplyTo = @{ + } + Attachments = @( + @{ + "@odata.type" = "#microsoft.graph.fileAttachment" + LastModifiedDateTime = [System.DateTime]::Parse("datetime-value") + Name = "name-value" + ContentType = "contentType-value" + Size = 99 + IsInline = $true + Id = "id-value" + } + ) + } +} +Invoke-MgReplyGroupThreadPost -GroupId $groupId -ConversationThreadId $conversationThreadId -PostId $postId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgSubscribeGroupByMail.md b/src/Groups/Groups/examples/v1.0/Invoke-MgSubscribeGroupByMail.md index 093355d11d5..2e460c73281 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgSubscribeGroupByMail.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgSubscribeGroupByMail.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Invoke-MgSubscribeGroupByMail -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupAcceptedSenderByRef.md b/src/Groups/Groups/examples/v1.0/New-MgGroupAcceptedSenderByRef.md index 093355d11d5..1896d7c37b4 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupAcceptedSenderByRef.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupAcceptedSenderByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/users/alexd@contoso.com" +} +New-MgGroupAcceptedSenderByRef -GroupId $groupId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupConversation.md b/src/Groups/Groups/examples/v1.0/New-MgGroupConversation.md index 093355d11d5..8057629ac64 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupConversation.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupConversation.md @@ -1,18 +1,28 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +$params = @{ + Topic = "Take your wellness days and rest" + Threads = @( + @{ + Posts = @( + @{ + Body = @{ + ContentType = "html" + Content = "Contoso cares about you: Rest and Recharge" + } + NewParticipants = @( + @{ + EmailAddress = @{ + Name = "Adele Vance" + Address = "AdeleV@contoso.onmicrosoft.com" + } + } + ) + } + ) + } + ) +} +New-MgGroupConversation -GroupId $groupId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupConversationThread.md b/src/Groups/Groups/examples/v1.0/New-MgGroupConversationThread.md index 093355d11d5..af7bd80bed2 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupConversationThread.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupConversationThread.md @@ -1,18 +1,16 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +$params = @{ + Topic = "Take your wellness days and rest" + Posts = @( + @{ + Body = @{ + ContentType = "html" + Content = "Waiting for the summer holidays." + } + } + ) +} +New-MgGroupConversationThread -GroupId $groupId -ConversationId $conversationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupLifecyclePolicy.md b/src/Groups/Groups/examples/v1.0/New-MgGroupLifecyclePolicy.md index 093355d11d5..1c5a0fe630a 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupLifecyclePolicy.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupLifecyclePolicy.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +$params = @{ + GroupLifetimeInDays = 100 + ManagedGroupTypes = "Selected" + AlternateNotificationEmails = "admin@contoso.com" +} +New-MgGroupLifecyclePolicy -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupMemberByRef.md b/src/Groups/Groups/examples/v1.0/New-MgGroupMemberByRef.md index 093355d11d5..efc0141f3ff 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupMemberByRef.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupMemberByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/directoryObjects/{id}" +} +New-MgGroupMemberByRef -GroupId $groupId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupRejectedSenderByRef.md b/src/Groups/Groups/examples/v1.0/New-MgGroupRejectedSenderByRef.md index 093355d11d5..c5af7343d75 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupRejectedSenderByRef.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupRejectedSenderByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/users/alexd@contoso.com" +} +New-MgGroupRejectedSenderByRef -GroupId $groupId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupThread.md b/src/Groups/Groups/examples/v1.0/New-MgGroupThread.md index 093355d11d5..b1355915b01 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupThread.md @@ -1,18 +1,24 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +$params = @{ + Topic = "New Conversation Thread Topic" + Posts = @( + @{ + Body = @{ + ContentType = "html" + Content = "this is body content" + } + NewParticipants = @( + @{ + EmailAddress = @{ + Name = "Alex Darrow" + Address = "alexd@contoso.com" + } + } + ) + } + ) +} +New-MgGroupThread -GroupId $groupId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupConversation.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupConversation.md index 093355d11d5..abc66c2632c 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupConversation.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupConversation.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Remove-MgGroupConversation -GroupId $groupId -ConversationId $conversationId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Groups +Remove-MgGroupConversation -GroupId $groupId -ConversationId $conversationId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupFavorite.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupFavorite.md index 093355d11d5..07f74040a53 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupFavorite.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupFavorite.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Remove-MgGroupFavorite -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupLifecyclePolicy.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupLifecyclePolicy.md index 093355d11d5..b450c415ef8 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupLifecyclePolicy.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupLifecyclePolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Remove-MgGroupLifecyclePolicy -GroupLifecyclePolicyId $groupLifecyclePolicyId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupMemberByRef.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupMemberByRef.md index 093355d11d5..97fe79427ff 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupMemberByRef.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupMemberByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Remove-MgGroupMemberByRef -GroupId $groupId -DirectoryObjectId $directoryObjectId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupOwnerByRef.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupOwnerByRef.md index 093355d11d5..0913c4c21a6 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupOwnerByRef.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupOwnerByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Remove-MgGroupOwnerByRef -GroupId $groupId -DirectoryObjectId $directoryObjectId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupThread.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupThread.md index 093355d11d5..8aef64283b4 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupThread.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Remove-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Groups +Remove-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Reset-MgGroupUnseenCount.md b/src/Groups/Groups/examples/v1.0/Reset-MgGroupUnseenCount.md index 093355d11d5..0ad2d1f4817 100644 --- a/src/Groups/Groups/examples/v1.0/Reset-MgGroupUnseenCount.md +++ b/src/Groups/Groups/examples/v1.0/Reset-MgGroupUnseenCount.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +Reset-MgGroupUnseenCount -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Set-MgGroupLicense.md b/src/Groups/Groups/examples/v1.0/Set-MgGroupLicense.md index 093355d11d5..617f34fb048 100644 --- a/src/Groups/Groups/examples/v1.0/Set-MgGroupLicense.md +++ b/src/Groups/Groups/examples/v1.0/Set-MgGroupLicense.md @@ -1,18 +1,37 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +$params = @{ + AddLicenses = @( + @{ + DisabledPlans = @( + "113feb6c-3fe4-4440-bddc-54d774bf0318" + "14ab5db5-e6c4-4b20-b4bc-13e36fd2227f" + ) + SkuId = "b05e124f-c7cc-45a0-a6aa-8cf78c946968" + } + @{ + DisabledPlans = @( + "a413a9ff-720c-4822-98ef-2f37c2a21f4c" + ) + SkuId = "c7df2760-2c81-4ef7-b578-5b5392b571df" + } + ) + RemoveLicenses = @( + ) +} +Set-MgGroupLicense -GroupId $groupId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Groups +$params = @{ + AddLicenses = @( + ) + RemoveLicenses = @( + "c7df2760-2c81-4ef7-b578-5b5392b571df" + "b05e124f-c7cc-45a0-a6aa-8cf78c946968" + ) +} +Set-MgGroupLicense -GroupId $groupId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Test-MgGroupProperty.md b/src/Groups/Groups/examples/v1.0/Test-MgGroupProperty.md index 093355d11d5..85f23366fa5 100644 --- a/src/Groups/Groups/examples/v1.0/Test-MgGroupProperty.md +++ b/src/Groups/Groups/examples/v1.0/Test-MgGroupProperty.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +$params = @{ + DisplayName = "Myprefix_test_mysuffix" + MailNickname = "Myprefix_test_mysuffix" + OnBehalfOfUserId = "onBehalfOfUserId-value" +} +Test-MgGroupProperty -GroupId $groupId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Update-MgGroupLifecyclePolicy.md b/src/Groups/Groups/examples/v1.0/Update-MgGroupLifecyclePolicy.md index 093355d11d5..569d2b8d2ad 100644 --- a/src/Groups/Groups/examples/v1.0/Update-MgGroupLifecyclePolicy.md +++ b/src/Groups/Groups/examples/v1.0/Update-MgGroupLifecyclePolicy.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +$params = @{ + GroupLifetimeInDays = 180 + ManagedGroupTypes = "Selected" + AlternateNotificationEmails = "admin@contoso.com" +} +Update-MgGroupLifecyclePolicy -GroupLifecyclePolicyId $groupLifecyclePolicyId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Update-MgGroupThread.md b/src/Groups/Groups/examples/v1.0/Update-MgGroupThread.md index 093355d11d5..f10d30c1ceb 100644 --- a/src/Groups/Groups/examples/v1.0/Update-MgGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/Update-MgGroupThread.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +$params = @{ + OriginalStartTimeZone = "originalStartTimeZone-value" + OriginalEndTimeZone = "originalEndTimeZone-value" + ICalUId = "iCalUId-value" + ReminderMinutesBeforeStart = + IsReminderOn = $true +} +Update-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Groups/Groups/examples/v1.0/Update-MgGroupThreadPostExtension.md b/src/Groups/Groups/examples/v1.0/Update-MgGroupThreadPostExtension.md index 093355d11d5..82de3695b66 100644 --- a/src/Groups/Groups/examples/v1.0/Update-MgGroupThreadPostExtension.md +++ b/src/Groups/Groups/examples/v1.0/Update-MgGroupThreadPostExtension.md @@ -1,18 +1,17 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Groups +$params = @{ + "@odata.type" = "Microsoft.OutlookServices.OpenTypeExtension" + ExtensionName = "Com.Contoso.Estimate" + CompanyName = "Contoso" + ExpirationDate = "2016-07-30T11:00:00.000Z" + DealValue = + TopPicks = @( + "Employees only" + "Add spouse or guest" + "Add family" + ) +} +Update-MgGroupThreadPostExtension -GroupId $groupId -ConversationThreadId $conversationThreadId -PostId $postId -ExtensionId $extensionId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Confirm-MgDomain.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Confirm-MgDomain.md index 093355d11d5..1ee7d030d42 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Confirm-MgDomain.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Confirm-MgDomain.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Confirm-MgDomain -DomainId $domainId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDelta.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDelta.md index 093355d11d5..1c8540f1a83 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDelta.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDelta.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgContactDelta ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDirectReport.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDirectReport.md index 093355d11d5..db6e6eb6974 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDirectReport.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDirectReport.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgContactDirectReport -OrgContactId $orgContactId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactManager.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactManager.md index 093355d11d5..09e50fd660d 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactManager.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactManager.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgContactManager -OrgContactId $orgContactId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactMemberOf.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactMemberOf.md index 093355d11d5..9eab4f752b1 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactMemberOf.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactMemberOf.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgContactMemberOf -OrgContactId $orgContactId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactTransitiveMemberOf.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactTransitiveMemberOf.md index 093355d11d5..f44af50f390 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactTransitiveMemberOf.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactTransitiveMemberOf.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgContactTransitiveMemberOf -OrgContactId $orgContactId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContract.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContract.md index 093355d11d5..4b0afd387b3 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContract.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContract.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgContract -ContractId $contractId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgContract ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDevice.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDevice.md index 093355d11d5..4dad12cbcf6 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDevice.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDevice.md @@ -1,18 +1,35 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDevice -Search "displayName:Android" -CountVariable CountVar -ConsistencyLevel eventual +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDevice -DeviceId $deviceId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDevice -DeviceId $deviceId -Property "id,extensionAttributes" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDevice -Filter "extensionAttributes/extensionAttribute1 eq 'BYOD-Device'" -CountVariable CountVar -ConsistencyLevel eventual +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDevice +``` +###Example 6 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDevice -Property "id,extensionAttributes" +``` +###Example 7 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDevice -Filter "startswith(displayName, 'a')" -CountVariable CountVar -Top 1 -Sort "displayName" -ConsistencyLevel eventual +``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceMemberOf.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceMemberOf.md index 093355d11d5..c78a81e4583 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceMemberOf.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceMemberOf.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDeviceMemberOf -DeviceId $deviceId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredOwner.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredOwner.md index 093355d11d5..c53147386bf 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredOwner.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredOwner.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDeviceRegisteredOwner -DeviceId $deviceId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredUser.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredUser.md index 093355d11d5..5d35fa550c0 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredUser.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredUser.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDeviceRegisteredUser -DeviceId $deviceId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceTransitiveMemberOf.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceTransitiveMemberOf.md index 093355d11d5..f766521fc61 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceTransitiveMemberOf.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceTransitiveMemberOf.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDeviceTransitiveMemberOf -DeviceId $deviceId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnit.md index 093355d11d5..6f346c1326d 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnit.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDirectoryAdministrativeUnit -AdministrativeUnitId $administrativeUnitId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDirectoryAdministrativeUnit ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMember.md index 093355d11d5..5dba57583dd 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMember.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDirectoryAdministrativeUnitMember -AdministrativeUnitId $administrativeUnitId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMemberByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMemberByRef.md index 093355d11d5..fdbeab6351d 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMemberByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMemberByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDirectoryAdministrativeUnitMemberByRef -AdministrativeUnitId $administrativeUnitId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitScopedRoleMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitScopedRoleMember.md index 093355d11d5..55c08516566 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitScopedRoleMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitScopedRoleMember.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDirectoryAdministrativeUnitScopedRoleMember -AdministrativeUnitId $administrativeUnitId -ScopedRoleMembershipId $scopedRoleMembershipId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDirectoryAdministrativeUnitScopedRoleMember -AdministrativeUnitId $administrativeUnitId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryFederationConfiguration.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryFederationConfiguration.md index 093355d11d5..e80ffb5a66e 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryFederationConfiguration.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryFederationConfiguration.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDirectoryFederationConfiguration -IdentityProviderBaseId $identityProviderBaseId -Filter "domains/any(x: x/id eq 'contoso.com')" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDirectoryFederationConfiguration -IdentityProviderBaseId $identityProviderBaseId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleDelta.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleDelta.md index 093355d11d5..ce43e0f9ae4 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleDelta.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleDelta.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDirectoryRoleDelta ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleScopedMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleScopedMember.md index 093355d11d5..056b76dcd36 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleScopedMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleScopedMember.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDirectoryRoleScopedMember -DirectoryRoleId $directoryRoleId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleTemplate.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleTemplate.md index 093355d11d5..afc76cfb24a 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleTemplate.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleTemplate.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDirectoryRoleTemplate -DirectoryRoleTemplateId $directoryRoleTemplateId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDirectoryRoleTemplate ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainNameReference.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainNameReference.md index 093355d11d5..d1be1ec8ed5 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainNameReference.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainNameReference.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDomainNameReference -DomainId $domainId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainServiceConfigurationRecord.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainServiceConfigurationRecord.md index 093355d11d5..252a57b52cd 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainServiceConfigurationRecord.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainServiceConfigurationRecord.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDomainServiceConfigurationRecord -DomainId $domainId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainVerificationDnsRecord.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainVerificationDnsRecord.md index 093355d11d5..db17d92164a 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainVerificationDnsRecord.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainVerificationDnsRecord.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgDomainVerificationDnsRecord -DomainId $domainId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganization.md index 093355d11d5..888da5ceaa6 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganization.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgOrganization -OrganizationId $organizationId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgOrganization ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBranding.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBranding.md index 093355d11d5..f7f4bb2c131 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBranding.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBranding.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgOrganizationBranding -OrganizationId $organizationId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgOrganizationBranding -OrganizationId $organizationId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgOrganizationBranding -OrganizationId $organizationId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalization.md index 093355d11d5..ee2bc998015 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalization.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgOrganizationBrandingLocalization -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgOrganizationBrandingLocalization -OrganizationId $organizationId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalizationBannerLogo.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalizationBannerLogo.md index 093355d11d5..78dedf8b4ed 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalizationBannerLogo.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalizationBannerLogo.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgOrganizationBrandingLocalizationBannerLogo -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgOrganizationBrandingLocalizationBannerLogo -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Get-MgOrganizationBrandingLocalizationBannerLogo -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId -OutFile $outFileId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Invoke-MgForceDomainDelete.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Invoke-MgForceDomainDelete.md index 093355d11d5..af2ca623e9c 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Invoke-MgForceDomainDelete.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Invoke-MgForceDomainDelete.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + DisableUserAccounts = $true +} +Invoke-MgForceDomainDelete -DomainId $domainId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDevice.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDevice.md index 093355d11d5..0227faad172 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDevice.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDevice.md @@ -1,18 +1,18 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + AccountEnabled = $false + AlternativeSecurityIds = @( + @{ + Type = 2 + Key = [System.Text.Encoding]::ASCII.GetBytes("base64Y3YxN2E1MWFlYw==") + } + ) + DeviceId = "4c299165-6e8f-4b45-a5ba-c5d250a707ff" + DisplayName = "Test device" + OperatingSystem = "linux" + OperatingSystemVersion = "1" +} +New-MgDevice -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredOwnerByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredOwnerByRef.md index 093355d11d5..add6d5db9fb 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredOwnerByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredOwnerByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/directoryObjects/{id}" +} +New-MgDeviceRegisteredOwnerByRef -DeviceId $deviceId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredUserByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredUserByRef.md new file mode 100644 index 00000000000..c4118303d6e --- /dev/null +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredUserByRef.md @@ -0,0 +1,8 @@ +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/directoryObjects/{id}" +} +New-MgDeviceRegisteredUserByRef -DeviceId $deviceId -BodyParameter $params +``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnit.md index 093355d11d5..d6ecde862be 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnit.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + DisplayName = "Seattle District Technical Schools" + Description = "Seattle district technical schools administration" + Visibility = "HiddenMembership" +} +New-MgDirectoryAdministrativeUnit -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitMemberByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitMemberByRef.md index 093355d11d5..105f638fef8 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitMemberByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitMemberByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/groups/{id}" +} +New-MgDirectoryAdministrativeUnitMemberByRef -AdministrativeUnitId $administrativeUnitId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitScopedRoleMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitScopedRoleMember.md index 093355d11d5..fe8f7007fe1 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitScopedRoleMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitScopedRoleMember.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + RoleId = "roleId-value" + RoleMemberInfo = @{ + Id = "id-value" + } +} +New-MgDirectoryAdministrativeUnitScopedRoleMember -AdministrativeUnitId $administrativeUnitId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryFederationConfiguration.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryFederationConfiguration.md index 093355d11d5..862b282661f 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryFederationConfiguration.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryFederationConfiguration.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + "@odata.type" = "microsoft.graph.samlOrWsFedExternalDomainFederation" + IssuerUri = "https://contoso.com/issuerUri" + DisplayName = "contoso display name" + MetadataExchangeUri = "https://contoso.com/metadataExchangeUri" + PassiveSignInUri = "https://contoso.com/signin" + PreferredAuthenticationProtocol = "wsFed" + Domains = @( + @{ + "@odata.type" = "microsoft.graph.externalDomainName" + Id = "contoso.com" + } + ) + SigningCertificate = "MIIDADCCAeigAwIBAgIQEX41y8r6" +} +New-MgDirectoryFederationConfiguration -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryRole.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryRole.md index 093355d11d5..ee0a63f81ba 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryRole.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryRole.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + RoleTemplateId = "fe930be7-5e62-47db-91af-98c3a49a38b1" +} +New-MgDirectoryRole -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDomain.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDomain.md index 093355d11d5..db69cded91d 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDomain.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDomain.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + Id = "contoso.com" +} +New-MgDomain -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgOrganizationBrandingLocalization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgOrganizationBrandingLocalization.md index 093355d11d5..bb39518dfc2 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgOrganizationBrandingLocalization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgOrganizationBrandingLocalization.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + BackgroundColor = "#00000F" + Id = "fr-FR" + SignInPageText = " " +} +New-MgOrganizationBrandingLocalization -OrganizationId $organizationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDevice.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDevice.md index 093355d11d5..15a20f3db1c 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDevice.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDevice.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Remove-MgDevice -DeviceId $deviceId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDeviceRegisteredOwnerByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDeviceRegisteredOwnerByRef.md index 093355d11d5..c49a0e6a01b 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDeviceRegisteredOwnerByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDeviceRegisteredOwnerByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Remove-MgDeviceRegisteredOwnerByRef -DeviceId $deviceId -DirectoryObjectId $directoryObjectId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnit.md index 093355d11d5..f089771ce80 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnit.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Remove-MgDirectoryAdministrativeUnit -AdministrativeUnitId $administrativeUnitId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitMemberByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitMemberByRef.md index 093355d11d5..aa0751b6ec7 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitMemberByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitMemberByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Remove-MgDirectoryAdministrativeUnitMemberByRef -AdministrativeUnitId $administrativeUnitId -DirectoryObjectId $directoryObjectId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitScopedRoleMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitScopedRoleMember.md index 093355d11d5..52537432b3f 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitScopedRoleMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitScopedRoleMember.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Remove-MgDirectoryAdministrativeUnitScopedRoleMember -AdministrativeUnitId $administrativeUnitId -ScopedRoleMembershipId $scopedRoleMembershipId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryDeletedItem.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryDeletedItem.md index 093355d11d5..4f7f08f2468 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryDeletedItem.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryDeletedItem.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Remove-MgDirectoryDeletedItem -DirectoryObjectId $directoryObjectId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryFederationConfiguration.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryFederationConfiguration.md index 093355d11d5..08095e43324 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryFederationConfiguration.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryFederationConfiguration.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Remove-MgDirectoryFederationConfiguration -IdentityProviderBaseId $identityProviderBaseId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryRoleMemberByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryRoleMemberByRef.md index 093355d11d5..2c31e462dad 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryRoleMemberByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryRoleMemberByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Remove-MgDirectoryRoleMemberByRef -DirectoryRoleId $directoryRoleId -DirectoryObjectId $directoryObjectId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDomain.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDomain.md index 093355d11d5..a969eae3d08 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDomain.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDomain.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Remove-MgDomain -DomainId $domainId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgOrganizationBrandingLocalization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgOrganizationBrandingLocalization.md index 093355d11d5..1c66b7edbf9 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgOrganizationBrandingLocalization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgOrganizationBrandingLocalization.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Remove-MgOrganizationBrandingLocalization -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Restore-MgDirectoryDeletedItem.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Restore-MgDirectoryDeletedItem.md index 093355d11d5..c01fa812ef4 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Restore-MgDirectoryDeletedItem.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Restore-MgDirectoryDeletedItem.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +Restore-MgDirectoryDeletedItem -DirectoryObjectId $directoryObjectId ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDevice.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDevice.md index 093355d11d5..9271187289f 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDevice.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDevice.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ +} +Update-MgDevice -DeviceId $deviceId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + AccountEnabled = $false +} +Update-MgDevice -DeviceId $deviceId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDirectoryAdministrativeUnit.md index 093355d11d5..6074593d50a 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDirectoryAdministrativeUnit.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + DisplayName = "Greater Seattle District Technical Schools" +} +Update-MgDirectoryAdministrativeUnit -AdministrativeUnitId $administrativeUnitId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDomain.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDomain.md index 093355d11d5..bca90a06da5 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDomain.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDomain.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + IsDefault = $true + SupportedServices = @( + "Email" + "OfficeCommunicationsOnline" + ) +} +Update-MgDomain -DomainId $domainId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganization.md index 093355d11d5..a0be74a473a 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganization.md @@ -1,18 +1,23 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + MarketingNotificationEmails = @( + "marketing@contoso.com" + ) + PrivacyProfile = @{ + ContactEmail = "alice@contoso.com" + StatementUrl = "https://contoso.com/privacyStatement" + } + SecurityComplianceNotificationMails = @( + "security@contoso.com" + ) + SecurityComplianceNotificationPhones = @( + "(123) 456-7890" + ) + TechnicalNotificationMails = @( + "tech@contoso.com" + ) +} +Update-MgOrganization -OrganizationId $organizationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBranding.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBranding.md index 093355d11d5..31cdb393207 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBranding.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBranding.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + SignInPageText = "Default" + UsernameHintText = "DefaultHint" +} +Update-MgOrganizationBranding -OrganizationId $organizationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBrandingLocalization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBrandingLocalization.md index 093355d11d5..9140f41b6a9 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBrandingLocalization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBrandingLocalization.md @@ -1,18 +1,18 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + BackgroundColor = "#00000F" + SignInPageText = "Welcome to Contoso France" +} +Update-MgOrganizationBrandingLocalization -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.DirectoryManagement +$params = @{ + SignInPageText = "Welcome to Contoso France." + UsernameHintText = " " +} +Update-MgOrganizationBrandingLocalization -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md index 093355d11d5..56d8a0e835e 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackage.md index 093355d11d5..67e840de2ba 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackage.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementAccessPackage -AccessPackageId $accessPackageId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementAccessPackage -AccessPackageId $accessPackageId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementAccessPackage ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement.md index 093355d11d5..d275618e370 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement -AccessPackageId $accessPackageId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage.md index 093355d11d5..3688d2a7122 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage -ApprovalId $approvalId -ApprovalStageId $approvalStageId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage -ApprovalId $approvalId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignment.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignment.md index 093355d11d5..51f3dda42dc 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignment.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignment.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementAssignment -AccessPackageAssignmentId $accessPackageAssignmentId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementAssignment -AccessPackageAssignmentId $accessPackageAssignmentId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementAssignment ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentPolicy.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentPolicy.md index 093355d11d5..14df80010c5 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentPolicy.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentPolicy.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementAssignmentPolicy -AccessPackageAssignmentPolicyId $accessPackageAssignmentPolicyId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementAssignmentPolicy ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentRequest.md index 093355d11d5..775739e3bf8 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentRequest.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementAssignmentRequest ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementCatalog.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementCatalog.md index 093355d11d5..41582dfbca3 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementCatalog.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementCatalog.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementCatalog -AccessPackageCatalogId $accessPackageCatalogId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementCatalog ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementConnectedOrganization.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementConnectedOrganization.md index 093355d11d5..b5cbe463678 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementConnectedOrganization.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementConnectedOrganization.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementConnectedOrganization -ConnectedOrganizationId $connectedOrganizationId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementConnectedOrganization ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementSetting.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementSetting.md index 093355d11d5..193763c4990 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementSetting.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementSetting.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgEntitlementManagementSetting ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinition.md index 093355d11d5..bb042016330 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinition.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinition -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinition -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinition -Filter "contains(scope/microsoft.graph.accessReviewQueryScope/query, './members')" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinition -Top 100 -Skip 0 +``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstance.md index 093355d11d5..8b4685157f4 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstance.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer.md index 093355d11d5..0e20a0b583c 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md index 093355d11d5..51ef4f61e97 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md index 093355d11d5..3ad77ece2c7 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md index 093355d11d5..621b63f4bd2 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinition.md index 093355d11d5..02bca7f9354 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinition.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewHistoryDefinition -AccessReviewHistoryDefinitionId $accessReviewHistoryDefinitionId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewHistoryDefinition ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance.md index 093355d11d5..7908cbdfe75 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance -AccessReviewHistoryDefinitionId $accessReviewHistoryDefinitionId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequest.md index 093355d11d5..694a8c138ab 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequest.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAppConsentRequest -AppConsentRequestId $appConsentRequestId -Filter "userConsentRequests/any(u:u/status eq 'InProgress')" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAppConsentRequest -AppConsentRequestId $appConsentRequestId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAppConsentRequest +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAppConsentRequest -Filter "userConsentRequests/any (u:u/status eq 'InProgress')" +``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest.md index 093355d11d5..3cb8c6a371f 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest -AppConsentRequestId $appConsentRequestId -UserConsentRequestId $userConsentRequestId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest -AppConsentRequestId $appConsentRequestId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest -AppConsentRequestId $appConsentRequestId -UserConsentRequestId $userConsentRequestId -Filter " (status eq 'Completed')" ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreement.md index 093355d11d5..013806de090 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreement.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId -ExpandProperty "files" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceTermOfUseAgreement +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId -ExpandProperty "files" +``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreementFile.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreementFile.md index 093355d11d5..3e657fc38f2 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreementFile.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreementFile.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Get-MgIdentityGovernanceTermOfUseAgreementFile -AgreementId $agreementId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgUserAgreementAcceptance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgUserAgreementAcceptance.md index 093355d11d5..a2935072333 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgUserAgreementAcceptance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgUserAgreementAcceptance.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +# A UPN can also be used as -UserId. +Get-MgUserAgreementAcceptance -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md index 093355d11d5..a99e291cf92 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md index 093355d11d5..7906af2cc19 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + Decision = "Approve" + Justification = "All principals with access need continued access to the resource (Marketing Group) as all the principals are on the marketing team" + ResourceId = "a5c51e59-3fcd-4a37-87a1-835c0c21488a" +} +Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAccessPackage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAccessPackage.md index 093355d11d5..1df13792843 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAccessPackage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAccessPackage.md @@ -1,18 +1,13 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + DisplayName = "sales reps" + Description = "outside sales representatives" + IsHidden = $false + Catalog = @{ + Id = "66584aae-98bb-48cc-9458-7bee5d2a6577" + } +} +New-MgEntitlementManagementAccessPackage -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentPolicy.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentPolicy.md index 093355d11d5..90fd07ac578 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentPolicy.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentPolicy.md @@ -1,18 +1,155 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + DisplayName = "policy for external access requests" + Description = "policy for users from connected organizations to request access, with two stages of approval." + AllowedTargetScope = "allConfiguredConnectedOrganizationUsers" + SpecificAllowedTargets = @( + ) + Expiration = @{ + Type = "noExpiration" + } + RequestorSettings = @{ + EnableTargetsToSelfAddAccess = $true + EnableTargetsToSelfUpdateAccess = $true + EnableTargetsToSelfRemoveAccess = $true + AllowCustomAssignmentSchedule = $false + EnableOnBehalfRequestorsToAddAccess = $false + EnableOnBehalfRequestorsToUpdateAccess = $false + EnableOnBehalfRequestorsToRemoveAccess = $false + OnBehalfRequestors = @( + ) + } + RequestApprovalSettings = @{ + IsApprovalRequiredForAdd = $true + IsApprovalRequiredForUpdate = $false + Stages = @( + @{ + DurationBeforeAutomaticDenial = "P14D" + IsApproverJustificationRequired = $false + IsEscalationEnabled = $false + DurationBeforeEscalation = "PT0S" + PrimaryApprovers = @( + @{ + "@odata.type" = "#microsoft.graph.internalSponsors" + } + ) + FallbackPrimaryApprovers = @( + @{ + "@odata.type" = "#microsoft.graph.singleUser" + UserId = "7deff43e-1f17-44ef-9e5f-d516b0ba11d4" + } + @{ + "@odata.type" = "#microsoft.graph.groupMembers" + GroupId = "1623f912-5e86-41c2-af47-39dd67582b66" + } + ) + EscalationApprovers = @( + ) + FallbackEscalationApprovers = @( + ) + } + @{ + DurationBeforeAutomaticDenial = "P14D" + IsApproverJustificationRequired = $false + IsEscalationEnabled = $false + DurationBeforeEscalation = "PT0S" + PrimaryApprovers = @( + ) + FallbackPrimaryApprovers = @( + @{ + "@odata.type" = "#microsoft.graph.singleUser" + UserId = "46184453-e63b-4f20-86c2-c557ed5d5df9" + } + @{ + "@odata.type" = "#microsoft.graph.groupMembers" + GroupId = "1623f912-5e86-41c2-af47-39dd67582b66" + } + ) + EscalationApprovers = @( + ) + FallbackEscalationApprovers = @( + ) + } + ) + } + ReviewSettings = @{ + IsEnabled = $true + ExpirationBehavior = "keepAccess" + IsRecommendationEnabled = $true + IsReviewerJustificationRequired = $true + IsSelfReview = $false + Schedule = @{ + StartDateTime = [System.DateTime]::Parse("2022-07-02T06:59:59.998Z") + Expiration = @{ + Duration = "P14D" + Type = "afterDuration" + } + Recurrence = @{ + Pattern = @{ + Type = "absoluteMonthly" + Interval = 3 + Month = 0 + DayOfMonth = 0 + DaysOfWeek = @( + ) + } + Range = @{ + Type = "noEnd" + NumberOfOccurrences = 0 + } + } + } + PrimaryReviewers = @( + @{ + "@odata.type" = "#microsoft.graph.groupMembers" + GroupId = "1623f912-5e86-41c2-af47-39dd67582b66" + } + ) + FallbackReviewers = @( + ) + } + AccessPackage = @{ + Id = "a2e1ca1e-4e56-47d2-9daa-e2ba8d12a82b" + } +} +New-MgEntitlementManagementAssignmentPolicy -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + DisplayName = "New Policy" + Description = "policy for assignment" + AllowedTargetScope = "notSpecified" + SpecificAllowedTargets = @( + ) + Expiration = @{ + EndDateTime = $null + Duration = $null + Type = "noExpiration" + } + RequestorSettings = @{ + EnableTargetsToSelfAddAccess = $false + EnableTargetsToSelfUpdateAccess = $false + EnableTargetsToSelfRemoveAccess = $false + AllowCustomAssignmentSchedule = $true + EnableOnBehalfRequestorsToAddAccess = $false + EnableOnBehalfRequestorsToUpdateAccess = $false + EnableOnBehalfRequestorsToRemoveAccess = $false + OnBehalfRequestors = @( + ) + } + RequestApprovalSettings = @{ + IsApprovalRequiredForAdd = $false + IsApprovalRequiredForUpdate = $false + Stages = @( + ) + } + AccessPackage = @{ + Id = "a2e1ca1e-4e56-47d2-9daa-e2ba8d12a82b" + } +} +New-MgEntitlementManagementAssignmentPolicy -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentRequest.md index 093355d11d5..443aa1da264 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentRequest.md @@ -1,18 +1,59 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + RequestType = "AdminAdd" + Assignment = @{ + TargetId = "46184453-e63b-4f20-86c2-c557ed5d5df9" + AssignmentPolicyId = "2264bf65-76ba-417b-a27d-54d291f0cbc8" + AccessPackageId = "a914b616-e04e-476b-aa37-91038f0b165b" + } +} +New-MgEntitlementManagementAssignmentRequest -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + RequestType = "AdminAdd" + Assignment = @{ + TargetId = "46184453-e63b-4f20-86c2-c557ed5d5df9" + AssignmentPolicyId = "2264bf65-76ba-417b-a27d-54d291f0cbc8" + AccessPackageId = "a914b616-e04e-476b-aa37-91038f0b165b" + } +} +New-MgEntitlementManagementAssignmentRequest -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + RequestType = "AdminRemove" + Assignment = @{ + Id = "a6bb6942-3ae1-4259-9908-0133aaee9377" + } +} +New-MgEntitlementManagementAssignmentRequest -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + RequestType = "userAdd" + Assignment = @{ + AccessPackageId = "d7be3253-b9c6-4fab-adef-30d30de8da2b" + } +} +New-MgEntitlementManagementAssignmentRequest -BodyParameter $params +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + RequestType = "userAdd" + Assignment = @{ + AccessPackageId = "d7be3253-b9c6-4fab-adef-30d30de8da2b" + } +} +New-MgEntitlementManagementAssignmentRequest -BodyParameter $params +``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementCatalog.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementCatalog.md index 093355d11d5..e5950625563 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementCatalog.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementCatalog.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + DisplayName = "sales" + Description = "for employees working with sales and outside sales partners" + State = "published" + IsExternallyVisible = $true +} +New-MgEntitlementManagementCatalog -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganization.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganization.md index 093355d11d5..7da3f63e48b 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganization.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganization.md @@ -1,18 +1,17 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + DisplayName = "Connected organization name" + Description = "Connected organization description" + IdentitySources = @( + @{ + "@odata.type" = "#microsoft.graph.domainIdentitySource" + DomainName = "example.com" + DisplayName = "example.com" + } + ) + State = "proposed" +} +New-MgEntitlementManagementConnectedOrganization -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md index 093355d11d5..dd0cd3f6b7f 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/users/{id}" +} +New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef -ConnectedOrganizationId $connectedOrganizationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md index 093355d11d5..689353c75d3 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/users/{id}" +} +New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef -ConnectedOrganizationId $connectedOrganizationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewDefinition.md index 093355d11d5..7d89db4d2b9 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewDefinition.md @@ -1,18 +1,229 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + DisplayName = "Review employee access to LinkedIn" + DescriptionForAdmins = "Review employee access to LinkedIn" + Scope = @{ + "@odata.type" = "#microsoft.graph.principalResourceMembershipsScope" + PrincipalScopes = @( + @{ + "@odata.type" = "#microsoft.graph.accessReviewQueryScope" + Query = "/users" + QueryType = "MicrosoftGraph" + } + ) + ResourceScopes = @( + @{ + "@odata.type" = "#microsoft.graph.accessReviewQueryScope" + Query = "/servicePrincipals/bae11f90-7d5d-46ba-9f55-8112b59d92ae" + QueryType = "MicrosoftGraph" + } + ) + } + Reviewers = @( + @{ + Query = "./manager" + QueryType = "MicrosoftGraph" + QueryRoot = "decisions" + } + ) + BackupReviewers = @( + ) + FallbackReviewers = @( + @{ + Query = "/groups/072ac5f4-3f13-4088-ab30-0a276f3e6322/transitiveMembers" + QueryType = "MicrosoftGraph" + } + ) + Settings = @{ + MailNotificationsEnabled = $true + ReminderNotificationsEnabled = $true + JustificationRequiredOnApproval = $true + DefaultDecisionEnabled = $true + DefaultDecision = "Recommendation" + InstanceDurationInDays = 180 + AutoApplyDecisionsEnabled = $true + RecommendationsEnabled = $true + Recurrence = @{ + Pattern = @{ + Type = "absoluteMonthly" + Interval = 6 + DayOfMonth = 0 + } + Range = @{ + Type = "numbered" + StartDate = "2021-05-05" + EndDate = "2022-05-05" + } + } + } +} +New-MgIdentityGovernanceAccessReviewDefinition -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + DisplayName = "Group Multi-stage Access Review" + DescriptionForAdmins = "New scheduled access review" + DescriptionForReviewers = "If you have any questions, contact jerry@contoso.com" + Scope = @{ + "@odata.type" = "#microsoft.graph.accessReviewQueryScope" + Query = "/groups/02f3bafb-448c-487c-88c2-5fd65ce49a41/transitiveMembers" + QueryType = "MicrosoftGraph" + } + StageSettings = @( + @{ + StageId = "1" + DurationInDays = 2 + RecommendationsEnabled = $false + DecisionsThatWillMoveToNextStage = @( + "NotReviewed" + "Approve" + ) + Reviewers = @( + @{ + Query = "/users/398164b1-5196-49dd-ada2-364b49f99b27" + QueryType = "MicrosoftGraph" + } + ) + } + @{ + StageId = "2" + DependsOn = @( + "1" + ) + DurationInDays = 2 + RecommendationsEnabled = $true + Reviewers = @( + @{ + Query = "./manager" + QueryType = "MicrosoftGraph" + QueryRoot = "decisions" + } + ) + FallbackReviewers = @( + @{ + Query = "/groups/072ac5f4-3f13-4088-ab30-0a276f3e6322/transitiveMembers" + QueryType = "MicrosoftGraph" + } + ) + } + ) + Settings = @{ + MailNotificationsEnabled = $true + ReminderNotificationsEnabled = $true + JustificationRequiredOnApproval = $true + DefaultDecisionEnabled = $false + DefaultDecision = "None" + InstanceDurationInDays = 4 + Recurrence = @{ + Pattern = @{ + Type = "weekly" + Interval = 1 + } + Range = @{ + Type = "noEnd" + StartDate = "2020-09-08T12:02:30.667Z" + } + } + DecisionHistoriesForReviewersEnabled = $true + } +} +New-MgIdentityGovernanceAccessReviewDefinition -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + DisplayName = "Review inactive guests on teams" + DescriptionForAdmins = "Control guest user access to our teams." + DescriptionForReviewers = "Information security is everyone's responsibility. Review our access policy for more." + InstanceEnumerationScope = @{ + "@odata.type" = "#microsoft.graph.accessReviewQueryScope" + Query = "/groups?$filter=(groupTypes/any(c:c+eq+'Unified') and resourceProvisioningOptions/Any(x:x eq 'Team')')" + QueryType = "MicrosoftGraph" + } + Scope = @{ + "@odata.type" = "#microsoft.graph.accessReviewInactiveUsersQueryScope" + Query = "./members/microsoft.graph.user/?$filter=(userType eq 'Guest')" + QueryType = "MicrosoftGraph" + InactiveDuration = "P30D" + } + Reviewers = @( + @{ + Query = "./owners" + QueryType = "MicrosoftGraph" + } + ) + FallbackReviewers = @( + @{ + Query = "/users/fc9a2c2b-1ddc-486d-a211-5fe8ca77fa1f" + QueryType = "MicrosoftGraph" + } + ) + Settings = @{ + MailNotificationsEnabled = $true + ReminderNotificationsEnabled = $true + JustificationRequiredOnApproval = $true + RecommendationsEnabled = $true + InstanceDurationInDays = 3 + Recurrence = @{ + Pattern = @{ + Type = "absoluteMonthly" + DayOfMonth = 5 + Interval = 3 + } + Range = @{ + Type = "noEnd" + StartDate = "2020-05-04T00:00:00.000Z" + } + } + DefaultDecisionEnabled = $true + DefaultDecision = "Deny" + AutoApplyDecisionsEnabled = $true + } +} +New-MgIdentityGovernanceAccessReviewDefinition -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + DisplayName = "Test create" + DescriptionForAdmins = "New scheduled access review" + DescriptionForReviewers = "If you have any questions, contact jerry@contoso.com" + Scope = @{ + "@odata.type" = "#microsoft.graph.accessReviewQueryScope" + Query = "/groups/02f3bafb-448c-487c-88c2-5fd65ce49a41/transitiveMembers" + QueryType = "MicrosoftGraph" + } + Reviewers = @( + @{ + Query = "/users/398164b1-5196-49dd-ada2-364b49f99b27" + QueryType = "MicrosoftGraph" + } + ) + Settings = @{ + MailNotificationsEnabled = $true + ReminderNotificationsEnabled = $true + JustificationRequiredOnApproval = $true + DefaultDecisionEnabled = $false + DefaultDecision = "None" + InstanceDurationInDays = 1 + RecommendationsEnabled = $true + Recurrence = @{ + Pattern = @{ + Type = "weekly" + Interval = 1 + } + Range = @{ + Type = "noEnd" + StartDate = "2020-09-08T12:02:30.667Z" + } + } + } +} +New-MgIdentityGovernanceAccessReviewDefinition -BodyParameter $params +``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinition.md index 093355d11d5..d3027417f12 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinition.md @@ -1,18 +1,43 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + DisplayName = "Last quarter's group reviews April 2021" + Decisions = @( + "approve" + "deny" + "dontKnow" + "notReviewed" + "notNotified" + ) + ScheduleSettings = @{ + ReportRange = "P1M" + Recurrence = @{ + Pattern = @{ + Type = "monthly" + Interval = 1 + } + Range = @{ + Type = "noEnd" + StartDate = "2018-08-03T21:02:30.667Z" + Count = + } + } + } + Scopes = @( + @{ + "@odata.type" = "#microsoft.graph.accessReviewQueryScope" + QueryType = "MicrosoftGraph" + Query = "/identityGovernance/accessReviews/definitions?$filter=contains(scope/query, 'accessPackageAssignments')" + QueryRoot = $null + } + @{ + "@odata.type" = "#microsoft.graph.accessReviewQueryScope" + QueryType = "MicrosoftGraph" + Query = "/identityGovernance/accessReviews/definitions?$filter=contains(scope/query, '/groups')" + QueryRoot = $null + } + ) +} +New-MgIdentityGovernanceAccessReviewHistoryDefinition -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md index 093355d11d5..08c396414b2 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri -AccessReviewHistoryDefinitionId $accessReviewHistoryDefinitionId -AccessReviewHistoryInstanceId $accessReviewHistoryInstanceId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceTermOfUseAgreement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceTermOfUseAgreement.md index 093355d11d5..31e7269ce2c 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceTermOfUseAgreement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceTermOfUseAgreement.md @@ -1,18 +1,19 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + DisplayName = "Contoso ToU for guest users" + IsViewingBeforeAcceptanceRequired = $true + Files = @( + @{ + FileName = "TOU.pdf" + Language = "en" + IsDefault = $true + FileData = @{ + Data = [System.Text.Encoding]::ASCII.GetBytes("SGVsbG8gd29ybGQ=//truncated-binary") + } + } + ) +} +New-MgIdentityGovernanceTermOfUseAgreement -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAccessPackage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAccessPackage.md index 093355d11d5..4579eb858c0 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAccessPackage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAccessPackage.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Remove-MgEntitlementManagementAccessPackage -AccessPackageId $accessPackageId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentPolicy.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentPolicy.md index 093355d11d5..a55444c1b78 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentPolicy.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentPolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Remove-MgEntitlementManagementAssignmentPolicy -AccessPackageAssignmentPolicyId $accessPackageAssignmentPolicyId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentRequest.md index 093355d11d5..61c4848393b 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentRequest.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Remove-MgEntitlementManagementAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementCatalog.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementCatalog.md index 093355d11d5..3007cf3ef8b 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementCatalog.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementCatalog.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Remove-MgEntitlementManagementCatalog -AccessPackageCatalogId $accessPackageCatalogId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganization.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganization.md index 093355d11d5..a268127d5cd 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganization.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganization.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Remove-MgEntitlementManagementConnectedOrganization -ConnectedOrganizationId $connectedOrganizationId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md index 093355d11d5..dc4a1a141a8 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef -ConnectedOrganizationId $connectedOrganizationId -DirectoryObjectId $directoryObjectId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md index 093355d11d5..2b93eb32048 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef -ConnectedOrganizationId $connectedOrganizationId -DirectoryObjectId $directoryObjectId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceAccessReviewDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceAccessReviewDefinition.md index 093355d11d5..f5ddfa4f75d 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceAccessReviewDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceAccessReviewDefinition.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Remove-MgIdentityGovernanceAccessReviewDefinition -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceTermOfUseAgreement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceTermOfUseAgreement.md index 093355d11d5..56a875b0865 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceTermOfUseAgreement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceTermOfUseAgreement.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Remove-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md index 093355d11d5..0f8abdf5165 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder.md index 093355d11d5..9b9354d6513 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgEntitlementManagementAssignmentRequest.md index 093355d11d5..3b368aadddc 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgEntitlementManagementAssignmentRequest.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Stop-MgEntitlementManagementAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstance.md index 093355d11d5..c8e7346958a 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstance.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Stop-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md index 093355d11d5..1d04471e2ef 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementAccessPackage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementAccessPackage.md index 093355d11d5..3815c72f460 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementAccessPackage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementAccessPackage.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + DisplayName = "Access Package New Name" +} +Update-MgEntitlementManagementAccessPackage -AccessPackageId $accessPackageId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementCatalog.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementCatalog.md index 093355d11d5..38173d3e788 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementCatalog.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementCatalog.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + DisplayName = "Catalog One" +} +Update-MgEntitlementManagementCatalog -AccessPackageCatalogId $accessPackageCatalogId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementConnectedOrganization.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementConnectedOrganization.md index 093355d11d5..5df04d2fef2 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementConnectedOrganization.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementConnectedOrganization.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + DisplayName = "Connected organization new name" + Description = "Connected organization new description" + State = "configured" +} +Update-MgEntitlementManagementConnectedOrganization -ConnectedOrganizationId $connectedOrganizationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementSetting.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementSetting.md index 093355d11d5..8c698048e8c 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementSetting.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementSetting.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + ExternalUserLifecycleAction = "None" +} +Update-MgEntitlementManagementSetting -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstance.md index 093355d11d5..9889e1fae72 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstance.md @@ -1,18 +1,45 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + Scope = @{ + "@odata.type" = "#microsoft.graph.principalResourceMembershipsScope" + PrincipalScopes = @( + @{ + "@odata.type" = "#microsoft.graph.accessReviewQueryScope" + Query = "/v1.0/users" + QueryType = "MicrosoftGraph" + } + @{ + "@odata.type" = "#microsoft.graph.accessReviewQueryScope" + Query = "/v1.0/groups" + QueryType = "MicrosoftGraph" + } + ) + ResourceScopes = @( + @{ + "@odata.type" = "#microsoft.graph.accessReviewQueryScope" + Query = "/beta/roleManagement/directory/roleDefinitions/9b895d92-2cd3-44c7-9d02-a6ac2d5ea5c3" + QueryType = "MicrosoftGraph" + } + ) + } + Reviewers = @( + @{ + Query = "/users/1ed8ac56-4827-4733-8f80-86adc2e67db5" + QueryType = "MicrosoftGraph" + } + ) + FallbackReviewers = @( + @{ + Query = "/users/4562bcc8-c436-4f95-b7c0-4f8ce89dca5e" + QueryType = "MicrosoftGraph" + } + @{ + Query = "/users/1ed8ac56-4827-4733-8f80-86adc2e67db5" + QueryType = "MicrosoftGraph" + } + ) +} +Update-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md index 093355d11d5..9bcc25487a1 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md @@ -1,18 +1,24 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + "@odata.type" = "#microsoft.graph.accessReviewStage" + Reviewers = @( + @{ + Query = "/users/1ed8ac56-4827-4733-8f80-86adc2e67db5" + QueryType = "MicrosoftGraph" + } + ) + FallbackReviewers = @( + @{ + Query = "/users/4562bcc8-c436-4f95-b7c0-4f8ce89dca5e" + QueryType = "MicrosoftGraph" + } + @{ + Query = "/users/1ed8ac56-4827-4733-8f80-86adc2e67db5" + QueryType = "MicrosoftGraph" + } + ) +} +Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md index 093355d11d5..df5b515f646 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md @@ -1,18 +1,27 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + Decision = "Approve" + Justification = "This person is still on my team" +} +Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + Decision = "Approve" + Justification = "This person is still on my team" +} +Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + Decision = "Approve" + Justification = "This person is still on my team" +} +Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceTermOfUseAgreement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceTermOfUseAgreement.md index 093355d11d5..813710f4e90 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceTermOfUseAgreement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceTermOfUseAgreement.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.Governance +$params = @{ + DisplayName = "All Contoso volunteers - Terms of use" + IsViewingBeforeAcceptanceRequired = $true +} +Update-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Confirm-MgRiskyUserCompromised.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Confirm-MgRiskyUserCompromised.md index 093355d11d5..69adbdf3fcf 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Confirm-MgRiskyUserCompromised.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Confirm-MgRiskyUserCompromised.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + UserIds = @( + "29f270bb-4d23-4f68-8a57-dc73dc0d4caf" + "20f91ec9-d140-4d90-9cd9-f618587a1471" + ) +} +Confirm-MgRiskyUserCompromised -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgDataPolicyOperation.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgDataPolicyOperation.md index 093355d11d5..dc3a42ef787 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgDataPolicyOperation.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgDataPolicyOperation.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgDataPolicyOperation -DataPolicyOperationId $dataPolicyOperationId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityApiConnector.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityApiConnector.md index 093355d11d5..fd3677dc63a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityApiConnector.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityApiConnector.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityApiConnector ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlow.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlow.md index 093355d11d5..bfadf561561 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlow.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlow.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityB2XUserFlow -B2xIdentityUserFlowId $b2xIdentityUserFlowId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityB2XUserFlow -ExpandProperty "identityProviders" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityB2XUserFlow ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowIdentityProvider.md index 093355d11d5..997c96fbef5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowIdentityProvider.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityB2XUserFlowIdentityProvider -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguage.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguage.md index 093355d11d5..2c87b133661 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguage.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguage.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityB2XUserFlowLanguage -B2xIdentityUserFlowId $b2xIdentityUserFlowId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityB2XUserFlowLanguage -B2xIdentityUserFlowId $b2xIdentityUserFlowId -UserFlowLanguageConfigurationId $userFlowLanguageConfigurationId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageDefaultPageContent.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageDefaultPageContent.md index 093355d11d5..ab3e177a076 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageDefaultPageContent.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageDefaultPageContent.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityB2XUserFlowLanguageDefaultPageContent -B2xIdentityUserFlowId $b2xIdentityUserFlowId -UserFlowLanguageConfigurationId $userFlowLanguageConfigurationId -UserFlowLanguagePageId $userFlowLanguagePageId -OutFile $outFileId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageOverridePage.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageOverridePage.md index 093355d11d5..ed4aa1c2473 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageOverridePage.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageOverridePage.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityB2XUserFlowLanguageOverridePage -B2xIdentityUserFlowId $b2xIdentityUserFlowId -UserFlowLanguageConfigurationId $userFlowLanguageConfigurationId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignment.md index 093355d11d5..9c1f10ef96a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignment.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -IdentityUserFlowAttributeAssignmentId $identityUserFlowAttributeAssignmentId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -ExpandProperty "userAttribute" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -IdentityUserFlowAttributeAssignmentId $identityUserFlowAttributeAssignmentId -ExpandProperty "userAttribute" +``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md index 093355d11d5..4dbaec97d32 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityProvider.md index 093355d11d5..7c88249b191 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityProvider.md @@ -1,18 +1,40 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityProvider -IdentityProviderId $identityProviderId +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityProvider +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityProvider +``` +###Example 6 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityProvider -OutFile $outFileId +``` +###Example 7 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId +``` +###Example 8 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityProvider +``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityUserFlowAttribute.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityUserFlowAttribute.md index 093355d11d5..e566b69e27d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityUserFlowAttribute.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityUserFlowAttribute.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityUserFlowAttribute -IdentityUserFlowAttributeId $identityUserFlowAttributeId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgIdentityUserFlowAttribute ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionBitlockerRecoveryKey.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionBitlockerRecoveryKey.md index 093355d11d5..d87f95914c2 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionBitlockerRecoveryKey.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionBitlockerRecoveryKey.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $bitlockerRecoveryKeyId -Property "key" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $bitlockerRecoveryKeyId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgInformationProtectionBitlockerRecoveryKey -Filter "deviceId eq '1ab40ab2-32a8-4b00-b6b5-ba724e407de9'" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgInformationProtectionBitlockerRecoveryKey +``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionThreatAssessmentRequest.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionThreatAssessmentRequest.md index 093355d11d5..1e204b6e7d7 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionThreatAssessmentRequest.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionThreatAssessmentRequest.md @@ -1,18 +1,30 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId -ExpandProperty "results" +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgInformationProtectionThreatAssessmentRequest +``` +###Example 6 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId +``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrant.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrant.md index 093355d11d5..7033006a142 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrant.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrant.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgOauth2PermissionGrant -OAuth2PermissionGrantId $oAuth2PermissionGrantId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgOauth2PermissionGrant ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrantDelta.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrantDelta.md index 093355d11d5..54d401bf618 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrantDelta.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrantDelta.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgOauth2PermissionGrantDelta ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOrganizationCertificateBasedAuthConfiguration.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOrganizationCertificateBasedAuthConfiguration.md index 093355d11d5..419f52e07e8 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOrganizationCertificateBasedAuthConfiguration.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOrganizationCertificateBasedAuthConfiguration.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgOrganizationCertificateBasedAuthConfiguration -OrganizationId $organizationId -CertificateBasedAuthConfigurationId $certificateBasedAuthConfigurationId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgOrganizationCertificateBasedAuthConfiguration -OrganizationId $organizationId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyActivityBasedTimeoutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyActivityBasedTimeoutPolicy.md index 093355d11d5..192636c4e97 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyActivityBasedTimeoutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyActivityBasedTimeoutPolicy.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyActivityBasedTimeoutPolicy +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyActivityBasedTimeoutPolicy -ActivityBasedTimeoutPolicyId $activityBasedTimeoutPolicyId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAdminConsentRequestPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAdminConsentRequestPolicy.md index 093355d11d5..79b6b5d09f9 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAdminConsentRequestPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAdminConsentRequestPolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyAdminConsentRequestPolicy ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationFlowPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationFlowPolicy.md index 093355d11d5..841ea4f8ae0 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationFlowPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationFlowPolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyAuthenticationFlowPolicy ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicy.md index 093355d11d5..6289d72822a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyAuthenticationMethodPolicy ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md index 093355d11d5..367887abb0d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId +``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyClaimMappingPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyClaimMappingPolicy.md index 093355d11d5..d81efff7b70 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyClaimMappingPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyClaimMappingPolicy.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyClaimMappingPolicy +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyClaimMappingPolicy -ClaimsMappingPolicyId $claimsMappingPolicyId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicy.md index 093355d11d5..7d214000834 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyCrossTenantAccessPolicy ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyDefault.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyDefault.md index 093355d11d5..eead1f543c6 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyDefault.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyDefault.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyCrossTenantAccessPolicyDefault ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyPartner.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyPartner.md index 093355d11d5..7a6b1e8fba8 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyPartner.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyPartner.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyCrossTenantAccessPolicyPartner -CrossTenantAccessPolicyConfigurationPartnerTenantId $crossTenantAccessPolicyConfigurationPartnerTenantId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyCrossTenantAccessPolicyPartner ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyFeatureRolloutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyFeatureRolloutPolicy.md index 093355d11d5..d4d9193c378 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyFeatureRolloutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyFeatureRolloutPolicy.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyFeatureRolloutPolicy +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyFeatureRolloutPolicy -FeatureRolloutPolicyId $featureRolloutPolicyId -ExpandProperty "appliesTo" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyFeatureRolloutPolicy -FeatureRolloutPolicyId $featureRolloutPolicyId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md index 093355d11d5..a2c82698671 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyHomeRealmDiscoveryPolicy +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyHomeRealmDiscoveryPolicy -HomeRealmDiscoveryPolicyId $homeRealmDiscoveryPolicyId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md index 093355d11d5..5905cbb9f48 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicy.md index 093355d11d5..960071b1149 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicy.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyPermissionGrantPolicy -PermissionGrantPolicyId $permissionGrantPolicyId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyPermissionGrantPolicy ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyExclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyExclude.md index 093355d11d5..5e1b7b5276a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyExclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyExclude.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyPermissionGrantPolicyExclude -PermissionGrantPolicyId $permissionGrantPolicyId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyInclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyInclude.md index 093355d11d5..52a4eddcc10 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyInclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyInclude.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyPermissionGrantPolicyInclude -PermissionGrantPolicyId $permissionGrantPolicyId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicy.md index 093355d11d5..71f96e08e44 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicy.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyRoleManagementPolicy -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId -ExpandProperty "effectiveRules,rules" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyRoleManagementPolicy -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyRoleManagementPolicy -Filter "scopeId eq '/' and scopeType eq 'Directory'" -ExpandProperty "rules" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyRoleManagementPolicy -Filter "scopeId eq '/' and scopeType eq 'DirectoryRole'" +``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyAssignment.md index 093355d11d5..da12343aafd 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyAssignment.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyRoleManagementPolicyAssignment -UnifiedRoleManagementPolicyAssignmentId $unifiedRoleManagementPolicyAssignmentId -ExpandProperty "policy(`$expand=rules)" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyRoleManagementPolicyAssignment -UnifiedRoleManagementPolicyAssignmentId $unifiedRoleManagementPolicyAssignmentId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyRoleManagementPolicyAssignment -Filter "scopeId eq '/' and scopeType eq 'DirectoryRole' and roleDefinitionId eq '62e90394-69f5-4237-9190-012177145e10'" -ExpandProperty "policy(`$expand=rules)" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyRoleManagementPolicyAssignment -Filter "scopeId eq '/' and scopeType eq 'Directory'" +``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyRule.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyRule.md index 093355d11d5..7a3deb8b757 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyRule.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyRule.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyRoleManagementPolicyRule -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId -UnifiedRoleManagementPolicyRuleId $unifiedRoleManagementPolicyRuleId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyRoleManagementPolicyRule -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenIssuancePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenIssuancePolicy.md index 093355d11d5..33c3d84bd6d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenIssuancePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenIssuancePolicy.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyTokenIssuancePolicy -TokenIssuancePolicyId $tokenIssuancePolicyId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyTokenIssuancePolicy ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenLifetimePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenLifetimePolicy.md index 093355d11d5..f4b034c3a8b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenLifetimePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenLifetimePolicy.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyTokenLifetimePolicy +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgPolicyTokenLifetimePolicy -TokenLifetimePolicyId $tokenLifetimePolicyId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskDetection.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskDetection.md index 093355d11d5..55783ce891a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskDetection.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskDetection.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgRiskDetection -RiskDetectionId $riskDetectionId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgRiskDetection ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUser.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUser.md index 093355d11d5..c37372fd418 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUser.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUser.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgRiskyUser -RiskyUserId $riskyUserId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgRiskyUser ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUserHistory.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUserHistory.md index 093355d11d5..a42477b9500 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUserHistory.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUserHistory.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgRiskyUserHistory -RiskyUserId $riskyUserId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgRiskyUserHistory -RiskyUserId $riskyUserId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationEmailMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationEmailMethod.md index 093355d11d5..c88128994f2 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationEmailMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationEmailMethod.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +# A UPN can also be used as -UserId. +Get-MgUserAuthenticationEmailMethod -UserId $userId -EmailAuthenticationMethodId $emailAuthenticationMethodId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +# A UPN can also be used as -UserId. +Get-MgUserAuthenticationEmailMethod -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationFido2Method.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationFido2Method.md index 093355d11d5..86f65aa2a23 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationFido2Method.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationFido2Method.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +# A UPN can also be used as -UserId. +Get-MgUserAuthenticationFido2Method -UserId $userId -Fido2AuthenticationMethodId $fido2AuthenticationMethodId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationMicrosoftAuthenticatorMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationMicrosoftAuthenticatorMethod.md index 093355d11d5..2c6716a38fd 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationMicrosoftAuthenticatorMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationMicrosoftAuthenticatorMethod.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgUserAuthenticationMicrosoftAuthenticatorMethod -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationOperation.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationOperation.md index 093355d11d5..2996a7ca8b8 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationOperation.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationOperation.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgUserAuthenticationOperation -UserId $userId -LongRunningOperationId $longRunningOperationId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPasswordMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPasswordMethod.md index 093355d11d5..e898d45d411 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPasswordMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPasswordMethod.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +# A UPN can also be used as -UserId. +Get-MgUserAuthenticationPasswordMethod -UserId $userId -PasswordAuthenticationMethodId $passwordAuthenticationMethodId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +# A UPN can also be used as -UserId. +Get-MgUserAuthenticationPasswordMethod -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPhoneMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPhoneMethod.md index 093355d11d5..ae6758fb85b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPhoneMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPhoneMethod.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +# A UPN can also be used as -UserId. +Get-MgUserAuthenticationPhoneMethod -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +# A UPN can also be used as -UserId. +Get-MgUserAuthenticationPhoneMethod -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationSoftwareOathMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationSoftwareOathMethod.md index 093355d11d5..bef21010fd6 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationSoftwareOathMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationSoftwareOathMethod.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +# A UPN can also be used as -UserId. +Get-MgUserAuthenticationSoftwareOathMethod -UserId $userId -SoftwareOathAuthenticationMethodId $softwareOathAuthenticationMethodId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +# A UPN can also be used as -UserId. +Get-MgUserAuthenticationSoftwareOathMethod -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationTemporaryAccessPassMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationTemporaryAccessPassMethod.md index 093355d11d5..fc1db8f3614 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationTemporaryAccessPassMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationTemporaryAccessPassMethod.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgUserAuthenticationTemporaryAccessPassMethod -UserId $userId -TemporaryAccessPassAuthenticationMethodId $temporaryAccessPassAuthenticationMethodId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgUserAuthenticationTemporaryAccessPassMethod -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationWindowHelloForBusinessMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationWindowHelloForBusinessMethod.md index 093355d11d5..48068da237f 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationWindowHelloForBusinessMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationWindowHelloForBusinessMethod.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgUserAuthenticationWindowHelloForBusinessMethod -UserId $userId -WindowsHelloForBusinessAuthenticationMethodId $windowsHelloForBusinessAuthenticationMethodId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Get-MgUserAuthenticationWindowHelloForBusinessMethod -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgAvailableIdentityProviderType.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgAvailableIdentityProviderType.md index 093355d11d5..681d9682ed5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgAvailableIdentityProviderType.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgAvailableIdentityProviderType.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Invoke-MgAvailableIdentityProviderType +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Invoke-MgAvailableIdentityProviderType +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Invoke-MgAvailableIdentityProviderType -OutFile $outFileId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgDismissRiskyUser.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgDismissRiskyUser.md index 093355d11d5..923b12d0559 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgDismissRiskyUser.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgDismissRiskyUser.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + UserIds = @( + "04487ee0-f4f6-4e7f-8999-facc5a30e232" + "13387ee0-f4f6-4e7f-8999-facc5120e345" + ) +} +Invoke-MgDismissRiskyUser -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgUploadIdentityApiConnectorClientCertificate.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgUploadIdentityApiConnectorClientCertificate.md index 093355d11d5..aa8697369ab 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgUploadIdentityApiConnectorClientCertificate.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgUploadIdentityApiConnectorClientCertificate.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + Pkcs12Value = "eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ...kDJ04sJShkkgjL9Bm49plA" + Password = "" +} +Invoke-MgUploadIdentityApiConnectorClientCertificate -IdentityApiConnectorId $identityApiConnectorId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityApiConnector.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityApiConnector.md index 093355d11d5..e72f68bf822 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityApiConnector.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityApiConnector.md @@ -1,18 +1,42 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + DisplayName = "Test API" + TargetUrl = "https://someapi.com/api" + AuthenticationConfiguration = @{ + "@odata.type" = "#microsoft.graph.basicAuthentication" + Username = "MyUsername" + Password = "MyPassword" + } +} +New-MgIdentityApiConnector -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + DisplayName = "Test API" + TargetUrl = "https://someotherapi.com/api" + AuthenticationConfiguration = @{ + "@odata.type" = "#microsoft.graph.pkcs12Certificate" + Pkcs12Value = "eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ...kDJ04sJShkkgjL9Bm49plA" + Password = "CertificatePassword" + } +} +New-MgIdentityApiConnector -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + DisplayName = "Test API" + TargetUrl = "https://someotherapi.com/api" + AuthenticationConfiguration = @{ + "@odata.type" = "#microsoft.graph.pkcs12Certificate" + Pkcs12Value = "eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ...kDJ04sJShkkgjL9Bm49plA" + Password = "CertificatePassword" + } +} +New-MgIdentityApiConnector -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlow.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlow.md index 093355d11d5..df03dc036ba 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlow.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlow.md @@ -1,18 +1,45 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + Id = "UserFlowWithAPIConnector" + UserFlowType = "signUpOrSignIn" + UserFlowTypeVersion = 1 + ApiConnectorConfiguration = @{ + PostFederationSignup = @{ + "@odata.id" = "https://graph.microsoft.com/v1/identity/apiConnectors/{id}" + } + PostAttributeCollection = @{ + "@odata.id" = "https://graph.microsoft.com/v1/identity/apiConnectors/{id}" + } + } +} +New-MgIdentityB2XUserFlow -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + Id = "Partner" + UserFlowType = "signUpOrSignIn" + UserFlowTypeVersion = 1 + IdentityProviders = @( + @{ + Id = "Facebook-OAuth" + Type = "Facebook" + Name = "Facebook" + } + ) +} +New-MgIdentityB2XUserFlow -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + Id = "Partner" + UserFlowType = "signUpOrSignIn" + UserFlowTypeVersion = 1 +} +New-MgIdentityB2XUserFlow -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlowUserAttributeAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlowUserAttributeAssignment.md index 093355d11d5..401773c1a95 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlowUserAttributeAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlowUserAttributeAssignment.md @@ -1,18 +1,16 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + IsOptional = $false + RequiresVerification = $false + UserInputType = "TextBox" + DisplayName = "Shoe size" + UserAttributeValues = @( + ) + UserAttribute = @{ + Id = "extension_guid_shoeSize" + } +} +New-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityProvider.md index 093355d11d5..31d847fec29 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityProvider.md @@ -1,18 +1,25 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + "@odata.type" = "microsoft.graph.appleManagedIdentityProvider" + DisplayName = "Sign in with Apple" + DeveloperId = "UBF8T346G9" + ServiceId = "com.microsoft.rts.b2c.test.client" + KeyId = "99P6D879C4" + CertificateData = "******" +} +New-MgIdentityProvider -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + "@odata.type" = "microsoft.graph.socialIdentityProvider" + DisplayName = "Login with Amazon" + IdentityProviderType = "Amazon" + ClientId = "56433757-cadd-4135-8431-2c9e3fd68ae8" + ClientSecret = "000000000000" +} +New-MgIdentityProvider -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityUserFlowAttribute.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityUserFlowAttribute.md index 093355d11d5..3138064ddba 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityUserFlowAttribute.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityUserFlowAttribute.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + DisplayName = "Hobby" + Description = "Your hobby" + DataType = "string" +} +New-MgIdentityUserFlowAttribute -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgInformationProtectionThreatAssessmentRequest.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgInformationProtectionThreatAssessmentRequest.md index 093355d11d5..1ab159bd887 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgInformationProtectionThreatAssessmentRequest.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgInformationProtectionThreatAssessmentRequest.md @@ -1,18 +1,47 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + "@odata.type" = "#microsoft.graph.emailFileAssessmentRequest" + RecipientEmail = "tifc@a830edad9050849EQTPWBJZXODQ.onmicrosoft.com" + ExpectedAssessment = "block" + Category = "malware" + ContentData = "UmVjZWl2ZWQ6IGZyb20gTVcyUFIwME1CMDMxNC5uYW1wcmQwMC....." +} +New-MgInformationProtectionThreatAssessmentRequest -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + "@odata.type" = "#microsoft.graph.fileAssessmentRequest" + ExpectedAssessment = "block" + Category = "malware" + FileName = "test.txt" + ContentData = "VGhpcyBpcyBhIHRlc3QgZmlsZQ==" +} +New-MgInformationProtectionThreatAssessmentRequest -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + "@odata.type" = "#microsoft.graph.mailAssessmentRequest" + RecipientEmail = "tifc@a830edad9050849EQTPWBJZXODQ.onmicrosoft.com" + ExpectedAssessment = "block" + Category = "spam" + MessageUri = "https://graph.microsoft.com/v1.0/users/c52ce8db-3e4b-4181-93c4-7d6b6bffaf60/messages/AAMkADU3MWUxOTU0LWNlOTEt=" +} +New-MgInformationProtectionThreatAssessmentRequest -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + "@odata.type" = "#microsoft.graph.urlAssessmentRequest" + Url = "http://test.com" + ExpectedAssessment = "block" + Category = "phishing" +} +New-MgInformationProtectionThreatAssessmentRequest -BodyParameter $params +``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgOauth2PermissionGrant.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgOauth2PermissionGrant.md index 093355d11d5..1f6418365a4 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgOauth2PermissionGrant.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgOauth2PermissionGrant.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + ClientId = "ef969797-201d-4f6b-960c-e9ed5f31dab5" + ConsentType = "AllPrincipals" + ResourceId = "943603e4-e787-4fe9-93d1-e30f749aae39" + Scope = "DelegatedPermissionGrant.ReadWrite.All" +} +New-MgOauth2PermissionGrant -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyActivityBasedTimeoutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyActivityBasedTimeoutPolicy.md index 093355d11d5..32c4166085d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyActivityBasedTimeoutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyActivityBasedTimeoutPolicy.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + Definition = @( + "definition-value" + ) + DisplayName = "displayName-value" + IsOrganizationDefault = $true +} +New-MgPolicyActivityBasedTimeoutPolicy -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyClaimMappingPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyClaimMappingPolicy.md index 093355d11d5..0efe4cfe03b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyClaimMappingPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyClaimMappingPolicy.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + Definition = @( + "{"ClaimsMappingPolicy":{"Version":1,"IncludeBasicClaimSet":"true","ClaimsSchema": [{"Source":"user","ID":"userprincipalname","SamlClaimType":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier"},{"Source":"user","ID":"givenname","SamlClaimType":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname"},{"Source":"user","ID":"displayname","SamlClaimType":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"},{"Source":"user","ID":"surname","SamlClaimType":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname"},{"Source":"user","ID":"userprincipalname","SamlClaimType":"username"}],"ClaimsTransformation":[{"ID":"CreateTermsOfService","TransformationMethod":"CreateStringClaim","InputParameters": [{"ID":"value","DataType":"string", "Value":"sandbox"}],"OutputClaims":[{"ClaimTypeReferenceId":"TOS","TransformationClaimType":"createdClaim"}]}]}}" + ) + DisplayName = "Test1234" +} +New-MgPolicyClaimMappingPolicy -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyCrossTenantAccessPolicyPartner.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyCrossTenantAccessPolicyPartner.md index 093355d11d5..f93685d5b0d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyCrossTenantAccessPolicyPartner.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyCrossTenantAccessPolicyPartner.md @@ -1,18 +1,30 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + TenantId = "3d0f5dec-5d3d-455c-8016-e2af1ae4d31a" + B2bDirectConnectOutbound = @{ + UsersAndGroups = @{ + AccessType = "blocked" + Targets = @( + @{ + Target = "6f546279-4da5-4b53-a095-09ea0cef9971" + TargetType = "group" + } + ) + } + } + B2bDirectConnectInbound = @{ + Applications = @{ + AccessType = "allowed" + Targets = @( + @{ + Target = "Office365" + TargetType = "application" + } + ) + } + } +} +New-MgPolicyCrossTenantAccessPolicyPartner -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicy.md index 093355d11d5..eee6fc109d1 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicy.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + DisplayName = "PassthroughAuthentication rollout policy" + Description = "PassthroughAuthentication rollout policy" + Feature = "passthroughAuthentication" + IsEnabled = $true + IsAppliedToOrganization = $false +} +New-MgPolicyFeatureRolloutPolicy -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicyApplyToByRef.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicyApplyToByRef.md index 093355d11d5..e7f1791495a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicyApplyToByRef.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicyApplyToByRef.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + "@odata.id" = "https://graph.microsoft.com/v1.0/directoryObjects/2441b489-4f12-4882-b039-8f6006bd66da" +} +New-MgPolicyFeatureRolloutPolicyApplyToByRef -FeatureRolloutPolicyId $featureRolloutPolicyId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md index 093355d11d5..29e18975503 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + Definition = @( + "definition-value" + ) + DisplayName = "displayName-value" + IsOrganizationDefault = $true +} +New-MgPolicyHomeRealmDiscoveryPolicy -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicy.md index 093355d11d5..8d737b6f889 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicy.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + Id = "my-custom-consent-policy" + DisplayName = "Custom application consent policy" + Description = "A custom permission grant policy to customize conditions for granting consent." +} +New-MgPolicyPermissionGrantPolicy -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyExclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyExclude.md index 093355d11d5..54b70bd67fe 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyExclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyExclude.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + PermissionType = "delegated" + ResourceApplication = "00000003-0000-0000-c000-000000000000" +} +New-MgPolicyPermissionGrantPolicyExclude -PermissionGrantPolicyId $permissionGrantPolicyId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyInclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyInclude.md index 093355d11d5..0b09ed0492b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyInclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyInclude.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + PermissionType = "delegated" + ClientApplicationsFromVerifiedPublisherOnly = $true +} +New-MgPolicyPermissionGrantPolicyInclude -PermissionGrantPolicyId $permissionGrantPolicyId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenIssuancePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenIssuancePolicy.md index 093355d11d5..3eca66780e6 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenIssuancePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenIssuancePolicy.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + Definition = @( + "definition-value" + ) + DisplayName = "displayName-value" + IsOrganizationDefault = $true +} +New-MgPolicyTokenIssuancePolicy -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenLifetimePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenLifetimePolicy.md index 093355d11d5..d71491ed12b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenLifetimePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenLifetimePolicy.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + Definition = @( + "definition-value" + ) + DisplayName = "displayName-value" + IsOrganizationDefault = $true +} +New-MgPolicyTokenLifetimePolicy -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationEmailMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationEmailMethod.md index 093355d11d5..225014a6398 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationEmailMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationEmailMethod.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + EmailAddress = "kim@contoso.com" +} +New-MgUserAuthenticationEmailMethod -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationPhoneMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationPhoneMethod.md index 093355d11d5..65b6e11d51c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationPhoneMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationPhoneMethod.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + PhoneNumber = "+1 2065555555" + PhoneType = "mobile" +} +# A UPN can also be used as -UserId. +New-MgUserAuthenticationPhoneMethod -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationTemporaryAccessPassMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationTemporaryAccessPassMethod.md index 093355d11d5..1414cf82a48 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationTemporaryAccessPassMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationTemporaryAccessPassMethod.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + StartDateTime = [System.DateTime]::Parse("2022-06-05T00:00:00.000Z") + LifetimeInMinutes = 60 + IsUsableOnce = $false +} +New-MgUserAuthenticationTemporaryAccessPassMethod -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityApiConnector.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityApiConnector.md index 093355d11d5..f25cf328070 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityApiConnector.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityApiConnector.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlow.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlow.md index 093355d11d5..dbef5d6cd12 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlow.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlow.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgIdentityB2XUserFlow -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlowUserAttributeAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlowUserAttributeAssignment.md index 093355d11d5..2b1e497c6ad 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlowUserAttributeAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlowUserAttributeAssignment.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -IdentityUserFlowAttributeAssignmentId $identityUserFlowAttributeAssignmentId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityProvider.md index 093355d11d5..08d218d152c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityProvider.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityUserFlowAttribute.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityUserFlowAttribute.md index 093355d11d5..51f38ee9ef5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityUserFlowAttribute.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityUserFlowAttribute.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgIdentityUserFlowAttribute -IdentityUserFlowAttributeId $identityUserFlowAttributeId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgOauth2PermissionGrant.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgOauth2PermissionGrant.md index 093355d11d5..33026a3c0da 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgOauth2PermissionGrant.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgOauth2PermissionGrant.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgOauth2PermissionGrant -OAuth2PermissionGrantId $oAuth2PermissionGrantId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyActivityBasedTimeoutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyActivityBasedTimeoutPolicy.md index 093355d11d5..4733541ea1e 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyActivityBasedTimeoutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyActivityBasedTimeoutPolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgPolicyActivityBasedTimeoutPolicy -ActivityBasedTimeoutPolicyId $activityBasedTimeoutPolicyId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md index 093355d11d5..7f829cf38fa 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId +``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyClaimMappingPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyClaimMappingPolicy.md index 093355d11d5..65faff6e3e3 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyClaimMappingPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyClaimMappingPolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgPolicyClaimMappingPolicy -ClaimsMappingPolicyId $claimsMappingPolicyId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyCrossTenantAccessPolicyPartner.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyCrossTenantAccessPolicyPartner.md index 093355d11d5..48afedc4da9 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyCrossTenantAccessPolicyPartner.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyCrossTenantAccessPolicyPartner.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgPolicyCrossTenantAccessPolicyPartner -CrossTenantAccessPolicyConfigurationPartnerTenantId $crossTenantAccessPolicyConfigurationPartnerTenantId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicy.md index 093355d11d5..71dd3afdfd1 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgPolicyFeatureRolloutPolicy -FeatureRolloutPolicyId $featureRolloutPolicyId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md index 093355d11d5..9e8ad3300f9 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgPolicyFeatureRolloutPolicyApplyToByRef -FeatureRolloutPolicyId $featureRolloutPolicyId -DirectoryObjectId $directoryObjectId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyHomeRealmDiscoveryPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyHomeRealmDiscoveryPolicy.md index 093355d11d5..cf3c5f05dc7 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyHomeRealmDiscoveryPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyHomeRealmDiscoveryPolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgPolicyHomeRealmDiscoveryPolicy -HomeRealmDiscoveryPolicyId $homeRealmDiscoveryPolicyId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicy.md index 093355d11d5..42b7dbd7cd5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgPolicyPermissionGrantPolicy -PermissionGrantPolicyId $permissionGrantPolicyId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyExclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyExclude.md index 093355d11d5..c4101606bc3 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyExclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyExclude.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgPolicyPermissionGrantPolicyExclude -PermissionGrantPolicyId $permissionGrantPolicyId -PermissionGrantConditionSetId $permissionGrantConditionSetId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyInclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyInclude.md index 093355d11d5..2277107f16b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyInclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyInclude.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgPolicyPermissionGrantPolicyInclude -PermissionGrantPolicyId $permissionGrantPolicyId -PermissionGrantConditionSetId $permissionGrantConditionSetId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenIssuancePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenIssuancePolicy.md index 093355d11d5..339c14580e8 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenIssuancePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenIssuancePolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgPolicyTokenIssuancePolicy -TokenIssuancePolicyId $tokenIssuancePolicyId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenLifetimePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenLifetimePolicy.md index 093355d11d5..6b8a01da40d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenLifetimePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenLifetimePolicy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgPolicyTokenLifetimePolicy -TokenLifetimePolicyId $tokenLifetimePolicyId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationEmailMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationEmailMethod.md index 093355d11d5..b957f5df910 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationEmailMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationEmailMethod.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgUserAuthenticationEmailMethod -UserId $userId -EmailAuthenticationMethodId $emailAuthenticationMethodId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationFido2Method.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationFido2Method.md index 093355d11d5..54e7a822a9e 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationFido2Method.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationFido2Method.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgUserAuthenticationFido2Method -UserId $userId -Fido2AuthenticationMethodId $fido2AuthenticationMethodId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod.md index 093355d11d5..f8d6d015904 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod -UserId $userId -MicrosoftAuthenticatorAuthenticationMethodId $microsoftAuthenticatorAuthenticationMethodId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationPhoneMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationPhoneMethod.md index 093355d11d5..045dd1edb0b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationPhoneMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationPhoneMethod.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +# A UPN can also be used as -UserId. +Remove-MgUserAuthenticationPhoneMethod -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationSoftwareOathMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationSoftwareOathMethod.md index 093355d11d5..e2049be4223 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationSoftwareOathMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationSoftwareOathMethod.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgUserAuthenticationSoftwareOathMethod -UserId $userId -SoftwareOathAuthenticationMethodId $softwareOathAuthenticationMethodId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationTemporaryAccessPassMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationTemporaryAccessPassMethod.md index 093355d11d5..acd0d42b5ae 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationTemporaryAccessPassMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationTemporaryAccessPassMethod.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgUserAuthenticationTemporaryAccessPassMethod -UserId $userId -TemporaryAccessPassAuthenticationMethodId $temporaryAccessPassAuthenticationMethodId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationWindowHelloForBusinessMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationWindowHelloForBusinessMethod.md index 093355d11d5..264c9e8ad21 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationWindowHelloForBusinessMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationWindowHelloForBusinessMethod.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Remove-MgUserAuthenticationWindowHelloForBusinessMethod -UserId $userId -WindowsHelloForBusinessAuthenticationMethodId $windowsHelloForBusinessAuthenticationMethodId ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md index 093355d11d5..df50679d5c5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowLanguageOverridePageContent.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowLanguageOverridePageContent.md index 093355d11d5..bd7410077b0 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowLanguageOverridePageContent.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowLanguageOverridePageContent.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + LocalizedStrings = @( + ) +} +Set-MgIdentityB2XUserFlowLanguageOverridePageContent -B2xIdentityUserFlowId $b2xIdentityUserFlowId -UserFlowLanguageConfigurationId $userFlowLanguageConfigurationId -UserFlowLanguagePageId $userFlowLanguagePageId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md index 093355d11d5..35a480c4a29 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md @@ -1,18 +1,13 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + NewAssignmentOrder = @{ + Order = @( + "City" + "extension_GUID_ShoeSize" + ) + } +} +Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder -B2xIdentityUserFlowId $b2xIdentityUserFlowId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityApiConnector.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityApiConnector.md index 093355d11d5..5703b88fc37 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityApiConnector.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityApiConnector.md @@ -1,18 +1,38 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + AuthenticationConfiguration = @{ + "@odata.type" = "#microsoft.graph.pkcs12Certificate" + Pkcs12Value = "eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ...kDJ04sJShkkgjL9Bm49plA" + Password = "secret" + } +} +Update-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + DisplayName = "New Test API" + TargetUrl = "https://otherapi.com/api/endpoint" + AuthenticationConfiguration = @{ + "@odata.type" = "microsoft.graph.basicAuthentication" + Username = "" + Password = "" + } +} +Update-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + AuthenticationConfiguration = @{ + "@odata.type" = "#microsoft.graph.pkcs12Certificate" + Pkcs12Value = "eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ...kDJ04sJShkkgjL9Bm49plA" + Password = "secret" + } +} +Update-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityB2XUserFlowUserAttributeAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityB2XUserFlowUserAttributeAssignment.md index 093355d11d5..0c156cc3a9d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityB2XUserFlowUserAttributeAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityB2XUserFlowUserAttributeAssignment.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + UserInputType = "textBox" +} +Update-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -IdentityUserFlowAttributeAssignmentId $identityUserFlowAttributeAssignmentId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityProvider.md index 093355d11d5..77614c2355c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityProvider.md @@ -1,18 +1,26 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + "@odata.type" = "#microsoft.graph.socialIdentityProvider" + DisplayName = "Apple" +} +Update-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + ClientSecret = "1111111111111" +} +Update-MgIdentityProvider -IdentityProviderId $identityProviderId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + "@odata.type" = "#microsoft.graph.socialIdentityProvider" + ClientSecret = "1111111111111" +} +Update-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityUserFlowAttribute.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityUserFlowAttribute.md index 093355d11d5..6c16efb4f23 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityUserFlowAttribute.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityUserFlowAttribute.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + Description = "Your new hobby" +} +Update-MgIdentityUserFlowAttribute -IdentityUserFlowAttributeId $identityUserFlowAttributeId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgOauth2PermissionGrant.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgOauth2PermissionGrant.md index 093355d11d5..4803ec2cd10 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgOauth2PermissionGrant.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgOauth2PermissionGrant.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + Scope = "User.ReadBasic.All Group.ReadWrite.All" +} +Update-MgOauth2PermissionGrant -OAuth2PermissionGrantId $oAuth2PermissionGrantId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyActivityBasedTimeoutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyActivityBasedTimeoutPolicy.md index 093355d11d5..ac1def269b9 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyActivityBasedTimeoutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyActivityBasedTimeoutPolicy.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + Definition = @( + "definition-value" + ) + DisplayName = "displayName-value" + IsOrganizationDefault = $true +} +Update-MgPolicyActivityBasedTimeoutPolicy -ActivityBasedTimeoutPolicyId $activityBasedTimeoutPolicyId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationFlowPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationFlowPolicy.md index 093355d11d5..926b0e6af33 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationFlowPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationFlowPolicy.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + SelfServiceSignUp = @{ + IsEnabled = $true + } +} +Update-MgPolicyAuthenticationFlowPolicy -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicy.md index 093355d11d5..08d527fbae2 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicy.md @@ -1,18 +1,32 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + "@odata.context" = "https://graph.microsoft.com/v1.0/$metadata#authenticationMethodsPolicy" + RegistrationEnforcement = @{ + AuthenticationMethodsRegistrationCampaign = @{ + SnoozeDurationInDays = 1 + State = "enabled" + ExcludeTargets = @( + ) + IncludeTargets = @( + @{ + Id = "3ee3a9de-0a86-4e12-a287-9769accf1ba2" + TargetType = "group" + TargetedAuthenticationMethod = "microsoftAuthenticator" + } + ) + } + } + AuthenticationMethodConfigurations = @( + @{ + "@odata.type" = "#microsoft.graph.fido2AuthenticationMethodConfiguration" + Id = "Fido2" + State = "disabled" + IsSelfServiceRegistrationAllowed = $false + IsAttestationEnforced = $false + } + ) +} +Update-MgPolicyAuthenticationMethodPolicy -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md index 093355d11d5..0527fa974ee 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md @@ -1,18 +1,37 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + "@odata.type" = "#microsoft.graph.emailAuthenticationMethodConfiguration" + AllowExternalIdToUseEmailOtp = "enabled" +} +Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + "@odata.type" = "#microsoft.graph.fido2AuthenticationMethodConfiguration" + State = "enabled" + IsAttestationEnforced = "true" +} +Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + "@odata.type" = "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration" + State = "String" +} +Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + "@odata.type" = "#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration" + IsUsableOnce = $true +} +Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId -BodyParameter $params +``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyClaimMappingPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyClaimMappingPolicy.md index 093355d11d5..4e352117d63 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyClaimMappingPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyClaimMappingPolicy.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + DisplayName = "UpdateClaimsPolicy" +} +Update-MgPolicyClaimMappingPolicy -ClaimsMappingPolicyId $claimsMappingPolicyId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicy.md index 093355d11d5..bea6cbbc529 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicy.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + DisplayName = "CrossTenantAccessPolicy" +} +Update-MgPolicyCrossTenantAccessPolicy -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyDefault.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyDefault.md index 093355d11d5..866dd1e706b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyDefault.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyDefault.md @@ -1,18 +1,27 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + B2bCollaborationOutbound = @{ + UsersAndGroups = @{ + AccessType = "blocked" + Targets = @( + @{ + Target = "0be493dc-cb56-4a53-936f-9cf64410b8b0" + TargetType = "group" + } + ) + } + Applications = @{ + AccessType = "blocked" + Targets = @( + @{ + Target = "AllApplications" + TargetType = "application" + } + ) + } + } +} +Update-MgPolicyCrossTenantAccessPolicyDefault -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyPartner.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyPartner.md index 093355d11d5..09603654d0c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyPartner.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyPartner.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + InboundTrust = @{ + IsMfaAccepted = $true + IsCompliantDeviceAccepted = $true + IsHybridAzureADJoinedDeviceAccepted = $true + } +} +Update-MgPolicyCrossTenantAccessPolicyPartner -CrossTenantAccessPolicyConfigurationPartnerTenantId $crossTenantAccessPolicyConfigurationPartnerTenantId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyFeatureRolloutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyFeatureRolloutPolicy.md index 093355d11d5..fe5c6fb6d27 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyFeatureRolloutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyFeatureRolloutPolicy.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + DisplayName = "PasswordHashSync Rollout Policy" + Description = "PasswordHashSync Rollout Policy" + IsEnabled = $true + IsAppliedToOrganization = $false +} +Update-MgPolicyFeatureRolloutPolicy -FeatureRolloutPolicyId $featureRolloutPolicyId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyHomeRealmDiscoveryPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyHomeRealmDiscoveryPolicy.md index 093355d11d5..9935d336517 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyHomeRealmDiscoveryPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyHomeRealmDiscoveryPolicy.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + Definition = @( + "definition-value" + ) + DisplayName = "displayName-value" + IsOrganizationDefault = $true +} +Update-MgPolicyHomeRealmDiscoveryPolicy -HomeRealmDiscoveryPolicyId $homeRealmDiscoveryPolicyId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md index 093355d11d5..dbc6649302b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + IsEnabled = $false +} +Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyPermissionGrantPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyPermissionGrantPolicy.md index 093355d11d5..ed589577b82 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyPermissionGrantPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyPermissionGrantPolicy.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + DisplayName = "Custom permission grant policy" +} +Update-MgPolicyPermissionGrantPolicy -PermissionGrantPolicyId $permissionGrantPolicyId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyRoleManagementPolicyRule.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyRoleManagementPolicyRule.md index 093355d11d5..ea6e0396a53 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyRoleManagementPolicyRule.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyRoleManagementPolicyRule.md @@ -1,18 +1,23 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + "@odata.type" = "#microsoft.graph.unifiedRoleManagementPolicyExpirationRule" + Id = "Expiration_EndUser_Assignment" + IsExpirationRequired = $true + MaximumDuration = "PT1H45M" + Target = @{ + "@odata.type" = "microsoft.graph.unifiedRoleManagementPolicyRuleTarget" + Caller = "EndUser" + Operations = @( + "All" + ) + Level = "Assignment" + InheritableSettings = @( + ) + EnforcedSettings = @( + ) + } +} +Update-MgPolicyRoleManagementPolicyRule -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId -UnifiedRoleManagementPolicyRuleId $unifiedRoleManagementPolicyRuleId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenIssuancePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenIssuancePolicy.md index 093355d11d5..0fcce2323aa 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenIssuancePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenIssuancePolicy.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + Definition = @( + "definition-value" + ) + DisplayName = "displayName-value" + IsOrganizationDefault = $true +} +Update-MgPolicyTokenIssuancePolicy -TokenIssuancePolicyId $tokenIssuancePolicyId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenLifetimePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenLifetimePolicy.md index 093355d11d5..4e69054a4ca 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenLifetimePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenLifetimePolicy.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + Definition = @( + "definition-value" + ) + DisplayName = "displayName-value" + IsOrganizationDefault = $true +} +Update-MgPolicyTokenLifetimePolicy -TokenLifetimePolicyId $tokenLifetimePolicyId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationEmailMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationEmailMethod.md index 093355d11d5..787adcf162c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationEmailMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationEmailMethod.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + EmailAddress = "kim@contoso.com" +} +Update-MgUserAuthenticationEmailMethod -UserId $userId -EmailAuthenticationMethodId $emailAuthenticationMethodId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationPhoneMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationPhoneMethod.md index 093355d11d5..05c2865bd82 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationPhoneMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationPhoneMethod.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Identity.SignIns +$params = @{ + PhoneNumber = "+1 2065555554" + PhoneType = "mobile" +} +# A UPN can also be used as -UserId. +Update-MgUserAuthenticationPhoneMethod -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserInferenceClassificationOverride.md b/src/Mail/Mail/examples/v1.0/Get-MgUserInferenceClassificationOverride.md index 093355d11d5..dba7c7e8a2c 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserInferenceClassificationOverride.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserInferenceClassificationOverride.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserInferenceClassificationOverride -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolder.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolder.md index 093355d11d5..9b8a0bad089 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolder.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolder.md @@ -1,18 +1,18 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMailFolder -UserId $userId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderChildFolder.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderChildFolder.md index 093355d11d5..e3c099fb352 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderChildFolder.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderChildFolder.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMailFolderChildFolder -UserId $userId -MailFolderId $mailFolderId ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessage.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessage.md index 093355d11d5..0a77b7c8cc3 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessage.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessage.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMailFolderMessage -UserId $userId -MailFolderId $mailFolderId ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessageRule.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessageRule.md index 093355d11d5..092387c76a4 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessageRule.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessageRule.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMailFolderMessageRule -UserId $userId -MailFolderId $mailFolderId -MessageRuleId $messageRuleId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMailFolderMessageRule -UserId $userId -MailFolderId $mailFolderId ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md index 093355d11d5..f87370a93d1 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md @@ -1,18 +1,30 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMessage -UserId $userId -MessageId $messageId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMessage -UserId $userId -MessageId $messageId -Property "internetMessageHeaders" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMessage -UserId $userId -MessageId $messageId -Property "subject,body,bodyPreview,uniqueBody" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMessage -UserId $userId -MessageId $messageId +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMessage -UserId $userId -Property "sender,subject" +``` diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMessageAttachment.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMessageAttachment.md index 093355d11d5..d20fd122b5a 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMessageAttachment.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMessageAttachment.md @@ -1,18 +1,42 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId -ExpandProperty "microsoft.graph.itemattachment/item" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId -ExpandProperty "microsoft.graph.itemattachment/item" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId +``` +###Example 6 +``` +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId +``` +###Example 7 +``` +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId +``` diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMessageExtension.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMessageExtension.md index 093355d11d5..59953d9adfb 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMessageExtension.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMessageExtension.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Get-MgUserMessageExtension -UserId $userId -MessageId $messageId -ExtensionId $extensionId ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserInferenceClassificationOverride.md b/src/Mail/Mail/examples/v1.0/New-MgUserInferenceClassificationOverride.md index 093355d11d5..0ed4d5c20b6 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserInferenceClassificationOverride.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserInferenceClassificationOverride.md @@ -1,18 +1,13 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +$params = @{ + ClassifyAs = "focused" + SenderEmailAddress = @{ + Name = "Samantha Booth" + Address = "samanthab@adatum.onmicrosoft.com" + } +} +# A UPN can also be used as -UserId. +New-MgUserInferenceClassificationOverride -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolder.md b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolder.md index 093355d11d5..e7a9c5773ba 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolder.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolder.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +$params = @{ + DisplayName = "Clutter" + IsHidden = $true +} +# A UPN can also be used as -UserId. +New-MgUserMailFolder -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderChildFolder.md b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderChildFolder.md index 093355d11d5..858ed9e7bef 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderChildFolder.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderChildFolder.md @@ -1,18 +1,25 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +$params = @{ + DisplayName = "displayName-value" + IsHidden = $true +} +# A UPN can also be used as -UserId. +New-MgUserMailFolderChildFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Mail +$params = @{ + "@odata.type" = "microsoft.graph.mailSearchFolder" + DisplayName = "Weekly digests" + IncludeNestedFolders = $true + SourceFolderIds = @( + "AQMkADYAAAIBDAAAAA==" + ) + FilterQuery = "contains(subject, 'weekly digest')" +} +# A UPN can also be used as -UserId. +New-MgUserMailFolderChildFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessage.md b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessage.md index 093355d11d5..e5bb1205a81 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessage.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessage.md @@ -1,18 +1,17 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +$params = @{ + ReceivedDateTime = [System.DateTime]::Parse("datetime-value") + SentDateTime = [System.DateTime]::Parse("datetime-value") + HasAttachments = $true + Subject = "subject-value" + Body = @{ + ContentType = "" + Content = "content-value" + } + BodyPreview = "bodyPreview-value" +} +# A UPN can also be used as -UserId. +New-MgUserMailFolderMessage -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessageRule.md b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessageRule.md index 093355d11d5..a733053b018 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessageRule.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessageRule.md @@ -1,18 +1,27 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +$params = @{ + DisplayName = "From partner" + Sequence = 2 + IsEnabled = $true + Conditions = @{ + SenderContains = @( + "adele" + ) + } + Actions = @{ + ForwardTo = @( + @{ + EmailAddress = @{ + Name = "Alex Wilbur" + Address = "AlexW@contoso.onmicrosoft.com" + } + } + ) + StopProcessingRules = $true + } +} +# A UPN can also be used as -UserId. +New-MgUserMailFolderMessageRule -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMessage.md b/src/Mail/Mail/examples/v1.0/New-MgUserMessage.md index 093355d11d5..b53ba1c8c35 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMessage.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMessage.md @@ -1,18 +1,51 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +$params = @{ + Subject = "Did you see last night's game?" + Importance = "Low" + Body = @{ + ContentType = "HTML" + Content = "They were awesome!" + } + ToRecipients = @( + @{ + EmailAddress = @{ + Address = "AdeleV@contoso.onmicrosoft.com" + } + } + ) +} +# A UPN can also be used as -UserId. +New-MgUserMessage -UserId $userId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Mail +$params = @{ + Subject = "9/8/2018: concert" + Body = @{ + ContentType = "HTML" + Content = "The group represents Washington." + } + ToRecipients = @( + @{ + EmailAddress = @{ + Address = "AlexW@contoso.OnMicrosoft.com" + } + } + ) + InternetMessageHeaders = @( + @{ + Name = "x-custom-header-group-name" + Value = "Washington" + } + @{ + Name = "x-custom-header-group-id" + Value = "WA001" + } + ) +} +# A UPN can also be used as -UserId. +New-MgUserMessage -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMessageAttachment.md b/src/Mail/Mail/examples/v1.0/New-MgUserMessageAttachment.md index 093355d11d5..99dd5df562a 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMessageAttachment.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMessageAttachment.md @@ -1,18 +1,25 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +$params = @{ + "@odata.type" = "microsoft.graph.fileAttachment" + Name = "name-value" + ContentType = "contentType-value" + IsInline = $false + ContentLocation = "contentLocation-value" + ContentBytes = "base64-contentBytes-value" +} +# A UPN can also be used as -UserId. +New-MgUserMessageAttachment -UserId $userId -MessageId $messageId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Mail +$params = @{ + "@odata.type" = "#microsoft.graph.fileAttachment" + Name = "smile" + ContentBytes = "R0lGODdhEAYEAA7" +} +# A UPN can also be used as -UserId. +New-MgUserMessageAttachment -UserId $userId -MessageId $messageId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserInferenceClassificationOverride.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserInferenceClassificationOverride.md index 093355d11d5..ed294bcdd39 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserInferenceClassificationOverride.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserInferenceClassificationOverride.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Remove-MgUserInferenceClassificationOverride -UserId $userId -InferenceClassificationOverrideId $inferenceClassificationOverrideId ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolder.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolder.md index 093355d11d5..ec6e8d57233 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolder.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolder.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Remove-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolderMessageRule.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolderMessageRule.md index 093355d11d5..a9cd2ed738d 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolderMessageRule.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolderMessageRule.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Remove-MgUserMailFolderMessageRule -UserId $userId -MailFolderId $mailFolderId -MessageRuleId $messageRuleId ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserMessage.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserMessage.md index 093355d11d5..604829873e3 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserMessage.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserMessage.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Remove-MgUserMessage -UserId $userId -MessageId $messageId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Remove-MgUserMessage -UserId $userId -MessageId $messageId ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserMessageExtension.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserMessageExtension.md index 093355d11d5..f1b19817b69 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserMessageExtension.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserMessageExtension.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +# A UPN can also be used as -UserId. +Remove-MgUserMessageExtension -UserId $userId -MessageId $messageId -ExtensionId $extensionId ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/Update-MgUserInferenceClassificationOverride.md b/src/Mail/Mail/examples/v1.0/Update-MgUserInferenceClassificationOverride.md index 093355d11d5..4f2ca514ca8 100644 --- a/src/Mail/Mail/examples/v1.0/Update-MgUserInferenceClassificationOverride.md +++ b/src/Mail/Mail/examples/v1.0/Update-MgUserInferenceClassificationOverride.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +$params = @{ + ClassifyAs = "focused" +} +# A UPN can also be used as -UserId. +Update-MgUserInferenceClassificationOverride -UserId $userId -InferenceClassificationOverrideId $inferenceClassificationOverrideId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolder.md b/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolder.md index 093355d11d5..d4bdbbad49d 100644 --- a/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolder.md +++ b/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolder.md @@ -1,18 +1,19 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +$params = @{ + DisplayName = "displayName-value" +} +# A UPN can also be used as -UserId. +Update-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Mail +$params = @{ + "@odata.type" = "microsoft.graph.mailSearchFolder" + FilterQuery = "contains(subject, 'Analytics')" +} +# A UPN can also be used as -UserId. +Update-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolderMessageRule.md b/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolderMessageRule.md index 093355d11d5..cb8e3310ece 100644 --- a/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolderMessageRule.md +++ b/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolderMessageRule.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +$params = @{ + DisplayName = "Important from partner" + Actions = @{ + MarkImportance = "high" + } +} +# A UPN can also be used as -UserId. +Update-MgUserMailFolderMessageRule -UserId $userId -MailFolderId $mailFolderId -MessageRuleId $messageRuleId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Mail/Mail/examples/v1.0/Update-MgUserMessage.md b/src/Mail/Mail/examples/v1.0/Update-MgUserMessage.md index 093355d11d5..e4611e6302c 100644 --- a/src/Mail/Mail/examples/v1.0/Update-MgUserMessage.md +++ b/src/Mail/Mail/examples/v1.0/Update-MgUserMessage.md @@ -1,18 +1,23 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Mail +$params = @{ + IsRead = $true +} +# A UPN can also be used as -UserId. +Update-MgUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Mail +$params = @{ + Subject = "subject-value" + Body = @{ + ContentType = "" + Content = "content-value" + } + InferenceClassification = "other" +} +# A UPN can also be used as -UserId. +Update-MgUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebook.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebook.md index 093355d11d5..832398fd235 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebook.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebook.md @@ -1,18 +1,18 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Notes +# A UPN can also be used as -UserId. +Get-MgUserOnenoteNotebook -UserId $userId -NotebookId $notebookId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Notes +# A UPN can also be used as -UserId. +Get-MgUserOnenoteNotebook -UserId $userId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Notes +# A UPN can also be used as -UserId. +Get-MgUserOnenoteNotebook -UserId $userId -NotebookId $notebookId ``` - -{{ Add description here }} - diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSection.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSection.md index 093355d11d5..24eedc7ea7d 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSection.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSection.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Notes +# A UPN can also be used as -UserId. +Get-MgUserOnenoteNotebookSection -UserId $userId -NotebookId $notebookId ``` - -{{ Add description here }} - diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSectionGroup.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSectionGroup.md index 093355d11d5..8512235d96c 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSectionGroup.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSectionGroup.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Notes +# A UPN can also be used as -UserId. +Get-MgUserOnenoteNotebookSectionGroup -UserId $userId -NotebookId $notebookId ``` - -{{ Add description here }} - diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteOperation.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteOperation.md index 093355d11d5..c1412c058ea 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteOperation.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteOperation.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Notes +# A UPN can also be used as -UserId. +Get-MgUserOnenoteOperation -UserId $userId -OnenoteOperationId $onenoteOperationId ``` - -{{ Add description here }} - diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSection.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSection.md index 093355d11d5..947f2ea7b6e 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSection.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSection.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Notes +# A UPN can also be used as -UserId. +Get-MgUserOnenoteSection -UserId $userId -OnenoteSectionId $onenoteSectionId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Notes +# A UPN can also be used as -UserId. +Get-MgUserOnenoteSection -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroup.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroup.md index 093355d11d5..2660c80da98 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroup.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroup.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Notes +# A UPN can also be used as -UserId. +Get-MgUserOnenoteSectionGroup -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroupSection.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroupSection.md index 093355d11d5..06fadf6f875 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroupSection.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroupSection.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Notes +# A UPN can also be used as -UserId. +Get-MgUserOnenoteSectionGroupSection -UserId $userId -SectionGroupId $sectionGroupId ``` - -{{ Add description here }} - diff --git a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebook.md b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebook.md index 093355d11d5..31b74b8a1ee 100644 --- a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebook.md +++ b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebook.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Notes +$params = @{ + DisplayName = "My Private notebook" +} +# A UPN can also be used as -UserId. +New-MgUserOnenoteNotebook -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSection.md b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSection.md index 093355d11d5..b134aa6757a 100644 --- a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSection.md +++ b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSection.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Notes +$params = @{ + DisplayName = "Section name" +} +# A UPN can also be used as -UserId. +New-MgUserOnenoteNotebookSection -UserId $userId -NotebookId $notebookId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSectionGroup.md b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSectionGroup.md index 093355d11d5..d414b08ba7b 100644 --- a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSectionGroup.md +++ b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSectionGroup.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Notes +$params = @{ + DisplayName = "Section group name" +} +# A UPN can also be used as -UserId. +New-MgUserOnenoteNotebookSectionGroup -UserId $userId -NotebookId $notebookId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteSectionGroupSection.md b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteSectionGroupSection.md index 093355d11d5..61b698a4c10 100644 --- a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteSectionGroupSection.md +++ b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteSectionGroupSection.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Notes +$params = @{ + DisplayName = "Section name" +} +# A UPN can also be used as -UserId. +New-MgUserOnenoteSectionGroupSection -UserId $userId -SectionGroupId $sectionGroupId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Notes/Notes/examples/v1.0/Remove-MgUserOnenotePage.md b/src/Notes/Notes/examples/v1.0/Remove-MgUserOnenotePage.md index 093355d11d5..122974f0ba3 100644 --- a/src/Notes/Notes/examples/v1.0/Remove-MgUserOnenotePage.md +++ b/src/Notes/Notes/examples/v1.0/Remove-MgUserOnenotePage.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Notes +# A UPN can also be used as -UserId. +Remove-MgUserOnenotePage -UserId $userId -OnenotePageId $onenotePageId ``` - -{{ Add description here }} - diff --git a/src/People/People/examples/v1.0/Get-MgUserPerson.md b/src/People/People/examples/v1.0/Get-MgUserPerson.md index 093355d11d5..d357857e615 100644 --- a/src/People/People/examples/v1.0/Get-MgUserPerson.md +++ b/src/People/People/examples/v1.0/Get-MgUserPerson.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.People +# A UPN can also be used as -UserId. +Get-MgUserPerson -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/People/People/examples/v1.0/Get-MgUserUsedInsight.md b/src/People/People/examples/v1.0/Get-MgUserUsedInsight.md index 093355d11d5..bd864a26326 100644 --- a/src/People/People/examples/v1.0/Get-MgUserUsedInsight.md +++ b/src/People/People/examples/v1.0/Get-MgUserUsedInsight.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.People +# A UPN can also be used as -UserId. +Get-MgUserUsedInsight -UserId $userId -Sort "LastUsed/LastAccessedDateTime desc" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.People +# A UPN can also be used as -UserId. +Get-MgUserUsedInsight -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContact.md index 093355d11d5..9c642f1504f 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContact.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.PersonalContacts +# A UPN can also be used as -UserId. +Get-MgUserContact -UserId $userId -ContactId $contactId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.PersonalContacts +# A UPN can also be used as -UserId. +Get-MgUserContact -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolder.md index 093355d11d5..82123776fab 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolder.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.PersonalContacts +# A UPN can also be used as -UserId. +Get-MgUserContactFolder -UserId $userId -ContactFolderId $contactFolderId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.PersonalContacts +# A UPN can also be used as -UserId. +Get-MgUserContactFolder -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderChildFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderChildFolder.md index 093355d11d5..4313c6e97eb 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderChildFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderChildFolder.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.PersonalContacts +# A UPN can also be used as -UserId. +Get-MgUserContactFolderChildFolder -UserId $userId -ContactFolderId $contactFolderId ``` - -{{ Add description here }} - diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderContact.md index 093355d11d5..f0e476adf46 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderContact.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.PersonalContacts +# A UPN can also be used as -UserId. +Get-MgUserContactFolderContact -UserId $userId -ContactFolderId $contactFolderId ``` - -{{ Add description here }} - diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContact.md index 093355d11d5..786a4f81cc1 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContact.md @@ -1,18 +1,19 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.PersonalContacts +$params = @{ + GivenName = "Pavel" + Surname = "Bansky" + EmailAddresses = @( + @{ + Address = "pavelb@fabrikam.onmicrosoft.com" + Name = "Pavel Bansky" + } + ) + BusinessPhones = @( + "+1 732 555 0102" + ) +} +# A UPN can also be used as -UserId. +New-MgUserContact -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolder.md index 093355d11d5..ad1957f5874 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolder.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.PersonalContacts +$params = @{ + ParentFolderId = "AQMkADIxYjJiYgEzLTFmNjYALTRjYTMtODA1NC0wZDkxZGNmOTcxNTQALgAAA8RJzXYaLKZPlmn0ge0edZkBADa3qi2IMXRNg6RwQSHe_F8AAAIBDgAAAA==" + DisplayName = "Important contacts" +} +# A UPN can also be used as -UserId. +New-MgUserContactFolder -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderChildFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderChildFolder.md index 093355d11d5..a98f12f461d 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderChildFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderChildFolder.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.PersonalContacts +$params = @{ + DisplayName = "Family" +} +# A UPN can also be used as -UserId. +New-MgUserContactFolderChildFolder -UserId $userId -ContactFolderId $contactFolderId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderContact.md index 093355d11d5..eb6f8ebca6a 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderContact.md @@ -1,18 +1,14 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.PersonalContacts +$params = @{ + ParentFolderId = "parentFolderId-value" + Birthday = [System.DateTime]::Parse("datetime-value") + FileAs = "fileAs-value" + DisplayName = "displayName-value" + GivenName = "givenName-value" + Initials = "initials-value" +} +# A UPN can also be used as -UserId. +New-MgUserContactFolderContact -UserId $userId -ContactFolderId $contactFolderId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContact.md index 093355d11d5..4d272501798 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContact.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.PersonalContacts +# A UPN can also be used as -UserId. +Remove-MgUserContact -UserId $userId -ContactId $contactId ``` - -{{ Add description here }} - diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContactFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContactFolder.md index 093355d11d5..deb857260fb 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContactFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContactFolder.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.PersonalContacts +# A UPN can also be used as -UserId. +Remove-MgUserContactFolder -UserId $userId -ContactFolderId $contactFolderId ``` - -{{ Add description here }} - diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContact.md index 093355d11d5..875b3be2bf2 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContact.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.PersonalContacts +$params = @{ + HomeAddress = @{ + Street = "123 Some street" + City = "Seattle" + State = "WA" + PostalCode = "98121" + } + Birthday = [System.DateTime]::Parse("1974-07-22") +} +# A UPN can also be used as -UserId. +Update-MgUserContact -UserId $userId -ContactId $contactId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContactFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContactFolder.md index 093355d11d5..2273cb95a91 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContactFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContactFolder.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.PersonalContacts +$params = @{ + ParentFolderId = "parentFolderId-value" + DisplayName = "displayName-value" +} +# A UPN can also be used as -UserId. +Update-MgUserContactFolder -UserId $userId -ContactFolderId $contactFolderId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Get-MgGroupPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Get-MgGroupPlannerPlan.md index 093355d11d5..0f4cff71c16 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgGroupPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgGroupPlannerPlan.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +Get-MgGroupPlannerPlan -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlanner.md b/src/Planner/Planner/examples/v1.0/Get-MgPlanner.md index 093355d11d5..f0b5e60a9bc 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlanner.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlanner.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +Get-MgPlanner ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucket.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucket.md index 093355d11d5..37154f4f0fd 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucket.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucket.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +Get-MgPlannerBucket +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Planner +Get-MgPlannerBucket -PlannerBucketId $plannerBucketId ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucketTask.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucketTask.md index 093355d11d5..8e500ea7667 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucketTask.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucketTask.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +Get-MgPlannerBucketTask -PlannerBucketId $plannerBucketId ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlan.md index 093355d11d5..fea21d72ec0 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlan.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +Get-MgPlannerPlan -PlannerPlanId $plannerPlanId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Planner +Get-MgPlannerPlan ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanBucket.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanBucket.md index 093355d11d5..999294be657 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanBucket.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanBucket.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +Get-MgPlannerPlanBucket -PlannerPlanId $plannerPlanId ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanDetail.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanDetail.md index 093355d11d5..543a75e3e48 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanDetail.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanDetail.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +Get-MgPlannerPlanDetail -PlannerPlanId $plannerPlanId ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanTask.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanTask.md index 093355d11d5..cecde547587 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanTask.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanTask.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +Get-MgPlannerPlanTask -PlannerPlanId $plannerPlanId ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTask.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTask.md index 093355d11d5..58dbed30ce4 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTask.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +Get-MgPlannerTask -PlannerTaskId $plannerTaskId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Planner +Get-MgPlannerTask ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskAssignedToTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskAssignedToTaskBoardFormat.md index 093355d11d5..9e17fd2c51a 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskAssignedToTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskAssignedToTaskBoardFormat.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +Get-MgPlannerTaskAssignedToTaskBoardFormat -PlannerTaskId $plannerTaskId ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskBucketTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskBucketTaskBoardFormat.md index 093355d11d5..8ebb6bcebfe 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskBucketTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskBucketTaskBoardFormat.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +Get-MgPlannerTaskBucketTaskBoardFormat -PlannerTaskId $plannerTaskId ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskDetail.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskDetail.md index 093355d11d5..877689d4227 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskDetail.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskDetail.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +Get-MgPlannerTaskDetail -PlannerTaskId $plannerTaskId ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskProgressTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskProgressTaskBoardFormat.md index 093355d11d5..00661a0daa1 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskProgressTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskProgressTaskBoardFormat.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +Get-MgPlannerTaskProgressTaskBoardFormat -PlannerTaskId $plannerTaskId ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerPlan.md index 093355d11d5..ec0504b5222 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerPlan.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +# A UPN can also be used as -UserId. +Get-MgUserPlannerPlan -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerTask.md b/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerTask.md index 093355d11d5..8dec8f81ae5 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerTask.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +# A UPN can also be used as -UserId. +Get-MgUserPlannerTask -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/New-MgPlannerBucket.md b/src/Planner/Planner/examples/v1.0/New-MgPlannerBucket.md index 093355d11d5..9519551e7c7 100644 --- a/src/Planner/Planner/examples/v1.0/New-MgPlannerBucket.md +++ b/src/Planner/Planner/examples/v1.0/New-MgPlannerBucket.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +$params = @{ + Name = "Advertising" + PlanId = "xqQg5FS2LkCp935s-FIFm2QAFkHM" + OrderHint = " !" +} +New-MgPlannerBucket -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/New-MgPlannerPlan.md b/src/Planner/Planner/examples/v1.0/New-MgPlannerPlan.md index 093355d11d5..48c00e689ff 100644 --- a/src/Planner/Planner/examples/v1.0/New-MgPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/New-MgPlannerPlan.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +$params = @{ + Owner = "ebf3b108-5234-4e22-b93d-656d7dae5874" + Title = "title-value" +} +New-MgPlannerPlan -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/New-MgPlannerTask.md b/src/Planner/Planner/examples/v1.0/New-MgPlannerTask.md index 093355d11d5..2e30c4285fe 100644 --- a/src/Planner/Planner/examples/v1.0/New-MgPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/New-MgPlannerTask.md @@ -1,18 +1,16 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +$params = @{ + PlanId = "xqQg5FS2LkCp935s-FIFm2QAFkHM" + BucketId = "hsOf2dhOJkqyYYZEtdzDe2QAIUCR" + Title = "Update client list" + Assignments = @{ + "Fbab97d0-4932-4511-b675-204639209557" = @{ + "@odata.type" = "#microsoft.graph.plannerAssignment" + OrderHint = " !" + } + } +} +New-MgPlannerTask -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerBucket.md b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerBucket.md index 093355d11d5..2968ae85863 100644 --- a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerBucket.md +++ b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerBucket.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +Remove-MgPlannerBucket -PlannerBucketId $plannerBucketId-If-Match W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc=" ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerPlan.md index 093355d11d5..3e6d17db0d5 100644 --- a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerPlan.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +Remove-MgPlannerPlan -PlannerPlanId $plannerPlanId-If-Match W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc=" ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerTask.md b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerTask.md index 093355d11d5..d0e8b34b633 100644 --- a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerTask.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +Remove-MgPlannerTask -PlannerTaskId $plannerTaskId-If-Match W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc=" ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerBucket.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerBucket.md index 093355d11d5..bbac40a4378 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerBucket.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerBucket.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +$params = @{ + Name = "Development" +} +Update-MgPlannerBucket -PlannerBucketId $plannerBucketId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlan.md index 093355d11d5..cd691e60a80 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlan.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +$params = @{ + Title = "title-value" +} +Update-MgPlannerPlan -PlannerPlanId $plannerPlanId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlanDetail.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlanDetail.md index 093355d11d5..10d6caab661 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlanDetail.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlanDetail.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +$params = @{ + SharedWith = @{ + "6463a5ce-2119-4198-9f2a-628761df4a62" = $true + "D95e6152-f683-4d78-9ff5-67ad180fea4a" = $false + } + CategoryDescriptions = @{ + Category1 = "Indoors" + Category3 = $null + } +} +Update-MgPlannerPlanDetail -PlannerPlanId $plannerPlanId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTask.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTask.md index 093355d11d5..67ce75aac3c 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTask.md @@ -1,18 +1,17 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +$params = @{ + Assignments = @{ + "Fbab97d0-4932-4511-b675-204639209557" = @{ + "@odata.type" = "#microsoft.graph.plannerAssignment" + OrderHint = "N9917 U2883!" + } + } + AppliedCategories = @{ + Category3 = $true + Category4 = $false + } +} +Update-MgPlannerTask -PlannerTaskId $plannerTaskId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskAssignedToTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskAssignedToTaskBoardFormat.md index 093355d11d5..bd8abcdc7ba 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskAssignedToTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskAssignedToTaskBoardFormat.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +$params = @{ + OrderHintsByAssignee = @{ + "Aaa27244-1db4-476a-a5cb-004607466324" = "8566473P 957764Jk!" + } +} +Update-MgPlannerTaskAssignedToTaskBoardFormat -PlannerTaskId $plannerTaskId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskBucketTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskBucketTaskBoardFormat.md index 093355d11d5..13eb27399de 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskBucketTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskBucketTaskBoardFormat.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +$params = @{ + OrderHint = "A6673H Ejkl!" +} +Update-MgPlannerTaskBucketTaskBoardFormat -PlannerTaskId $plannerTaskId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskDetail.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskDetail.md index 093355d11d5..7775a8926d9 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskDetail.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskDetail.md @@ -1,18 +1,33 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +$params = @{ + PreviewType = "noPreview" + References = @{ + "Http%3A//developer%2Emicrosoft%2Ecom" = @{ + "@odata.type" = "microsoft.graph.plannerExternalReference" + Alias = "Documentation" + PreviewPriority = " !" + Type = "Other" + } + "Https%3A//developer%2Emicrosoft%2Ecom/en-us/graph/graph-explorer" = @{ + "@odata.type" = "microsoft.graph.plannerExternalReference" + PreviewPriority = " !!" + } + "Http%3A//www%2Ebing%2Ecom" = $null + } + Checklist = @{ + "95e27074-6c4a-447a-aa24-9d718a0b86fa" = @{ + "@odata.type" = "microsoft.graph.plannerChecklistItem" + Title = "Update task details" + IsChecked = $true + } + "D280ed1a-9f6b-4f9c-a962-fb4d00dc50ff" = @{ + "@odata.type" = "microsoft.graph.plannerChecklistItem" + IsChecked = $true + } + "A93c93c5-10a6-4167-9551-8bafa09967a7" = $null + } +} +Update-MgPlannerTaskDetail -PlannerTaskId $plannerTaskId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskProgressTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskProgressTaskBoardFormat.md index 093355d11d5..9867433abe3 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskProgressTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskProgressTaskBoardFormat.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Planner +$params = @{ + OrderHint = "A6673H Ejkl!" +} +Update-MgPlannerTaskProgressTaskBoardFormat -PlannerTaskId $plannerTaskId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogDirectoryAudit.md b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogDirectoryAudit.md index 093355d11d5..50d2c483b08 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogDirectoryAudit.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogDirectoryAudit.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Reports +Get-MgAuditLogDirectoryAudit -DirectoryAuditId $directoryAuditId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Reports +Get-MgAuditLogDirectoryAudit ``` - -{{ Add description here }} - diff --git a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogProvisioning.md b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogProvisioning.md index 093355d11d5..74d3d08a18d 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogProvisioning.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogProvisioning.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Reports +Get-MgAuditLogProvisioning +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Reports +Get-MgAuditLogProvisioning ``` - -{{ Add description here }} - diff --git a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogSignIn.md b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogSignIn.md index 093355d11d5..ec8816353dd 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogSignIn.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogSignIn.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Reports +Get-MgAuditLogSignIn -SignInId $signInId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Reports +Get-MgAuditLogSignIn -Filter "startsWith(appDisplayName,'Graph')" -Top 10 +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Reports +Get-MgAuditLogSignIn ``` - -{{ Add description here }} - diff --git a/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByPrinter.md b/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByPrinter.md index 093355d11d5..0a9198ce115 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByPrinter.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByPrinter.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Reports +Get-MgReportDailyPrintUsageByPrinter -PrintUsageByPrinterId $printUsageByPrinterId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Reports +Get-MgReportDailyPrintUsageByPrinter ``` - -{{ Add description here }} - diff --git a/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByUser.md b/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByUser.md index 093355d11d5..e23309320d6 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByUser.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByUser.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Reports +Get-MgReportDailyPrintUsageByUser -PrintUsageByUserId $printUsageByUserId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Reports +Get-MgReportDailyPrintUsageByUser ``` - -{{ Add description here }} - diff --git a/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByPrinter.md b/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByPrinter.md index 093355d11d5..f8eb4bad521 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByPrinter.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByPrinter.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Reports +Get-MgReportMonthlyPrintUsageByPrinter ``` - -{{ Add description here }} - diff --git a/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByUser.md b/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByUser.md index 093355d11d5..0006ea6859f 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByUser.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByUser.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Reports +Get-MgReportMonthlyPrintUsageByUser ``` - -{{ Add description here }} - diff --git a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Get-MgSchemaExtension.md b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Get-MgSchemaExtension.md index 093355d11d5..25d93e5f3ba 100644 --- a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Get-MgSchemaExtension.md +++ b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Get-MgSchemaExtension.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.SchemaExtensions +Get-MgSchemaExtension -SchemaExtensionId $schemaExtensionId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.SchemaExtensions +Get-MgSchemaExtension -Filter "id eq 'graphlearn_test'" ``` - -{{ Add description here }} - diff --git a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/New-MgSchemaExtension.md b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/New-MgSchemaExtension.md index 093355d11d5..3ca0130c65a 100644 --- a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/New-MgSchemaExtension.md +++ b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/New-MgSchemaExtension.md @@ -1,18 +1,79 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.SchemaExtensions +$params = @{ + Id = "graphlearn_courses" + Description = "Graph Learn training courses extensions" + TargetTypes = @( + "Group" + ) + Properties = @( + @{ + Name = "courseId" + Type = "Integer" + } + @{ + Name = "courseName" + Type = "String" + } + @{ + Name = "courseType" + Type = "String" + } + ) +} +New-MgSchemaExtension -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.SchemaExtensions +$params = @{ + Id = "courses" + Description = "Graph Learn training courses extensions" + TargetTypes = @( + "Group" + ) + Properties = @( + @{ + Name = "courseId" + Type = "Integer" + } + @{ + Name = "courseName" + Type = "String" + } + @{ + Name = "courseType" + Type = "String" + } + ) +} +New-MgSchemaExtension -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.SchemaExtensions +$params = @{ + Id = "courses" + Description = "Graph Learn training courses extensions" + TargetTypes = @( + "Group" + ) + Owner = "50897f70-a455-4adf-87bc-4cf17091d5ac" + Properties = @( + @{ + Name = "courseId" + Type = "Integer" + } + @{ + Name = "courseName" + Type = "String" + } + @{ + Name = "courseType" + Type = "String" + } + ) +} +New-MgSchemaExtension -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Remove-MgSchemaExtension.md b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Remove-MgSchemaExtension.md index 093355d11d5..71471d78f3c 100644 --- a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Remove-MgSchemaExtension.md +++ b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Remove-MgSchemaExtension.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.SchemaExtensions +Remove-MgSchemaExtension -SchemaExtensionId $schemaExtensionId ``` - -{{ Add description here }} - diff --git a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Update-MgSchemaExtension.md b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Update-MgSchemaExtension.md index 093355d11d5..8b12ffcb251 100644 --- a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Update-MgSchemaExtension.md +++ b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Update-MgSchemaExtension.md @@ -1,18 +1,52 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.SchemaExtensions +$params = @{ + Owner = "ef4cb9a8-97c3-4ca7-854b-5cb5ced376fa" + Properties = @( + @{ + Name = "courseId" + Type = "Integer" + } + @{ + Name = "courseName" + Type = "String" + } + @{ + Name = "courseType" + Type = "String" + } + @{ + Name = "courseSupervisors" + Type = "String" + } + ) +} +Update-MgSchemaExtension -SchemaExtensionId $schemaExtensionId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.SchemaExtensions +$params = @{ + Owner = "ef4cb9a8-97c3-4ca7-854b-5cb5ced376fa" + Properties = @( + @{ + Name = "courseId" + Type = "Integer" + } + @{ + Name = "courseName" + Type = "String" + } + @{ + Name = "courseType" + Type = "String" + } + @{ + Name = "courseSupervisors" + Type = "String" + } + ) +} +Update-MgSchemaExtension -SchemaExtensionId $schemaExtensionId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnection.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnection.md index 093355d11d5..a7684d25fce 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnection.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnection.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Search +Get-MgExternalConnection -ExternalConnectionId $externalConnectionId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Search +Get-MgExternalConnection ``` - -{{ Add description here }} - diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionGroup.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionGroup.md index 093355d11d5..2b73c3c0666 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionGroup.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionGroup.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Search +Get-MgExternalConnectionGroup -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId ``` - -{{ Add description here }} - diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionItem.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionItem.md index 093355d11d5..167370591be 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionItem.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionItem.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Search +Get-MgExternalConnectionItem -ExternalConnectionId $externalConnectionId -ExternalItemId $externalItemId ``` - -{{ Add description here }} - diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionOperation.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionOperation.md index 093355d11d5..0606de1d924 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionOperation.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionOperation.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Search +Get-MgExternalConnectionOperation -ExternalConnectionId $externalConnectionId -ConnectionOperationId $connectionOperationId ``` - -{{ Add description here }} - diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionSchema.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionSchema.md index 093355d11d5..9f9c28e076a 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionSchema.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionSchema.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Search +Get-MgExternalConnectionSchema -ExternalConnectionId $externalConnectionId ``` - -{{ Add description here }} - diff --git a/src/Search/Search/examples/v1.0/New-MgExternalConnection.md b/src/Search/Search/examples/v1.0/New-MgExternalConnection.md index 093355d11d5..5f605e321cb 100644 --- a/src/Search/Search/examples/v1.0/New-MgExternalConnection.md +++ b/src/Search/Search/examples/v1.0/New-MgExternalConnection.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Search +$params = @{ + Id = "contosohr" + Name = "Contoso HR" + Description = "Connection to index Contoso HR system" +} +New-MgExternalConnection -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroup.md b/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroup.md index 093355d11d5..214167830f4 100644 --- a/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroup.md +++ b/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroup.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Search +$params = @{ + Id = "31bea3d537902000" + DisplayName = "Contoso Marketing" + Description = "The product marketing team" +} +New-MgExternalConnectionGroup -ExternalConnectionId $externalConnectionId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroupMember.md b/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroupMember.md index 093355d11d5..f9622def219 100644 --- a/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroupMember.md +++ b/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroupMember.md @@ -1,18 +1,27 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Search +$params = @{ + Id = "e5477431-1038-484e-bf69-1dfedb97a110" + Type = "group" +} +New-MgExternalConnectionGroupMember -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Search +$params = @{ + Id = "e811976d-83df-4cbd-8b9b-5215b18aa874" + Type = "user" +} +New-MgExternalConnectionGroupMember -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Search +$params = @{ + Id = "1431b9c38ee647f6a" + Type = "externalGroup" +} +New-MgExternalConnectionGroupMember -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Search/Search/examples/v1.0/Remove-MgExternalConnection.md b/src/Search/Search/examples/v1.0/Remove-MgExternalConnection.md index 093355d11d5..f8e2ff5acd4 100644 --- a/src/Search/Search/examples/v1.0/Remove-MgExternalConnection.md +++ b/src/Search/Search/examples/v1.0/Remove-MgExternalConnection.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Search +Remove-MgExternalConnection -ExternalConnectionId $externalConnectionId ``` - -{{ Add description here }} - diff --git a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroup.md b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroup.md index 093355d11d5..603b3882cd3 100644 --- a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroup.md +++ b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroup.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Search +Remove-MgExternalConnectionGroup -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId ``` - -{{ Add description here }} - diff --git a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroupMember.md b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroupMember.md index 093355d11d5..5bd77ca08bd 100644 --- a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroupMember.md +++ b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroupMember.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Search +Remove-MgExternalConnectionGroupMember -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId -IdentityId $identityId ``` - -{{ Add description here }} - diff --git a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionItem.md b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionItem.md index 093355d11d5..1518d7fcb42 100644 --- a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionItem.md +++ b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionItem.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Search +Remove-MgExternalConnectionItem -ExternalConnectionId $externalConnectionId -ExternalItemId $externalItemId ``` - -{{ Add description here }} - diff --git a/src/Search/Search/examples/v1.0/Update-MgExternalConnection.md b/src/Search/Search/examples/v1.0/Update-MgExternalConnection.md index 093355d11d5..77f9ceba958 100644 --- a/src/Search/Search/examples/v1.0/Update-MgExternalConnection.md +++ b/src/Search/Search/examples/v1.0/Update-MgExternalConnection.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Search +$params = @{ + Name = "Contoso HR Service Tickets" + Description = "Connection to index HR service tickets" +} +Update-MgExternalConnection -ExternalConnectionId $externalConnectionId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Search/Search/examples/v1.0/Update-MgExternalConnectionGroup.md b/src/Search/Search/examples/v1.0/Update-MgExternalConnectionGroup.md index 093355d11d5..407231ba97e 100644 --- a/src/Search/Search/examples/v1.0/Update-MgExternalConnectionGroup.md +++ b/src/Search/Search/examples/v1.0/Update-MgExternalConnectionGroup.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Search +$params = @{ + DisplayName = "Contoso Marketing" + Description = "The product marketing team" +} +Update-MgExternalConnectionGroup -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Search/Search/examples/v1.0/Update-MgExternalConnectionItem.md b/src/Search/Search/examples/v1.0/Update-MgExternalConnectionItem.md index 093355d11d5..82c04fde1c3 100644 --- a/src/Search/Search/examples/v1.0/Update-MgExternalConnectionItem.md +++ b/src/Search/Search/examples/v1.0/Update-MgExternalConnectionItem.md @@ -1,18 +1,14 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Search +$params = @{ + Acl = @( + @{ + Type = "everyone" + Value = "67a141d8-cf4e-4528-ba07-bed21bfacd2d" + AccessType = "grant" + } + ) +} +Update-MgExternalConnectionItem -ExternalConnectionId $externalConnectionId -ExternalItemId $externalItemId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseCustodianHold.md b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseCustodianHold.md index 093355d11d5..89f7e7ebfd3 100644 --- a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseCustodianHold.md +++ b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseCustodianHold.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Add-MgSecurityCaseEdiscoveryCaseCustodianHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +Add-MgSecurityCaseEdiscoveryCaseCustodianHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md index 093355d11d5..b8d304930a4 100644 --- a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md +++ b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag.md b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag.md index 093355d11d5..7c66d06c373 100644 --- a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag.md +++ b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +$params = @{ + TagsToAdd = @( + @{ + Id = "d3d99dc704a74801b792b3e1e722aa0d" + } + ) +} +Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -EdiscoveryReviewSetQueryId $ediscoveryReviewSetQueryId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md index 093355d11d5..313f635daac 100644 --- a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md +++ b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +$params = @{ + Search = @{ + Id = "c17e91d6-6bc0-4ecb-b388-269ea3d4ffb7" + } + AdditionalDataOptions = "linkedFiles" +} +Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Close-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Close-MgSecurityCaseEdiscoveryCase.md index 093355d11d5..66b123738c9 100644 --- a/src/Security/Security/examples/v1.0/Close-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Close-MgSecurityCaseEdiscoveryCase.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Close-MgSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityAlert.md b/src/Security/Security/examples/v1.0/Get-MgSecurityAlert.md index 093355d11d5..a395fdcbd0e 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityAlert.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityAlert.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityAlert -AlertId $alertId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +Get-MgSecurityAlert ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCase.md index 093355d11d5..d045fb8a3b8 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCase.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCase ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodian.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodian.md index 093355d11d5..3dcf3a425de 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodian.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodian.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation.md index 093355d11d5..107d1f1ee34 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md index 093355d11d5..2ee646bee1e 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md index 093355d11d5..54530e8c91c 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource.md index 093355d11d5..910e10232d9 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md index 093355d11d5..3a0ac821f7d 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -ExpandProperty "dataSource" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -ExpandProperty "dataSource" -OutFile $outFileId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId -ExpandProperty "dataSource" ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseOperation.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseOperation.md index 093355d11d5..7e6046827b6 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseOperation.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseOperation.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseOperation -EdiscoveryCaseId $ediscoveryCaseId -CaseOperationId $caseOperationId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseOperation -EdiscoveryCaseId $ediscoveryCaseId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSet.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSet.md index 093355d11d5..3d72911400a 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSet.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSet.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseReviewSet -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseReviewSet -EdiscoveryCaseId $ediscoveryCaseId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md index 093355d11d5..bffa2654397 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -EdiscoveryReviewSetQueryId $ediscoveryReviewSetQueryId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearch.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearch.md index 093355d11d5..c07f209fa58 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearch.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearch.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseSearch -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseSearch -EdiscoveryCaseId $ediscoveryCaseId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource.md index 093355d11d5..3ace457162d 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -OutFile $outFileId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource.md index 093355d11d5..4ecef13e00f 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation.md index 093355d11d5..65159d17af7 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource.md index 093355d11d5..058e9bd76fc 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSetting.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSetting.md index 093355d11d5..dbd386724ec 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSetting.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSetting.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseSetting -EdiscoveryCaseId $ediscoveryCaseId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md index 093355d11d5..64fb3174a99 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseTag -EdiscoveryCaseId $ediscoveryCaseId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +Get-MgSecurityCaseEdiscoveryCaseTag -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewTagId $ediscoveryReviewTagId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScore.md b/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScore.md index 093355d11d5..2b344b21682 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScore.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScore.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecuritySecureScore -SecureScoreId $secureScoreId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +Get-MgSecuritySecureScore -Top 1 ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScoreControlProfile.md b/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScoreControlProfile.md index 093355d11d5..a723733cf14 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScoreControlProfile.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScoreControlProfile.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Get-MgSecuritySecureScoreControlProfile -SecureScoreControlProfileId $secureScoreControlProfileId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +Get-MgSecuritySecureScoreControlProfile ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Initialize-MgSecurityCaseEdiscoveryCaseCustodian.md b/src/Security/Security/examples/v1.0/Initialize-MgSecurityCaseEdiscoveryCaseCustodian.md index 093355d11d5..340865ab8fe 100644 --- a/src/Security/Security/examples/v1.0/Initialize-MgSecurityCaseEdiscoveryCaseCustodian.md +++ b/src/Security/Security/examples/v1.0/Initialize-MgSecurityCaseEdiscoveryCaseCustodian.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Initialize-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md b/src/Security/Security/examples/v1.0/Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md index 093355d11d5..d3114a823fe 100644 --- a/src/Security/Security/examples/v1.0/Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md +++ b/src/Security/Security/examples/v1.0/Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy -EdiscoveryCaseId $ediscoveryCaseId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md b/src/Security/Security/examples/v1.0/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md index 093355d11d5..2cc263bdf39 100644 --- a/src/Security/Security/examples/v1.0/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md +++ b/src/Security/Security/examples/v1.0/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Invoke-MgReopenSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Invoke-MgReopenSecurityCaseEdiscoveryCase.md index 093355d11d5..9bdeb1983c9 100644 --- a/src/Security/Security/examples/v1.0/Invoke-MgReopenSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Invoke-MgReopenSecurityCaseEdiscoveryCase.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Invoke-MgReopenSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCase.md index 093355d11d5..f3366f2c6ca 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCase.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +$params = @{ + DisplayName = "CONTOSO LITIGATION-005" + Description = "Project Bazooka" + ExternalId = "324516" +} +New-MgSecurityCaseEdiscoveryCase -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodian.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodian.md index 093355d11d5..e37d0c78922 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodian.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodian.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +$params = @{ + Email = "AdeleV@contoso.com" +} +New-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md index 093355d11d5..042ae545c72 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +$params = @{ + Site = @{ + WebUrl = "https://m365x809305.sharepoint.com/sites/Retail" + } +} +New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md index 093355d11d5..7214007081a 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md @@ -1,18 +1,29 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +$params = @{ + Group = @{ + Mail = "SOCTeam@M365x809305.onmicrosoft.com" + } + IncludedSources = "mailbox, site" +} +New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +$params = @{ + "Group@odata.bind" = "https://graph.microsoft.com/v1.0/groups/93f90172-fe05-43ea-83cf-ff785a40d610" + IncludedSources = "mailbox" +} +New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Security +$params = @{ + "Group@odata.bind" = "https://graph.microsoft.com/v1.0/groups/93f90172-fe05-43ea-83cf-ff785a40d610" + IncludedSources = "mailbox" +} +New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md index 093355d11d5..01bc610d8fb 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +$params = @{ + DataSource = @{ + "@odata.type" = "microsoft.graph.security.siteSource" + } +} +New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSet.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSet.md index 093355d11d5..60dd5d15264 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSet.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSet.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +$params = @{ + DisplayName = "My review set 2" +} +New-MgSecurityCaseEdiscoveryCaseReviewSet -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md index 093355d11d5..e84c8d96cd9 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +$params = @{ + DisplayName = "My Query 1" + ContentQuery = "(Author="edison")" +} +New-MgSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseSearch.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseSearch.md index 093355d11d5..d469d41c407 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseSearch.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseSearch.md @@ -1,18 +1,18 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +$params = @{ + DisplayName = "My search 2" + Description = "My first search" + ContentQuery = "(Author="edison")" + "CustodianSources@odata.bind" = @( + "https://graph.microsoft.com/v1.0/security/cases/ediscoveryCases/b0073e4e-4184-41c6-9eb7-8c8cc3e2288b/custodians/0053a61a3b6c42738f7606791716a22a/userSources/43434642-3137-3138-3432-374142313639" + "https://graph.microsoft.com/v1.0/security/cases/ediscoveryCases/b0073e4e-4184-41c6-9eb7-8c8cc3e2288b/custodians/0053a61a3b6c42738f7606791716a22a/siteSources/169718e3-a8df-449d-bef4-ee09fe1ddc5d" + "https://graph.microsoft.com/v1.0/security/cases/ediscoveryCases('b0073e4e-4184-41c6-9eb7-8c8cc3e2288b')/custodians('0053a61a3b6c42738f7606791716a22a')/unifiedGroupSources('32e14fa4-3106-4bd2-a245-34bf0c718a7e')" + ) + "NoncustodialSources@odata.bind" = @( + "https://graph.microsoft.com/v1.0/security/cases/ediscoveryCases/b0073e4e-4184-41c6-9eb7-8c8cc3e2288b/noncustodialdatasources/35393639323133394345384344303043" + ) +} +New-MgSecurityCaseEdiscoveryCaseSearch -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseCustodian.md b/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseCustodian.md index 093355d11d5..e9128aa2120 100644 --- a/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseCustodian.md +++ b/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseCustodian.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Publish-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md b/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md index 093355d11d5..cae371326cd 100644 --- a/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md +++ b/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCase.md index 093355d11d5..eea2f54f644 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCase.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Remove-MgSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseCustodianHold.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseCustodianHold.md index 093355d11d5..d2bd47984cc 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseCustodianHold.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseCustodianHold.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Remove-MgSecurityCaseEdiscoveryCaseCustodianHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md index 093355d11d5..d0cfa1eb62e 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md index 093355d11d5..8b4a56c073f 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -EdiscoveryReviewSetQueryId $ediscoveryReviewSetQueryId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseSearch.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseSearch.md index 093355d11d5..1f136b1d8ff 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseSearch.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseSearch.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Remove-MgSecurityCaseEdiscoveryCaseSearch -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseTag.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseTag.md index 093355d11d5..ba2d8cc0d37 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseTag.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseTag.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Remove-MgSecurityCaseEdiscoveryCaseTag -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewTagId $ediscoveryReviewTagId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault.md b/src/Security/Security/examples/v1.0/Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault.md index 093355d11d5..7dc6023bd5d 100644 --- a/src/Security/Security/examples/v1.0/Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault.md +++ b/src/Security/Security/examples/v1.0/Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault -EdiscoveryCaseId $ediscoveryCaseId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityAlert.md b/src/Security/Security/examples/v1.0/Update-MgSecurityAlert.md index 093355d11d5..29c93824fab 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityAlert.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityAlert.md @@ -1,18 +1,42 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +$params = @{ + AssignedTo = "String" + ClosedDateTime = [System.DateTime]::Parse("String (timestamp)") + Comments = @( + "String" + ) + Feedback = "@odata.type: microsoft.graph.alertFeedback" + Status = "@odata.type: microsoft.graph.alertStatus" + Tags = @( + "String" + ) + VendorInformation = @{ + Provider = "String" + Vendor = "String" + } +} +Update-MgSecurityAlert -AlertId $alertId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +$params = @{ + AssignedTo = "String" + ClosedDateTime = [System.DateTime]::Parse("String (timestamp)") + Comments = @( + "String" + ) + Feedback = "@odata.type: microsoft.graph.alertFeedback" + Status = "@odata.type: microsoft.graph.alertStatus" + Tags = @( + "String" + ) + VendorInformation = @{ + Provider = "String" + Vendor = "String" + } +} +Update-MgSecurityAlert -AlertId $alertId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCase.md index 093355d11d5..d910c3709a8 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCase.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +$params = @{ + DisplayName = "My Case 1 - Renamed" + Description = "Updated description" +} +Update-MgSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseCustodianIndex.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseCustodianIndex.md index 093355d11d5..6f921592d1a 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseCustodianIndex.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseCustodianIndex.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Update-MgSecurityCaseEdiscoveryCaseCustodianIndex -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md index 093355d11d5..410299c7c21 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md index 093355d11d5..3b27d34cd72 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +$params = @{ + DisplayName = "My Query 1 (update)" + ContentQuery = "(Author="edisons")" +} +Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -EdiscoveryReviewSetQueryId $ediscoveryReviewSetQueryId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSearch.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSearch.md index 093355d11d5..6c942baac3d 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSearch.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSearch.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +$params = @{ + DisplayName = "Teams search" +} +Update-MgSecurityCaseEdiscoveryCaseSearch -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSetting.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSetting.md index 093355d11d5..05759704908 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSetting.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSetting.md @@ -1,18 +1,17 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +$params = @{ + "@odata.type" = "#microsoft.graph.security.ediscoveryCaseSettings" + RedundancyDetection = @{ + "@odata.type" = "microsoft.graph.security.redundancyDetectionSettings" + } + TopicModeling = @{ + "@odata.type" = "microsoft.graph.security.topicModelingSettings" + } + Ocr = @{ + "@odata.type" = "microsoft.graph.security.ocrSettings" + } +} +Update-MgSecurityCaseEdiscoveryCaseSetting -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Security/Security/examples/v1.0/Update-MgSecuritySecureScoreControlProfile.md b/src/Security/Security/examples/v1.0/Update-MgSecuritySecureScoreControlProfile.md index 093355d11d5..cfdd82ceacc 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecuritySecureScoreControlProfile.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecuritySecureScoreControlProfile.md @@ -1,18 +1,32 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Security +$params = @{ + AssignedTo = "" + Comment = "control is reviewed" + State = "Reviewed" + VendorInformation = @{ + Provider = "SecureScore" + ProviderVersion = $null + SubProvider = $null + Vendor = "Microsoft" + } +} +Update-MgSecuritySecureScoreControlProfile -SecureScoreControlProfileId $secureScoreControlProfileId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Security +$params = @{ + AssignedTo = "" + Comment = "control is reviewed" + State = "Reviewed" + VendorInformation = @{ + Provider = "SecureScore" + ProviderVersion = $null + SubProvider = $null + Vendor = "Microsoft" + } +} +Update-MgSecuritySecureScoreControlProfile -SecureScoreControlProfileId $secureScoreControlProfileId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopy.md b/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopy.md index 093355d11d5..7760ddb3749 100644 --- a/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopy.md +++ b/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopy.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + ContentType = "https://graph.microsoft.com/v1.0/sites/{site-id}/contentTypes/0x0101" +} +Add-MgSiteListContentTypeCopy -SiteId $siteId -ListId $listId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopyFromContentTypeHub.md b/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopyFromContentTypeHub.md index 093355d11d5..595909e1d44 100644 --- a/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopyFromContentTypeHub.md +++ b/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopyFromContentTypeHub.md @@ -1,18 +1,24 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + ContentTypeId = "0x0101" +} +Add-MgSiteListContentTypeCopyFromContentTypeHub -SiteId $siteId -ListId $listId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Sites +$params = @{ + ContentTypeId = "0x0101" +} +Add-MgSiteListContentTypeCopyFromContentTypeHub -SiteId $siteId -ListId $listId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Sites +$params = @{ + ContentTypeId = "0x0101" +} +Add-MgSiteListContentTypeCopyFromContentTypeHub -SiteId $siteId -ListId $listId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Copy-MgSiteContentTypeToDefaultContentLocation.md b/src/Sites/Sites/examples/v1.0/Copy-MgSiteContentTypeToDefaultContentLocation.md index 093355d11d5..e25b00e2c5d 100644 --- a/src/Sites/Sites/examples/v1.0/Copy-MgSiteContentTypeToDefaultContentLocation.md +++ b/src/Sites/Sites/examples/v1.0/Copy-MgSiteContentTypeToDefaultContentLocation.md @@ -1,18 +1,14 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + SourceFile = @{ + SharepointIds = @{ + ListId = "e2ecf63b-b0fd-48f7-a54a-d8c15479e3b0" + ListItemId = "2" + } + } + DestinationFileName = "newname.txt" +} +Copy-MgSiteContentTypeToDefaultContentLocation -SiteId $siteId -ContentTypeId $contentTypeId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSite.md b/src/Sites/Sites/examples/v1.0/Get-MgSite.md index 093355d11d5..115edb774ef 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSite.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSite.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSite -SiteId $siteId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Sites +Get-MgSite -Search "{query}" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Sites +Get-MgSite -Search "{query}" -OutFile $outFileId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteColumn.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteColumn.md index 093355d11d5..d96ff3ab847 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteColumn.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteColumn.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteColumn -SiteId $siteId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteContentType.md index 093355d11d5..ee642f6195f 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteContentType.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteContentType -SiteId $siteId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Sites +Get-MgSiteContentType -SiteId $siteId -OutFile $outFileId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Sites +Get-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteContentTypeColumn.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteContentTypeColumn.md index 093355d11d5..f6ae22c2c06 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteContentTypeColumn.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteContentTypeColumn.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteContentTypeColumn -SiteId $siteId -ContentTypeId $contentTypeId -ColumnDefinitionId $columnDefinitionId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Sites +Get-MgSiteContentTypeColumn -SiteId $siteId -ContentTypeId $contentTypeId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteDefaultDrive.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteDefaultDrive.md index 093355d11d5..38b8973c43a 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteDefaultDrive.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteDefaultDrive.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteDefaultDrive -SiteId $siteId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md index 093355d11d5..0d3b3f5136e 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteDrive -SiteId $siteId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteList.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteList.md index 093355d11d5..2295fe8b4d8 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteList.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteList.md @@ -1,18 +1,30 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Sites +Get-MgSiteList -SiteId $siteId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Sites +Get-MgSiteList -SiteId $siteId -ListId $listId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Sites +Get-MgSiteList -SiteId $siteId -ListId $listId +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Sites +Get-MgSiteList -SiteId $siteId -ListId $listId -Property "id,name,lastModifiedDateTime" -ExpandProperty "columns(select=name,description),items)" +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Sites +Get-MgSiteList -SiteId $siteId -ListId $listId +``` +###Example 6 +``` +Import-Module Microsoft.Graph.Sites +Get-MgSiteList -SiteId $siteId -ListId $listId +``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListColumn.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListColumn.md index 093355d11d5..419462af2da 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListColumn.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListColumn.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteListColumn -SiteId $siteId -ListId $listId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentType.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentType.md index 093355d11d5..cb235b05033 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentType.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentType.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteListContentType -SiteId $siteId -ListId $listId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentTypeCompatibleHubContentType.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentTypeCompatibleHubContentType.md index 093355d11d5..edfbf6a5450 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentTypeCompatibleHubContentType.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentTypeCompatibleHubContentType.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteListContentTypeCompatibleHubContentType -SiteId $siteId -ListId $listId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItem.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItem.md index 093355d11d5..152b1184157 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItem.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItem.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteListItem -SiteId $siteId -ListId $listId -ListItemId $listItemId -ExpandProperty "fields" ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemDocumentSetVersion.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemDocumentSetVersion.md index 093355d11d5..7838bc51584 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemDocumentSetVersion.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemDocumentSetVersion.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -DocumentSetVersionId $documentSetVersionId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Sites +Get-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemVersion.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemVersion.md index 093355d11d5..0bb722a345f 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemVersion.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemVersion.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteListItemVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Sites +Get-MgSiteListItemVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -ListItemVersionId $listItemVersionId -ExpandProperty "fields" ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSitePermission.md b/src/Sites/Sites/examples/v1.0/Get-MgSitePermission.md index 093355d11d5..054adde64b3 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSitePermission.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSitePermission.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSitePermission -SiteId $siteId -PermissionId $permissionId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Sites +Get-MgSitePermission -SiteId $siteId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStore.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStore.md index 093355d11d5..e3d2239eccb 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStore.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStore.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteTermStore -SiteId $siteId -OutFile $outFileId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroup.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroup.md index 093355d11d5..0f085e00b22 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroup.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroup.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteTermStoreGroup -SiteId $siteId -OutFile $outFileId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Sites +Get-MgSiteTermStoreGroup -SiteId $siteId -GroupId $groupId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Sites +Get-MgSiteTermStoreGroup -SiteId $siteId -GroupId $groupId -Property "*,parentSiteId" ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSet.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSet.md index 093355d11d5..b346c971ef1 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSet.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSet.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteTermStoreGroupSet -SiteId $siteId -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSetTerm.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSetTerm.md index 093355d11d5..4e72436674b 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSetTerm.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSetTerm.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteTermStoreGroupSetTerm -SiteId $siteId -GroupId $groupId -SetId $setId -TermId $termId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSet.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSet.md index 093355d11d5..48f95e21a59 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSet.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSet.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteTermStoreSet -SiteId $siteId -SetId $setId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetChild.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetChild.md index 093355d11d5..87224133f78 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetChild.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetChild.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteTermStoreSetChild -SiteId $siteId -SetId $setId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetRelation.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetRelation.md index 093355d11d5..80acd3bc887 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetRelation.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetRelation.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSiteTermStoreSetRelation -SiteId $siteId -SetId $setId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSubSite.md b/src/Sites/Sites/examples/v1.0/Get-MgSubSite.md index 093355d11d5..6a3a808ee9c 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSubSite.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSubSite.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Get-MgSubSite -SiteId $siteId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Get-MgUserFollowedSite.md b/src/Sites/Sites/examples/v1.0/Get-MgUserFollowedSite.md index 093355d11d5..ec464f93a01 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgUserFollowedSite.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgUserFollowedSite.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +# A UPN can also be used as -UserId. +Get-MgUserFollowedSite -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Join-MgSiteContentTypeWithHubSite.md b/src/Sites/Sites/examples/v1.0/Join-MgSiteContentTypeWithHubSite.md index 093355d11d5..31c081a2221 100644 --- a/src/Sites/Sites/examples/v1.0/Join-MgSiteContentTypeWithHubSite.md +++ b/src/Sites/Sites/examples/v1.0/Join-MgSiteContentTypeWithHubSite.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + HubSiteUrls = @( + "https://graph.microsoft.com/v1.0/sites/{site-id}" + ) + PropagateToExistingLists = $false +} +Join-MgSiteContentTypeWithHubSite -SiteId $siteId -ContentTypeId $contentTypeId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteColumn.md b/src/Sites/Sites/examples/v1.0/New-MgSiteColumn.md index 093355d11d5..6a6d06c3a5b 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteColumn.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteColumn.md @@ -1,18 +1,18 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + Description = "test" + EnforceUniqueValues = $false + Hidden = $false + Indexed = $false + Name = "Title" + Text = @{ + AllowMultipleLines = $false + AppendChangesToExistingText = $false + LinesForEditing = 0 + MaxLength = 255 + } +} +New-MgSiteColumn -SiteId $siteId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/New-MgSiteContentType.md index 093355d11d5..93c80afa0a5 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteContentType.md @@ -1,18 +1,14 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + Name = "docSet" + Description = "custom docset" + Base = @{ + Name = "Document Set" + Id = "0x0120D520" + } + Group = "Document Set Content Types" +} +New-MgSiteContentType -SiteId $siteId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteContentTypeColumn.md b/src/Sites/Sites/examples/v1.0/New-MgSiteContentTypeColumn.md index 093355d11d5..57b3ee39c90 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteContentTypeColumn.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteContentTypeColumn.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + "SourceColumn@odata.bind" = "https://graph.microsoft.com/v1.0/sites/root/columns/99ddcf45-e2f7-4f17-82b0-6fba34445103" +} +New-MgSiteContentTypeColumn -SiteId $siteId -ContentTypeId $contentTypeId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteList.md b/src/Sites/Sites/examples/v1.0/New-MgSiteList.md index 093355d11d5..8200c2a654e 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteList.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteList.md @@ -1,18 +1,23 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + DisplayName = "Books" + Columns = @( + @{ + Name = "Author" + Text = @{ + } + } + @{ + Name = "PageCount" + Number = @{ + } + } + ) + List = @{ + Template = "genericList" + } +} +New-MgSiteList -SiteId $siteId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteListColumn.md b/src/Sites/Sites/examples/v1.0/New-MgSiteListColumn.md index 093355d11d5..8a475fa884d 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteListColumn.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteListColumn.md @@ -1,18 +1,18 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + Description = "test" + EnforceUniqueValues = $false + Hidden = $false + Indexed = $false + Name = "Title" + Text = @{ + AllowMultipleLines = $false + AppendChangesToExistingText = $false + LinesForEditing = 0 + MaxLength = 255 + } +} +New-MgSiteListColumn -SiteId $siteId -ListId $listId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteListItem.md b/src/Sites/Sites/examples/v1.0/New-MgSiteListItem.md index 093355d11d5..5a2caafa6ea 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteListItem.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteListItem.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + Fields = @{ + Title = "Widget" + Color = "Purple" + Weight = + } +} +New-MgSiteListItem -SiteId $siteId -ListId $listId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteListItemDocumentSetVersion.md b/src/Sites/Sites/examples/v1.0/New-MgSiteListItemDocumentSetVersion.md index 093355d11d5..b8e06175e28 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteListItemDocumentSetVersion.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteListItemDocumentSetVersion.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + Comment = "v1" + ShouldCaptureMinorVersion = $false +} +New-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/New-MgSitePermission.md b/src/Sites/Sites/examples/v1.0/New-MgSitePermission.md index 093355d11d5..02e2b76cf6d 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSitePermission.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSitePermission.md @@ -1,18 +1,18 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + Roles = @( + "write" + ) + GrantedToIdentities = @( + @{ + Application = @{ + Id = "89ea5c94-7736-4e25-95ad-3fa95f62b66e" + DisplayName = "Contoso Time Manager App" + } + } + ) +} +New-MgSitePermission -SiteId $siteId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreGroup.md b/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreGroup.md index 093355d11d5..869453fee7f 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreGroup.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreGroup.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + DisplayName = "myGroup" +} +New-MgSiteTermStoreGroup -SiteId $siteId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreSetChild.md b/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreSetChild.md index 093355d11d5..c90bd1c9df1 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreSetChild.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreSetChild.md @@ -1,18 +1,14 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + Labels = @( + @{ + LanguageTag = "en-US" + Name = "Car" + IsDefault = $true + } + ) +} +New-MgSiteTermStoreSetChild -SiteId $siteId -SetId $setId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Publish-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Publish-MgSiteContentType.md index 093355d11d5..cb2fcd908f8 100644 --- a/src/Sites/Sites/examples/v1.0/Publish-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Publish-MgSiteContentType.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Publish-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentType.md index 093355d11d5..81179f03694 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentType.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Remove-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentTypeColumn.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentTypeColumn.md index 093355d11d5..c9063990266 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentTypeColumn.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentTypeColumn.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Remove-MgSiteContentTypeColumn -SiteId $siteId -ContentTypeId $contentTypeId -ColumnDefinitionId $columnDefinitionId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItem.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItem.md index 093355d11d5..0053edfd143 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItem.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItem.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Remove-MgSiteListItem -SiteId $siteId -ListId $listId -ListItemId $listItemId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItemDocumentSetVersion.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItemDocumentSetVersion.md index 093355d11d5..d2de8fed9a5 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItemDocumentSetVersion.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItemDocumentSetVersion.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Remove-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -DocumentSetVersionId $documentSetVersionId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSitePermission.md b/src/Sites/Sites/examples/v1.0/Remove-MgSitePermission.md index 093355d11d5..9705b223617 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSitePermission.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSitePermission.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Remove-MgSitePermission -SiteId $siteId -PermissionId $permissionId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreGroup.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreGroup.md index 093355d11d5..b7fbb5ff453 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreGroup.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreGroup.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Remove-MgSiteTermStoreGroup -SiteId $siteId -GroupId $groupId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSet.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSet.md index 093355d11d5..b28805fb328 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSet.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSet.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Remove-MgSiteTermStoreSet -SiteId $siteId -SetId $setId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSetTerm.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSetTerm.md index 093355d11d5..ec746c7826c 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSetTerm.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSetTerm.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Remove-MgSiteTermStoreSetTerm -SiteId $siteId -SetId $setId -TermId $termId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemDocumentSetVersion.md b/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemDocumentSetVersion.md index 093355d11d5..c121870c7c2 100644 --- a/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemDocumentSetVersion.md +++ b/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemDocumentSetVersion.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Restore-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -DocumentSetVersionId $documentSetVersionId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemVersion.md b/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemVersion.md index 093355d11d5..03e41ae7af1 100644 --- a/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemVersion.md +++ b/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemVersion.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Restore-MgSiteListItemVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -ListItemVersionId $listItemVersionId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Test-MgSiteContentTypePublished.md b/src/Sites/Sites/examples/v1.0/Test-MgSiteContentTypePublished.md index 093355d11d5..49c0c4b7dc1 100644 --- a/src/Sites/Sites/examples/v1.0/Test-MgSiteContentTypePublished.md +++ b/src/Sites/Sites/examples/v1.0/Test-MgSiteContentTypePublished.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Test-MgSiteContentTypePublished -SiteId $siteId -ContentTypeId $contentTypeId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Unpublish-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Unpublish-MgSiteContentType.md index 093355d11d5..a8b625d49f7 100644 --- a/src/Sites/Sites/examples/v1.0/Unpublish-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Unpublish-MgSiteContentType.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +Unpublish-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteContentType.md index 093355d11d5..b32a2dd5a26 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteContentType.md @@ -1,18 +1,47 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + Name = "updatedCt" + DocumentSet = @{ + ShouldPrefixNameToFile = $true + AllowedContentTypes = @( + @{ + Id = "0x0101" + Name = "Document" + } + ) + DefaultContents = @( + @{ + FileName = "a.txt" + ContentType = @{ + Id = "0x0101" + } + } + @{ + FileName = "b.txt" + ContentType = @{ + Id = "0x0101" + } + } + ) + SharedColumns = @( + @{ + Name = "Description" + Id = "cbb92da4-fd46-4c7d-af6c-3128c2a5576e" + } + @{ + Name = "Address" + Id = "fc2e188e-ba91-48c9-9dd3-16431afddd50" + } + ) + WelcomePageColumns = @( + @{ + Name = "Address" + Id = "fc2e188e-ba91-48c9-9dd3-16431afddd50" + } + ) + } +} +Update-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteListItemField.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteListItemField.md index 093355d11d5..3328c8ebea1 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteListItemField.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteListItemField.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + Color = "Fuchsia" + Quantity = +} +Update-MgSiteListItemField -SiteId $siteId -ListId $listId -ListItemId $listItemId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSitePermission.md b/src/Sites/Sites/examples/v1.0/Update-MgSitePermission.md index 093355d11d5..f1705473133 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSitePermission.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSitePermission.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + Roles = @( + "read" + ) +} +Update-MgSitePermission -SiteId $siteId -PermissionId $permissionId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStore.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStore.md index 093355d11d5..32d96d89637 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStore.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStore.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + DefaultLanguageTag = "en-US" +} +Update-MgSiteTermStore -SiteId $siteId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSet.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSet.md index 093355d11d5..4aa196a3dec 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSet.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSet.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + Description = "mySet" +} +Update-MgSiteTermStoreSet -SiteId $siteId -SetId $setId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSetTerm.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSetTerm.md index 093355d11d5..738f4d16d93 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSetTerm.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSetTerm.md @@ -1,18 +1,14 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Sites +$params = @{ + Labels = @( + @{ + Name = "changedLabel" + LanguageTag = "en-US" + IsDefault = $true + } + ) +} +Update-MgSiteTermStoreSetTerm -SiteId $siteId -SetId $setId -TermId $termId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Add-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/Add-MgTeamMember.md index 093355d11d5..c4007741b61 100644 --- a/src/Teams/Teams/examples/v1.0/Add-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/Add-MgTeamMember.md @@ -1,18 +1,66 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + Values = @( + @{ + "@odata.type" = "microsoft.graph.aadUserConversationMember" + Roles = @( + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('18a80140-b0fb-4489-b360-2f6efaf225a0')" + } + @{ + "@odata.type" = "microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('86503198-b81b-43fe-81ee-ad45b8848ac9')" + } + ) +} +Add-MgTeamMember -TeamId $teamId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Values = @( + @{ + "@odata.type" = "microsoft.graph.aadUserConversationMember" + Roles = @( + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('18a80140-b0fb-4489-b360-2f6efaf225a0')" + } + @{ + "@odata.type" = "microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('86503198-b81b-43fe-81ee-ad45b8848ac9')" + } + ) +} +Add-MgTeamMember -TeamId $teamId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Values = @( + @{ + "@odata.type" = "microsoft.graph.aadUserConversationMember" + Roles = @( + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('jacob@contoso.com')" + } + @{ + "@odata.type" = "microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('alex@contoso.com')" + } + ) +} +Add-MgTeamMember -TeamId $teamId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Complete-MgTeamChannelMigration.md b/src/Teams/Teams/examples/v1.0/Complete-MgTeamChannelMigration.md index 093355d11d5..ffdb8f46faf 100644 --- a/src/Teams/Teams/examples/v1.0/Complete-MgTeamChannelMigration.md +++ b/src/Teams/Teams/examples/v1.0/Complete-MgTeamChannelMigration.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Complete-MgTeamChannelMigration -TeamId $teamId -ChannelId $channelId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Complete-MgTeamMigration.md b/src/Teams/Teams/examples/v1.0/Complete-MgTeamMigration.md index 093355d11d5..8338e797fed 100644 --- a/src/Teams/Teams/examples/v1.0/Complete-MgTeamMigration.md +++ b/src/Teams/Teams/examples/v1.0/Complete-MgTeamMigration.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Complete-MgTeamMigration -TeamId $teamId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Copy-MgTeam.md b/src/Teams/Teams/examples/v1.0/Copy-MgTeam.md index 093355d11d5..e39dfd8af99 100644 --- a/src/Teams/Teams/examples/v1.0/Copy-MgTeam.md +++ b/src/Teams/Teams/examples/v1.0/Copy-MgTeam.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + DisplayName = "Library Assist" + Description = "Self help community for library" + MailNickname = "libassist" + PartsToClone = "apps,tabs,settings,channels,members" + Visibility = "public" +} +Copy-MgTeam -TeamId $teamId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamApp.md b/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamApp.md index 093355d11d5..54d5e98b314 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamApp.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamApp.md @@ -1,18 +1,25 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Teams +Get-MgAppCatalogTeamApp -Filter "externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee'" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgAppCatalogTeamApp -Filter "id eq 'b1c5353a-7aca-41b3-830f-27d5218fe0e5'" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +Get-MgAppCatalogTeamApp -ExpandProperty "appDefinitions(`$expand=bot)" -Filter "appDefinitions/any(a:a/bot ne null)" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Teams +Get-MgAppCatalogTeamApp -Filter "id eq '876df28f-2e78-423b-94a5-44181bd0e225'" -ExpandProperty "appDefinitions" +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Teams +Get-MgAppCatalogTeamApp -Filter "distributionMethod eq 'organization'" +``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md b/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md index 093355d11d5..b6d4929d0f7 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgAppCatalogTeamAppDefinitionBot -TeamsAppId $teamsAppId -TeamsAppDefinitionId $teamsAppDefinitionId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChat.md b/src/Teams/Teams/examples/v1.0/Get-MgChat.md index 093355d11d5..954db3db5ae 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChat.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChat.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Teams +Get-MgChat -ChatId $chatId -ExpandProperty "members" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgChat -ChatId $chatId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +Get-MgChat -ChatId $chatId +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Teams +Get-MgChat -Sort "lastMessagePreview/createdDateTime desc" +``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatInstalledApp.md b/src/Teams/Teams/examples/v1.0/Get-MgChatInstalledApp.md index 093355d11d5..e154133c08c 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatInstalledApp.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Teams +Get-MgChatInstalledApp -ChatId $chatId -TeamsAppInstallationId $teamsAppInstallationId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgChatInstalledApp -ChatId $chatId -ExpandProperty "teamsApp,teamsAppDefinition" -Filter "teamsApp/externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee'" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +Get-MgChatInstalledApp -ChatId $chatId -ExpandProperty "teamsAppDefinition(`$expand=bot)" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Teams +Get-MgChatInstalledApp -ChatId $chatId +``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatMember.md b/src/Teams/Teams/examples/v1.0/Get-MgChatMember.md index 093355d11d5..bf35e5ca7de 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatMember.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgChatMember -ChatId $chatId -ConversationMemberId $conversationMemberId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgChatMember -ChatId $chatId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatMessage.md b/src/Teams/Teams/examples/v1.0/Get-MgChatMessage.md index 093355d11d5..f038ea6eb04 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatMessage.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatMessage.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgChatMessage -ChatId $chatId -Top 2 +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgChatMessage -ChatId $chatId -ChatMessageId $chatMessageId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatMessageHostedContent.md b/src/Teams/Teams/examples/v1.0/Get-MgChatMessageHostedContent.md index 093355d11d5..3952f5e08eb 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatMessageHostedContent.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatMessageHostedContent.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgChatMessageHostedContent -ChatId $chatId -ChatMessageId $chatMessageId -ChatMessageHostedContentId $chatMessageHostedContentId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgChatMessageHostedContent -ChatId $chatId -ChatMessageId $chatMessageId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatTab.md b/src/Teams/Teams/examples/v1.0/Get-MgChatTab.md index 093355d11d5..e7d463d9a45 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatTab.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatTab.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgChatTab -ChatId $chatId -TeamsTabId $teamsTabId -ExpandProperty "teamsApp" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgChatTab -ChatId $chatId -ExpandProperty "teamsApp" -Filter "teamsApp/id eq 'com.microsoft.teamspace.tab.web'" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +Get-MgChatTab -ChatId $chatId -ExpandProperty "teamsApp" ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeam.md b/src/Teams/Teams/examples/v1.0/Get-MgTeam.md index 093355d11d5..34b07f8ace0 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeam.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeam.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeam -TeamId $teamId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannel.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannel.md index 093355d11d5..f570952329f 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannel.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannel.md @@ -1,18 +1,25 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannel -TeamId $teamId -ChannelId $channelId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannel -TeamId $teamId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannel -TeamId $teamId -Filter "membershipType eq 'shared'" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannel -TeamId $teamId +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannel -TeamId $teamId -Filter "membershipType eq 'private'" +``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelFileFolder.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelFileFolder.md index 093355d11d5..30057564770 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelFileFolder.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelFileFolder.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannelFileFolder -TeamId $teamId -ChannelId $channelId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMember.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMember.md index 093355d11d5..4757920df66 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMember.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -ConversationMemberId $conversationMemberId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessage.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessage.md index 093355d11d5..74b7d0d1081 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessage.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessage.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannelMessage -TeamId $teamId -Filter "lastModifiedDateTime gt 2019-11-01T00:00:00Z and lastModifiedDateTime lt 2021-11-01T00:00:00Z" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -Top 3 ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageHostedContent.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageHostedContent.md index 093355d11d5..4c9d6a122d0 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageHostedContent.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageHostedContent.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannelMessageHostedContent -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReply.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReply.md index 093355d11d5..5ce4a07e5ce 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReply.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReply.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannelMessageReply -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReplyHostedContent.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReplyHostedContent.md index 093355d11d5..1a6d8fad2b1 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReplyHostedContent.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReplyHostedContent.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannelMessageReplyHostedContent -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId -ChatMessageId1 $chatMessageId1 ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeam.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeam.md index 093355d11d5..1eeac98d5fa 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeam.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeam.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannelSharedWithTeam -TeamId $teamId -ChannelId $channelId -SharedWithChannelTeamInfoId $sharedWithChannelTeamInfoId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannelSharedWithTeam -TeamId $teamId -ChannelId $channelId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeamAllowedMember.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeamAllowedMember.md index 093355d11d5..af69f8001d4 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeamAllowedMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeamAllowedMember.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannelSharedWithTeamAllowedMember -TeamId $teamId -ChannelId $channelId -SharedWithChannelTeamInfoId $sharedWithChannelTeamInfoId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelTab.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelTab.md index 093355d11d5..4d6377cfaac 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelTab.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelTab.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannelTab -TeamId $teamId -ChannelId $channelId -ExpandProperty "teamsApp" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamChannelTab -TeamId $teamId -ChannelId $channelId -ExpandProperty "teamsApp" -Filter "teamsApp/id eq 'com.microsoft.teamspace.tab.planner'" ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamIncomingChannel.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamIncomingChannel.md index 093355d11d5..3122beb405b 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamIncomingChannel.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamIncomingChannel.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamIncomingChannel -TeamId $teamId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamInstalledApp.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamInstalledApp.md index 093355d11d5..14ef7193f18 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamInstalledApp.md @@ -1,18 +1,25 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId -ExpandProperty "teamsAppDefinition" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamInstalledApp -TeamId $teamId -ExpandProperty "teamsApp,teamsAppDefinition" -Filter "teamsApp/externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee'" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamInstalledApp -TeamId $teamId +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamInstalledApp -TeamId $teamId -ExpandProperty "teamsAppDefinition" +``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamMember.md index 093355d11d5..6e4468d5a58 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamMember.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamMember -TeamId $teamId -Filter "(microsoft.graph.aadUserConversationMember/userId eq '73761f06-2ac9-469c-9f10-279a8cc267f9')" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamMember -TeamId $teamId -Filter "(microsoft.graph.aadUserConversationMember/displayName eq 'Harry Johnson' or microsoft.graph.aadUserConversationMember/email eq 'admin@M365x987948.OnMicrosoft.com')" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamMember -TeamId $teamId +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamMember -TeamId $teamId -ConversationMemberId $conversationMemberId +``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamPrimaryChannel.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamPrimaryChannel.md index 093355d11d5..73bdd502f2c 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamPrimaryChannel.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamPrimaryChannel.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamPrimaryChannel -TeamId $teamId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamSchedule.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamSchedule.md index 093355d11d5..a64d69342cd 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamSchedule.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamSchedule.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamSchedule -TeamId $teamId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOfferShiftRequest.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOfferShiftRequest.md index 093355d11d5..e8c5bbdec8d 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOfferShiftRequest.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOfferShiftRequest.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleOfferShiftRequest -TeamId $teamId -OfferShiftRequestId $offerShiftRequestId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleOfferShiftRequest -TeamId $teamId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShift.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShift.md index 093355d11d5..b1da6b80f67 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShift.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShift.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleOpenShift -TeamId $teamId -OpenShiftId $openShiftId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleOpenShift -TeamId $teamId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShiftChangeRequest.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShiftChangeRequest.md index 093355d11d5..d31d0aea801 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShiftChangeRequest.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShiftChangeRequest.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleOpenShiftChangeRequest -TeamId $teamId -OpenShiftChangeRequestId $openShiftChangeRequestId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleOpenShiftChangeRequest -TeamId $teamId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSchedulingGroup.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSchedulingGroup.md index 093355d11d5..69d83b7a313 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSchedulingGroup.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSchedulingGroup.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleSchedulingGroup -TeamId $teamId -SchedulingGroupId $schedulingGroupId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleSchedulingGroup -TeamId $teamId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleShift.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleShift.md index 093355d11d5..61e595d7a8f 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleShift.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleShift.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleShift -TeamId $teamId -Filter "sharedShift/startDateTime ge 2019-03-11T00:00:00.000Z and sharedShift/endDateTime le 2019-03-18T00:00:00.000Z and draftShift/startDateTime ge 2019-03-11T00:00:00.000Z and draftShift/endDateTime le 2019-03-18T00:00:00.000Z" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleShift -TeamId $teamId -ShiftId $shiftId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSwapShiftChangeRequest.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSwapShiftChangeRequest.md index 093355d11d5..2cd81fe4fd7 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSwapShiftChangeRequest.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSwapShiftChangeRequest.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleSwapShiftChangeRequest -TeamId $teamId -SwapShiftsChangeRequestId $swapShiftsChangeRequestId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleSwapShiftChangeRequest -TeamId $teamId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOff.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOff.md index 093355d11d5..0aa698bdf00 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOff.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOff.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleTimeOff -TeamId $teamId -Filter "sharedTimeOff/startDateTime ge 2019-03-11T00:00:00.000Z and sharedTimeOff/endDateTime le 2019-03-18T00:00:00.000Z and draftTimeOff/startDateTime ge 2019-03-11T00:00:00.000Z and draftTimeOff/endDateTime le 2019-03-18T00:00:00.000Z" +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleTimeOff -TeamId $teamId -TimeOffId $timeOffId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffReason.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffReason.md index 093355d11d5..fbe91f7da7f 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffReason.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffReason.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleTimeOffReason -TeamId $teamId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleTimeOffReason -TeamId $teamId -TimeOffReasonId $timeOffReasonId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffRequest.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffRequest.md index 093355d11d5..8665719ed14 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffRequest.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffRequest.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleTimeOffRequest -TeamId $teamId -TimeOffRequestId $timeOffRequestId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamScheduleTimeOffRequest -TeamId $teamId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamworkWorkforceIntegration.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamworkWorkforceIntegration.md index 093355d11d5..2348d944408 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamworkWorkforceIntegration.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamworkWorkforceIntegration.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgTeamworkWorkforceIntegration -WorkforceIntegrationId $workforceIntegrationId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgTeamworkWorkforceIntegration ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserChat.md b/src/Teams/Teams/examples/v1.0/Get-MgUserChat.md index 093355d11d5..9be43251e53 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserChat.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserChat.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgUserChat -UserId $userId -ChatId $chatId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgUserChat -UserId $userId -ExpandProperty "members" +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +Get-MgUserChat -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserChatMember.md b/src/Teams/Teams/examples/v1.0/Get-MgUserChatMember.md index 093355d11d5..b4cce8a5cc6 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserChatMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserChatMember.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +# A UPN can also be used as -UserId. +Get-MgUserChatMember -UserId $userId -ChatId $chatId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserJoinedTeam.md b/src/Teams/Teams/examples/v1.0/Get-MgUserJoinedTeam.md index 093355d11d5..d109a9dd4f2 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserJoinedTeam.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserJoinedTeam.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +# A UPN can also be used as -UserId. +Get-MgUserJoinedTeam -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkAssociatedTeam.md b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkAssociatedTeam.md index 093355d11d5..0990e662d5e 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkAssociatedTeam.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkAssociatedTeam.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +# A UPN can also be used as -UserId. +Get-MgUserTeamworkAssociatedTeam -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledApp.md b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledApp.md index 093355d11d5..9cc10598e17 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledApp.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Teams +Get-MgUserTeamworkInstalledApp -UserId $userId -UserScopeTeamsAppInstallationId $userScopeTeamsAppInstallationId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +Get-MgUserTeamworkInstalledApp -UserId $userId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +Get-MgUserTeamworkInstalledApp -UserId $userId -ExpandProperty "teamsApp,teamsAppDefinition" -Filter "teamsApp/externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee'" +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Teams +Get-MgUserTeamworkInstalledApp -UserId $userId -ExpandProperty "teamsAppDefinition" +``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledAppChat.md b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledAppChat.md index 093355d11d5..e510a6a7469 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledAppChat.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledAppChat.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Get-MgUserTeamworkInstalledAppChat -UserId $userId -UserScopeTeamsAppInstallationId $userScopeTeamsAppInstallationId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Invoke-MgArchiveTeam.md b/src/Teams/Teams/examples/v1.0/Invoke-MgArchiveTeam.md index 093355d11d5..58a8dc06fb8 100644 --- a/src/Teams/Teams/examples/v1.0/Invoke-MgArchiveTeam.md +++ b/src/Teams/Teams/examples/v1.0/Invoke-MgArchiveTeam.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Invoke-MgArchiveTeam -TeamId $teamId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Invoke-MgShareTeamSchedule.md b/src/Teams/Teams/examples/v1.0/Invoke-MgShareTeamSchedule.md index 093355d11d5..781e65787bc 100644 --- a/src/Teams/Teams/examples/v1.0/Invoke-MgShareTeamSchedule.md +++ b/src/Teams/Teams/examples/v1.0/Invoke-MgShareTeamSchedule.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + NotifyTeam = $true + StartDateTime = [System.DateTime]::Parse("2018-10-08T00:00:00.000Z") + EndDateTime = [System.DateTime]::Parse("2018-10-15T00:00:00.000Z") +} +Invoke-MgShareTeamSchedule -TeamId $teamId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Invoke-MgUnarchiveTeam.md b/src/Teams/Teams/examples/v1.0/Invoke-MgUnarchiveTeam.md index 093355d11d5..f331aa8d746 100644 --- a/src/Teams/Teams/examples/v1.0/Invoke-MgUnarchiveTeam.md +++ b/src/Teams/Teams/examples/v1.0/Invoke-MgUnarchiveTeam.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Invoke-MgUnarchiveTeam -TeamId $teamId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgAppCatalogTeamApp.md b/src/Teams/Teams/examples/v1.0/New-MgAppCatalogTeamApp.md index 093355d11d5..820f0fbda9d 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgAppCatalogTeamApp.md +++ b/src/Teams/Teams/examples/v1.0/New-MgAppCatalogTeamApp.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +New-MgAppCatalogTeamApp -Requiresreview true ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgChat.md b/src/Teams/Teams/examples/v1.0/New-MgChat.md index 093355d11d5..a338cab3631 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChat.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChat.md @@ -1,18 +1,169 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + ChatType = "group" + Topic = "Group chat title" + Members = @( + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('8c0a1a67-50ce-4114-bb6c-da9c5dbcf6ca')" + } + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('82fe7758-5bb3-4f0d-a43f-e555fd399c6f')" + } + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "guest" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('8ba98gf6-7fc2-4eb2-c7f2-aef9f21fd98g')" + } + ) +} +New-MgChat -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + ChatType = "group" + Topic = "Group chat title" + Members = @( + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('8c0a1a67-50ce-4114-bb6c-da9c5dbcf6ca')" + } + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('82fe7758-5bb3-4f0d-a43f-e555fd399c6f')" + } + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "guest" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('8ba98gf6-7fc2-4eb2-c7f2-aef9f21fd98g')" + } + ) +} +New-MgChat -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + ChatType = "group" + Topic = "Group chat title" + Members = @( + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('8c0a1a67-50ce-4114-bb6c-da9c5dbcf6ca')" + } + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('82fe7758-5bb3-4f0d-a43f-e555fd399c6f')" + } + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('3626a173-f2bc-4883-bcf7-01514c3bfb82')" + } + ) +} +New-MgChat -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + ChatType = "oneOnOne" + Members = @( + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('8b081ef6-4792-4def-b2c9-c363a1bf41d5')" + } + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('82af01c5-f7cc-4a2e-a728-3a5df21afd9d')" + TenantId = "4dc1fe35-8ac6-4f0d-904a-7ebcd364bea1" + } + ) +} +New-MgChat -BodyParameter $params +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + ChatType = "oneOnOne" + Members = @( + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('8b081ef6-4792-4def-b2c9-c363a1bf41d5')" + } + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('82af01c5-f7cc-4a2e-a728-3a5df21afd9d')" + } + ) +} +New-MgChat -BodyParameter $params +``` +###Example 6 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + ChatType = "oneOnOne" + Members = @( + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('jacob@contoso.com')" + } + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('alex@contoso.com')" + } + ) +} +New-MgChat -BodyParameter $params +``` diff --git a/src/Teams/Teams/examples/v1.0/New-MgChatInstalledApp.md b/src/Teams/Teams/examples/v1.0/New-MgChatInstalledApp.md index 093355d11d5..8ce07a132c5 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChatInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChatInstalledApp.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/12345678-9abc-def0-123456789a" +} +New-MgChatInstalledApp -ChatId $chatId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgChatMember.md b/src/Teams/Teams/examples/v1.0/New-MgChatMember.md index 093355d11d5..ed7ea1d9978 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChatMember.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChatMember.md @@ -1,18 +1,51 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users/jacob@contoso.com" + VisibleHistoryStartDateTime = [System.DateTime]::Parse("2019-04-18T23:51:43.255Z") + Roles = @( + "owner" + ) +} +New-MgChatMember -ChatId $chatId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users/8b081ef6-4792-4def-b2c9-c363a1bf41d5" + VisibleHistoryStartDateTime = [System.DateTime]::Parse("0001-01-01T00:00:00Z") + Roles = @( + "owner" + ) +} +New-MgChatMember -ChatId $chatId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users/8b081ef6-4792-4def-b2c9-c363a1bf41d5" + Roles = @( + "owner" + ) +} +New-MgChatMember -ChatId $chatId -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users/8b081ef6-4792-4def-b2c9-c363a1bf41d5" + VisibleHistoryStartDateTime = [System.DateTime]::Parse("2019-04-18T23:51:43.255Z") + Roles = @( + "owner" + ) +} +New-MgChatMember -ChatId $chatId -BodyParameter $params +``` diff --git a/src/Teams/Teams/examples/v1.0/New-MgChatMessage.md b/src/Teams/Teams/examples/v1.0/New-MgChatMessage.md index 093355d11d5..d7b659389c9 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChatMessage.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChatMessage.md @@ -1,18 +1,32 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + Body = @{ + ContentType = "html" + Content = "
+
+
+
+
" + } + HostedContents = @( + @{ + "@microsoft.graph.temporaryId" = "1" + ContentBytes = [System.Text.Encoding]::ASCII.GetBytes("iVBORw0KGgoAAAANSUhEUgAAASkAAAEpCAYAAADPmdSCAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAhr0lEQVR4Xu3d76tdV50GcP+EvJu3/QuGvJgXxSk0Y8QwzZRmCG2lQkjrkM4UjOmLgmAt0bQGLqipo1ghmIhSRBIMbV+UpmiIRSYV9IqmHaqNgRJbUGqoA30xMGe+z+1ZNyfrPuec/WN9115r7yfw6Y917zlnn+9e68ne66y9z8dms1kjTzzxxC6zxxw3h80d7Pekfti3832MfX3A7GK/J5IDbYxZJz1mbppZ5JJRBx4J7Etzar5vY8fZY0S80cZF6JxRZ41dN7vZY6Uetg8RUJvzfbrMWfZYEU+0MbBOicN+1lljOMo6zJ5Dymf7bvd8H7J9G9vDnkPEC20MrEMuO/Rf5hR7HimX7TOcyrN9ucwF9jwiXmhjYB0Sc06so66ieaoKYB+Zs/N91sYl9nwiXmhjgA4ZddCmNE9VMNs3OI1fN/+0jEJKsqKNATpk1EHb0DxVgWyfYBlJ0/knRiElWdHGAB0y6qBd6BOhQti+aDv/xCikJCvaGKBDRh20K5xaaJ5qIKi96TL/xCikJCvaGKBDRh20D5xiaJ4qM9TcdJ1/YhRSkhVtDNAhow6aguapMrFa45KWPvNPjEJKsqKNATpk1EFT0TyVM6vxuisFulJISVa0MUCHjDpoSjgF0UXKiVlNMf90YV5jDwopyYo2BuiQUQdNDaciuswiEatl6vknRiElWdHGAB0y6qBejrHXl+ashh7zT4xCSrKijQE6ZNRBPeEjci1T6MDq1vYayz4UUpIVbQzQIaMO6k3zVC1YrTD/lHsfKaQkK9oYoENGHTQHzVM1YDXC/BOukWQ19KSQkqxoY4AOGXXQnHQnyCWsNri1b475J0YhJVnRxgAdMuqgueGjdM1TLbB65Jx/YhRSkhVtDNAhow46BMxTTf5yGqvBEPNPjEJKsqKNATpk1EGHglObA2wb27hx40bnSXl7bKcjuq6PW2Tvvc3tfb0ppCQr2higQ0YddGid56ksLM6am6b1Udn8sZumVeDg9+eP63wZkL1nzD+xWgxFISVZ0cYAHTLqoCVoPU+FkDCzuVZBFT22cVDh9+a/Hx7bOqjsfaa6vUpKCinJijYG6JBRBy1F49sTIxwWgiJoFFT2O+yxa4MKP5//XvzYRkFl7w3zT96Xt3SlkJKsaGOADhl10JJgjmblbV8QClFILFoZVPazVY9dGlRon/+cPQ5WBpW9p7639/WmkJKsaGOADhl10BLRr9FCGEThwNCgsrYmj90RVPj/eTv7/UU0qOy9pLi9rzeFlGRFGwN0yKiDlgrbuR0YCIEoFFa5Lajsv9s8djuo8O/5/7PfY7aDCttuSpx/YhRSkhVtDNAhow5asq15Kgz+KAya2Aoq0+WxCKY75v9mP18FwdTn66WGoJCSrGhjgA4ZddCiPf300x9cv379f0kYFOub3/zm/7D3UrDkIXXz4393hzlrLk3IBaNrVBugjQE6ZNRBi7exsTG7du0aDYTSnDlzhr6HwiULKRukIZxmE4bAUlitQBsDdMiog1ahhqCqNKCgd0jZoFQ47aSwWoI2BuiQUQetRslBVXFAQeeQskGocFpPYRWhjQE6ZNRBq1JiUFUeUNA6pGzQKZzaU1jN0cYAHTLqoNUpKahGEFDQOKRskCmc+pt8WNHGAB0y6qBVKiGoRhJQsDakbFApnNKbbFjRxgAdMuqg1RoyqEYUULA0pGwQDRlOGMRdXDfs+UqFbZ5UWNHGAB0y6qBVu3LlCg0Rb2xbKrYjpGzQDBlOeN1eX95hjz9sFFaFoo0BOmTUQaumkEpiO6RskFQdTjF7PoVVgWhjgA4ZddCqKaSSwKAYVTjF7PkVVgWhjQE6ZNRBq6aQ6ufpo/8xe/1f/uG9aHDk4h5OMXs9hVUBaGNgHVMhlQDblpognC4f+DgbEDlkD6eYvb7CakC0MbAOqpBKgG1LDaYeTjHbHoXVAGhjYB1VIZUA25aSKZxWs+1TWGWEgrM3JJJb8eEUs+2tMayqo5CSoVUXTjHbfoWVn0sKKRlK9eEUs/ejsEpn+/RUISW5jS6cYvb+FFbd7Zg7U0hJLqMPp5i9X4VVc0sn9hVS4m1y4RSz96+wWm7tp44KKfEy+XCKWT0UVrc0XhKhkJLU3jR/zzqbfMTqM+WwahxOgUJKPNw0xw39Knr5iNVnSmHVOpwChZR4Ulg1YPUZc1h1DqdAISU5KKwasPqMKax6h1OgkJKcFFYNWH1qDqtk4RQopGQICqsGrD41hVXycAoUUjIkhVUDVp+Sw8otnAKFlJRAYdWA1aeksHIPp0AhJSVRWMkOCikpkcJKtimkpGQKK1FISRUUVhOmkJKaKKwmSCElNVJYTYhCSmqmsJoAhBR2MnXx4N3XX3zwUzPm9L/unT2w5x+r8vA9n5r9273/nB3blpI9s/+f6D6HAb/qahWEFdbtTAHu0zWpUKaNwRMrvnfvyJEjszvvvFNG6IEHHqD7HP7zyCEWEuIPizgPs3E6drQxsE6pkJoghVRRJhtOAW0MrFMqpCZIIVWEyYdTQBsD65QKqQlSSA1K4RShjYF1SoXUBCmkBqFwWoI2BtYpFVITpJDKSuG0Bm0MrFMqpCZoVUid+vfDH0aDTLpRODVEGwPrlEtDKvjc5z43e+ihh2Z33XUX7fC1uvfee2c//OEPZ7/+9a9nN27c2PLWW29ttX3605+mj6kV9h2C6bHHHqP7OIK1OmO6F3duCqeWaGOADhl10KUef/zx2f79++kgqM0XvvCF7WBa5rvf/S59bG327t279RcN26dLXAr9A4NtPujYYJTbKZw6oo0BOmTUQdeqPaiaBFSAoyr2HLVAQOEvF7YfV9gOqQCDbz4I2eCcOoVTT7QxQIeMOuha6PS1nvrhFI+F0SpHjx6lz1WDlkdQwY6QCjAY54OSDdapUTglQhsDdMiogzaCOSo2KEqHIyMWRKu89tpr9LlKd99999F918DSkAowOOeDlA3esVM4JUYbA3TIqIM2gr+h2cAoHQuhJnAExp6vZI888gjddw2sDakAg3U+aNlgHhuFkxPaGKBDRh20MTYwSoZP7FgANfHZz36WPmfJOsxFBY1DKsDgnQ9iNrhrp3ByRhsDdMiogzbGBkbJPvOZz9AAagKPZc9ZMrbPGmodUoEN5j1jw96npEUbA3TIqIM2dvfdd9PBUSocDbEAauLEiRP0OUvG9llDnUNKpAvaGKBDRh20sX379tHBUao+IfX1r3+dPmfJ2D5rSCElWdHGAB0y6qCN1bZeCkHDAqiJ2hZ24i8Qts8aUkhJVrQxQIeMOmhjuMyCDZBSdVl+ELzyyiv0OUuFv0DYPmtIISVZ0cYAHTLqoI3hI242QEqF9U4sgJpiz1kqrGNj+6whhZRkRRsDdMiogzaGj7jZACnRJz7xCRo8bdR00XHDC4mXUUhJVrQxQIeMOmgrtcxLtbleb5la5qXwqSvbVy1smj1z+iopcUcbA+uEvULq0KFDdKCUBnNKLHjawC1d2HOXZtW9onpCX4FT5rhBiO1m/UqkDdoYzDsd65CNlb5eqs9K8xiOyNhrlKTHSvM+cPR1wYTw0hGYNEYbA+tMvUOq9KOpn/zkJzRwuij9aKrHRcUerhsE1zGjIy5ZijYG1nl6hxSUejTVZwHnMqUeTeH2OQMdRTV10yi0ZAfaGFhnSRJSpd4Pve+yAwa3GManhez1htRz2cEQcKSF+a0DrG/KdNDGwDpIkpCCgwcP0sEzFHwax0ImBZxCstccSs/FmyXAUdZZo8CaINoYWKdIFlKA29WyQZRbiiUH65Ry0XHHWwSXLASW7kAwEbQxsI6QNKQwWLyDCpPDTz311Oz8+fOzzc3N2QcffLDt/Rdenr2378Gs/nLy2du2Adv08ssvzzY2Nra2lb2HVDAP1XPhZulwSohPDO9g/VfGgTYGtvOThhR4BRWCKQ4lJmdQxQHF/P73v98KrE9+8pP0fXU1gYCKYdJdR1cjRBsD2+nJQwoQVKlWoyOcMNBZACyTI6iaBNSid999d/btb387SViN8BSvDRxdHTZaizUStDGwHe0SUkGfL2zA3TCbHDkt4xlUbQNqEQL30Ucfpe+5CXxAwWo9QZi7wqmgwqpytDGwHewaUoAvbWh7gzycHrEB3pZHUPUJqEXf//736XtfBjXEUg9W44lTWFWONga2Y91DKsAAa3IKiAlxNqi7ShlUqQIqwDqudad/CCes6mc1ldsorCpFGwPbodlCKsCRFU4D2dFV6oAKUgRV6oAKcEobBxXmnHBa1/HLPadOYVUZ2hjYjsweUjEcYeEGevjYng3iVPoElVdABVevXt06WtLpXFIIK30VVQVoY2A7cfCQgnPnztHBm1qXoPIOqODnP/85rY30tnV/LNb/pQy0MbCdN3hIfe1rX6OD1kuboMoVUMHp06dpjSQJrLPSKWCBaGNgO23wkGq7BiqFJkGVO6Dgz3/+8+xLX/oSrZMkgVPAY2wsyHBoY2A7bNCQwje4sMGaw6qgGiKggpdeeonWSpJCv9ftYgpBG4P5zmI7MYt33nmHDtRcWFANGVCBjqayOc7GheRFGwPbSYOF1JBHUYsWg6qEgAIdTWWFiXVdwDwg2hjMdxDbce5++9vf0gE6BARVKQEFOMJkNRM3Wq4wINoItlNwzx62w9w988wzdHDKLfjUk9VOXOkTwAHQRtsRgwUUlHKqVzKd8g0Gd1nQpHpGOxpsBwwaUICFi2xgyi04HWa1k2x0+pfJbf9jhR88oKCk+aiSsdpJVmcXx4/42P4PFDzaAYNhA1J20lKEIuDDJc1TOdr6hxW5mIACNiBlp29961u0fpKd5qkcFRdQwAak7KSQKgqWKehCZQcIqcHWQi3DBqTspJAqkibUE0NI7TJFBRUbkLKTQqpYCqqEtv5hRS0qqNiAlJ2w6JXVT4qgT/4S2f4PKyqCqoj5qaEvLK4Fq50URUGVwI4GK+ypqNDZaZ3UerjPFqudFEdB1RNttMLiyxVZwbPAJR9sYMotup1wVRRUPdBGsMLuNvhYlRXdVe5bBtcI1zey2kmxFFQd0cbACnuHGWRCXfNSq2m1eZUUVB3QxpgVN/s81auvvkoHp3ww++Uvf0lrJlXQ3T5boo2MFfeAyXb6p3tKLaf1UdXTOqoWaOMyVlyc/mW7pbBu2bKTbtEyGgqqhmjjOlbgY1HBXeBoCl/jxAbrVOkoajRwVqKLkhugjU2gwMb9qErLEW7BPB2rkVQLQaUveViDNrZhRcZRletclRZ3fvTlC/pEb5R0P6o1aGNbVmTMVeEm9Wwn9IbBOeXTPrx3ffHCqF1g40o+Qhu7smLvMbgBGNsRvWCQTjWoTp8+TWsio6KlCUvQxr6s4LisJvkp4NSCCu9VK8snRTfNI2hjClZw3FXhuEkaVggqXFzLBrUXBAWOZnIGpE7xJkkT6QRtTMmKnjysMEeVYw0VJqsXgwJLInIEJD4o0CT5ZF1i42jKaKMHK37ysMKaIa9r/LD0YVlQnDt3zuWoSqd3Mqf5qQW00ZPtAITVyws7pDcM7BRhhZDAWqQmd7xEgCHIUoQVth3Bp6MnWaD5qTna6M12AI6o2I7pBadmCJk2gYWQwQW7CLquIYH5Kpx+tgksbCMeo0/uZAl8Sq71U4Y2erPiu4TUIgQOTgdxhIIjnhjCwWNiGkdheG72moBtanKkJmJOsfEzNbTRmxXfPaRERmLyp3200ZsVXiEl0szkT/toozcrukJKpLlJn/bRRm9W9CQh9ZWvfGX25JNP0p+JjMxkT/toozcreO+QOnPmzOzGjRtbNjc3tyal0baxsUF/X6Rym2wsTQFt9GYF7xVSiwG1zJUrV7aC6/nnn589++yzsxMnTtDnygFHe9gGbAu2Cdv25ptvKlClrWNsPI0dbfRmxe4cUk0CahUcdSEkLl68ODt//vyW5557bitEgqankIuPgfB8IYjwWmwbgmvXrimopA1crTG5SXTa6M0K3TmkMKgxuNmgrw1CTHNq0tLkvhaLNnqzQvc63RtDUCmgpIdJ3SmBNnqzIveeOK85qBRQ0tOk7pRAG71ZkXuHFNQYVAooSWQySxJoozcrcJKQgpqCSgElCU3maIo2erMCJwspqCGoFFDiYBJHU7TRmxU3aUhByUGlgBInkziaoo3erLjJQwouX75MQ2JoWMTJtlckgdEfTdFGb1bY5CGFxZksIEqBRahsu0V6Gv3RFG30ZoVNGlKlB1SgoBInu9k4Gwva6M2KmiykagmoQEElDka9Cp02erOiJgmp2gIqUFCJg9GuQqeN3qygvUOq1oAKFFSS2Gi/Bos2ekNBowK3UntABQoqSegmG2tjQBu9WUE7hxRuhcIGfK1wixf2PkU6OMzGW+1oozcrZueQwqJILI5kA742OCJk71Gko1EuR6CN3qyYvU73xhBUCihxMroJdNrozQrZe+K85qBSQImj0X2zDG30ZoXsHVJQY1ApoMTZdTbmakYbvVkhk4QU1BRUCijJZFTX89FGb1bEZCEFNQSVAkoyGtUKdNrozYqYNKSg5KBSQElmo1ozRRu9WRGThxRgzRELiaGxbRVxdoCNvRrRRm9WQIWUiK/RfMpHG71ZARVSIr5G8ykfbfRmBVRIifgbxX2maKM3K55CSsTfMTb+akMbvVnxFFIi/kZxLR9t9GbFU0iJ5LGLjcGa0EZvVjiFlEge1S9FoI3erHAKKZE8ql+KQBu9WeEUUiJ5VD8vRRu9WeEUUiKZxOOvNrTRmxVOISWST9V3RaCN3qxoCimRfKpeL0UbvVnRFFIi+Vxg47AWtNGbFU0hJZLPJhuHtaCN3qxoCimRjOIxWBPa6M2KppASyavayXPa6M0KppASyavaLw6ljd6sYAopkbyOs7FYA9roDQWLCpiEQkpkqWpXntNGb1YwhZRIXtV+wkcbvVnBFFIimcXjsBa00ZsVTCElkl+V95aijd6sWAopkfyqXIZAG71ZsRRSIvkppJqyYimkRPKrchkCbfSGYkXFS0IhJbKSQqopFCsqXhIKKZGVzrHxWDra6M2KpZASye+/2XgsHW30ZsVSSInkV+VXr9NGb1YshZRIfu+x8Vg62ujNiqWQEsnvr2w8lo42erNiKaREBhCPxRrQRm9WLIWUyADisVgD2ujNiqWQEhlAPBZrQBu9WbEUUiIDiMdiDWijNyuWQkpkAPFYrAFt9GSF2m1uLhYuFYVUGo899hhtl1Go7l7ntNGLFcgtoEAhlYZCavSqCira6MEK4xpQoJBKQyE1CdUEFW1MzQriHlCgkEpDITUZVQQVbUzJCpEloEAhlcajjz5K22WUig8q2piKFSBbQIFCKo1Dhw7RdhmtooOKNqZgbzxrQIFCKg2F1CQVG1S0MQV709ejIrhTSKVx//3303YZvSLvgU4bU7A3rCOpObatJTt48CBtl1E7y8ZxCWhjKvbGNSdl2LaW7J577qHtMlrFBhTQxpSsAPp0j2xryfbt2zd7/PHH6c9kdIoOKKCNqVkhsgSVQioNhNSRI0foz2RUig8ooI0erCDuQaWQSgMh9eCDD9KfyWhUEVBAG71YYVyDSiGVBkJq//799GcyCtUEFNBGT1Ygt6BSSKWBkLrrrrvoz6R6VQUU0EZPViSFVOEQUnfeeaeu4RsnhdQqViCd7lUghNRDDz1Efy7V0+keY4XRxHklQkjh3+znMgqaOF9kBXEPKFBIpRFCCrReatSqCCramJIVIktAgUIqjcWQ0sXGo1d8UNHGVKwA2QIKFFJpLIaUTvkmoeigoo0p2BvPGlCgkEpjMaTg6NGj9PdkVIoNKtqYgr3pS1ER3Cmk0ohDSqvPJ2Nyt2rZZTYXCuBOIZVGHFJa2DkJ07vpHdgbzxpUCqk04pACTaCP2jRvHxxYAbIF1cbGBg2JobFtLRkLqT179tDflepN+4sYAitEtqBiITE0tp0lYyEFOpoaneIDCmijBytIlqBiITE0tp0lWxZSOpoalSoCCmijFyuMe1BduXKFBsWQ2HaWbFlIgY6mRqGagALa6MkK5BpUFy9epEExJLadJVsVUjia0qUyVSsioGxc7DZ7zGFzbP7fdAnEjoYcrFDHo8Ilc+bMGRoUQ2LbWbJVIQVaN1WveCzmZGPhgLlgboaxscSmQXDtwuPok3mzYrmFVImf8LHtLNm6kMK6Ka1Cr1M8FnOwMYBwur44JhpCmB2nT+rNiuUWUvDmm2+yNzwYto0lWxdSgN9hj5WyxWPRk/X9XQZHTnRcNEWf3JsVyzWkSpuXYttYsiYhBbopXn3isejF+j0CCqdtdEy0QV/AmxXLNaSee+45+maHwraxZE1DSqd99YnHogfr88kCCuiLeLNiuYYUlHTKx7avZE1DCvbu3UufQ8oUj0UP1ucvxWOgD/oi3qxY7iF1/vx5+oaHwLavZG1CCg4ePEifR8oTj8XUrL8fj/t/X/SFvFmx3EPqxIkT9A0PgW1fydqGFGiRZx3isZiS9XWc5q1bXtAafTFvViz3kIJSJtDZtpWsS0iBvgKrfPFYTMn6evKjKKAv5s2KlSWkSjmaYttWsq4hhYl0BVXZ4rGYkvX1Lmuh1qIv5s2KlSWkoISjKbZdJesaUoCJdF02U654LKZi/RyXudD+3xd9QW9WrGwh9eSTT86uXbtG33wubLtK1iekQEFVrngspmL93OVUD+gLerNiZQspeP755+mbz4VtU8n6hhQoqMoUj8VUrJ+fjft9KvQFvVmxsoYUDHkLF7Y9JUsRUqCgKk88FlOxfp50bdQi+oLerFjZQ2rI0z62PSVLFVKgyfSyxGMxFevnCqkUhvqiBrYtJUsZUoCgOnLkCH0tySsei6lYP1dIpTLE/abYdpQsdUgFuiB5ePFYTMX6efJFnAF9QW9WrMFCCnIvS2DbUDKvkIL77rtP81QDisdiCtbHsdKc9v0U6It6s2INGlKQM6jY65fMM6QAtyDWPNUw4rGYgvVx3NSO9v0U6It6s2INHlKQK6jYa5fMO6QC3YY4v3gspmB93G35AdAX9WbFKiKkIMccFXvdkuUKKcAyBU2q5xOPxb6sf7ue6gF9YW9WrGJCCnCTPM/lCew1S5YzpALNVeURj8W+rH+7rTQP6At7s2IVFVKAi5E3Nzdpkfpir1eyIUIKsFQBp4AKKz/xWOzD+rbb9XqL6It7s2IVF1IBbpaX+qiKvU7JhgqpQGHlajcbk21Zv056i+BV6AZ4s0IVG1KAo6rLly/TgnXBXqNkQ4dUgLDCXT91H/WkjrMx2Zb1a9fJ8kV0A7yhUFHhioQV6imu+WPPXbJSQmrR/v37Z4888gjdXmnlutn60s0urD/jCCpbQAHdEG9WpCpCKkBY9VmuwJ6zZCWGVICjK0yyK7B6OcvG5TrWlzEHleUUbxHdGG9WpKpCKsBFyrjtS9ujK/ZcJSs5pBYhsHCEhfura3Foa42Dyvowjp7cP8Vbhm6UNytQlSG1CIGFpQsvvfTS2tBijy9ZLSEVQ2hh2zHpjiMtBddaOPU7zMao9VsEE1aSZz21Y3ZsXEr2AncYvFGk8CmDK6UvXb169ToGNuA0Cp+oYVHlxsYGK2QVEFqnT5/eej8/+9nPtr73LwjvFZPxeK84GsMpJHueEniGFJ7785///Ox73/vell/84hcUaoSff/WrX92aOMeCz64UVo389eTJk//1ne98Z/OnP/3p22+99dZ7NlZpaORGw6Ure0Kk72GD73/vfFU0BjQ6KT5lI8UsRjiS6vNFpFibhecoKaBTh9QXv/jF2Y9+9KPZr371K1qDJkqs09jhL14cPLzxxhtudzhogoZNW/ZEe4zLYSECC4ViRRwCghODxWOFOsIO4YzOwV47lxQhdf/9928dCfUJ8GXwnDgiHbpOU4Ijfzu6+pDtD280dJqyJ0A4ud3sahE65pBhhXDKdUEyAnDIQdgnpBBOL774In1fqQ1dp6lBnXONgUU0fNaxB2KuCad09Ek94bA/53wOdgwGAtsWbxiEQwRz15DCkZPHEeY6eE0cgbL3IumhT7L94IWG0Cr2oGNm0HNUwCmX99+gmP/wOF1pC6e8Oefn2obUww8/3Gu+KRX8BVb6POZY4C8Ftg880CBi7JezrzRdx7NT5twJTeBoARP1bFtTaxNSJ0+epNs7lKGOPqco5aVjq9BAitkvIqCyrzRtAp0y9Sc+Q5x3N5VjADYNqVxzT13gFJ29N0kHZzI5Tu9pKC2yX8JSeJfveE8pxeBF0XP97dAHQpRtfypNQqrkgAq86yR55qdoMAX2C5ggH3z+qam+p0OY+2HPWyLPAbgupGoIqEBB5c/7aIqGE9gPiz3FW6bPqV/Jp3jLeJ36rQqpmgIq0KmfL3yIxeqeyCkaUGA/zLL+KTUEVdtP/YZaYpCCx3KMZSFV2iR5G7k+dJgi9EFW8wRwkLRrWUANdsVzCjhtY8VkHAucRZdQXoeFFJYZsNevBeqk5Ql+WM17wjTT1l1EWUBluW+xtyaL+zC4S1gH1VebUG6ChVQJ66D6Sl0nucVhHG3fnYGFVFXzUMs0+ZvT+Vw6q5SnM3FIYSU5e80aaWW6j8QfOp1azKQ4oHAHA/agKq36ZAcBxh5TK/xNlvK0LwQUrsVD4LPXrJHH6bEkDakdN+NbDCh8mlfNcoOmlk0s1/hp3jqpPsX68pe/vB1SNX6at44+7UsvUUjRu4Vu/4f9wqiOogIszowLOrajqABHCfF77eIHP/jB9lEUe53a6WgqPVbnlpbeznj7P+yXil9V3lU8NzXGo6ig79qpb3zjG9shdfbsWfoaY6C5qXSwNpHVuIWV91vf+of9Eu4LxR48CouH9/gbdExzLDFcdL3Ygdp64YUXtkNqzHXCHB57/9Jez4vxb5skZ7b+Yb9Y1N0NUlvskDmuNRpan/VAf/rTn7ZCCrf8Zc89JroVcRr4i5HVdw3Mf9MvgYht/WP+APZEoxE6ZA0XEPfV9VQGyxjwByE1xgnzmCbQ++u4GBrLnBp/3TsCahSLN9cJA3fMpzAB+7Cgibffftv6xEchNYZFruv0PTWWTp/q4VujWn2DMkIKd9pkTzYqGLgJJviq0OVTPsxFhT8XLlygzztGrBbSTMu5KBw97bHuRYNoldHPRwU4MpjCfFTQZr4Fn+gt/nn11Vfpc46RxwXaU4D+1fCsBFNJx6xb0QBqAiFV5d0Ouqj5bgdtNb1MBgH14YcfWl+49ec3v/kNfc4x0lKE9hoGFMIJNypodWrHIKTYC4xSx08hqtRkUhhBFgcU/rzxxhv0OcdIk+ft4Mjzj3/84/+xWs5hvSUWhvcOp0AhNVKrBt9TTz01e+WVV2z/8z/vvPMOfc4x0p07m8H6whVnIjhqwrRR40/s2lBIjRTu8BB3NIQTJsjff/992/fL/0wppHT7ltUQTpjL/cMf/vC3qHaYCMcndZ0mw9uYVEhdvXqVto8RAhmnc4Cjpt/97ne2v5v9UUhNExYB43QOfvzjH7//+uuvv2undn+x/vCa1QqBhJUA7qF0u9nH/h+sBaOnOz4IxQAAAABJRU5ErkJggg==") + ContentType = "image/png" + } + ) +} +New-MgChatMessage -ChatId $chatId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Body = @{ + Content = "Hello world" + } +} +New-MgChatMessage -ChatId $chatId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgChatTab.md b/src/Teams/Teams/examples/v1.0/New-MgChatTab.md index 093355d11d5..830c7b69a58 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChatTab.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChatTab.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + DisplayName = "My Contoso Tab" + "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/06805b9e-77e3-4b93-ac81-525eb87513b8" + Configuration = @{ + EntityId = "2DCA2E6C7A10415CAF6B8AB6661B3154" + ContentUrl = "https://www.contoso.com/Orders/2DCA2E6C7A10415CAF6B8AB6661B3154/tabView" + WebsiteUrl = "https://www.contoso.com/Orders/2DCA2E6C7A10415CAF6B8AB6661B3154" + RemoveUrl = "https://www.contoso.com/Orders/2DCA2E6C7A10415CAF6B8AB6661B3154/uninstallTab" + } +} +New-MgChatTab -ChatId $chatId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeam.md b/src/Teams/Teams/examples/v1.0/New-MgTeam.md index 093355d11d5..b2072d7764c 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeam.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeam.md @@ -1,18 +1,217 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" + "Group@odata.bind" = "https://graph.microsoft.com/v1.0/groups('dbd8de4f-5d47-48da-87f1-594bed003375')" + Channels = @( + @{ + DisplayName = "Class Announcements 📢" + IsFavoriteByDefault = $true + } + @{ + DisplayName = "Homework ðŸ‹ï¸" + IsFavoriteByDefault = $true + } + ) + MemberSettings = @{ + AllowCreateUpdateChannels = $false + AllowDeleteChannels = $false + AllowAddRemoveApps = $false + AllowCreateUpdateRemoveTabs = $false + AllowCreateUpdateRemoveConnectors = $false + } + InstalledApps = @( + @{ + "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('com.microsoft.teamspace.tab.vsts')" + } + @{ + "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('1542629c-01b3-4a6d-8f76-1938b779e48d')" + } + ) +} +New-MgTeam -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('educationClass')" + DisplayName = "My Class Team" + Description = "My Class Team’s Description" +} +New-MgTeam -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('educationClass')" + DisplayName = "My Class Team" + Description = "My Class Team’s Description" + Channels = @( + @{ + DisplayName = "Class Announcements 📢" + IsFavoriteByDefault = $true + } + @{ + DisplayName = "Homework ðŸ‹ï¸" + IsFavoriteByDefault = $true + } + ) + MemberSettings = @{ + AllowCreateUpdateChannels = $false + AllowDeleteChannels = $false + AllowAddRemoveApps = $false + AllowCreateUpdateRemoveTabs = $false + AllowCreateUpdateRemoveConnectors = $false + } + InstalledApps = @( + @{ + "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('com.microsoft.teamspace.tab.vsts')" + } + @{ + "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('1542629c-01b3-4a6d-8f76-1938b779e48d')" + } + ) +} +New-MgTeam -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" + "Group@odata.bind" = "https://graph.microsoft.com/v1.0/groups('71392b2f-1765-406e-86af-5907d9bdb2ab')" +} +New-MgTeam -BodyParameter $params +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" + Visibility = "Private" + DisplayName = "Sample Engineering Team" + Description = "This is a sample engineering team, used to showcase the range of properties supported by this API" + Channels = @( + @{ + DisplayName = "Announcements 📢" + IsFavoriteByDefault = $true + Description = "This is a sample announcements channel that is favorited by default. Use this channel to make important team, product, and service announcements." + } + @{ + DisplayName = "Training ðŸ‹ï¸" + IsFavoriteByDefault = $true + Description = "This is a sample training channel, that is favorited by default, and contains an example of pinned website and YouTube tabs." + Tabs = @( + @{ + "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('com.microsoft.teamspace.tab.web')" + DisplayName = "A Pinned Website" + Configuration = @{ + ContentUrl = "https://docs.microsoft.com/microsoftteams/microsoft-teams" + } + } + @{ + "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('com.microsoft.teamspace.tab.youtube')" + DisplayName = "A Pinned YouTube Video" + Configuration = @{ + ContentUrl = "https://tabs.teams.microsoft.com/Youtube/Home/YoutubeTab?videoId=X8krAMdGvCQ" + WebsiteUrl = "https://www.youtube.com/watch?v=X8krAMdGvCQ" + } + } + ) + } + @{ + DisplayName = "Planning 📅 " + Description = "This is a sample of a channel that is not favorited by default, these channels will appear in the more channels overflow menu." + IsFavoriteByDefault = $false + } + @{ + DisplayName = "Issues and Feedback ðŸž" + Description = "This is a sample of a channel that is not favorited by default, these channels will appear in the more channels overflow menu." + } + ) + MemberSettings = @{ + AllowCreateUpdateChannels = $true + AllowDeleteChannels = $true + AllowAddRemoveApps = $true + AllowCreateUpdateRemoveTabs = $true + AllowCreateUpdateRemoveConnectors = $true + } + GuestSettings = @{ + AllowCreateUpdateChannels = $false + AllowDeleteChannels = $false + } + FunSettings = @{ + AllowGiphy = $true + GiphyContentRating = "Moderate" + AllowStickersAndMemes = $true + AllowCustomMemes = $true + } + MessagingSettings = @{ + AllowUserEditMessages = $true + AllowUserDeleteMessages = $true + AllowOwnerDeleteMessages = $true + AllowTeamMentions = $true + AllowChannelMentions = $true + } + InstalledApps = @( + @{ + "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('com.microsoft.teamspace.tab.vsts')" + } + @{ + "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps('1542629c-01b3-4a6d-8f76-1938b779e48d')" + } + ) +} +New-MgTeam -BodyParameter $params +``` +###Example 6 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" + DisplayName = "My Sample Team" + Description = "My Sample Team’s Description" + Members = @( + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('0040b377-61d8-43db-94f5-81374122dc7e')" + } + ) +} +New-MgTeam -BodyParameter $params +``` +###Example 7 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" + DisplayName = "My Sample Team" + Description = "My Sample Team’s Description" +} +New-MgTeam -BodyParameter $params +``` +###Example 8 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" + DisplayName = "My Sample Team" + Description = "My Sample Team’s Description" + Members = @( + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('jacob@contoso.com')" + } + ) +} +New-MgTeam -BodyParameter $params +``` diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannel.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannel.md index 093355d11d5..09015c9b8df 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannel.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannel.md @@ -1,18 +1,80 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "@microsoft.graph.channelCreationMode" = "migration" + DisplayName = "Import_150958_99z" + Description = "Import_150958_99z" + CreatedDateTime = [System.DateTime]::Parse("2020-03-14T11:22:17.067Z") +} +New-MgTeamChannel -TeamId $teamId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + DisplayName = "Architecture Discussion" + Description = "This channel is where we debate all future architecture plans" + MembershipType = "standard" +} +New-MgTeamChannel -TeamId $teamId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "@odata.type" = "#Microsoft.Graph.channel" + MembershipType = "private" + DisplayName = "My First Private Channel" + Description = "This is my first private channels" + Members = @( + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('62855810-484b-4823-9e01-60667f8b12ae')" + Roles = @( + "owner" + ) + } + ) +} +New-MgTeamChannel -TeamId $teamId -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "@odata.type" = "#Microsoft.Graph.channel" + MembershipType = "private" + DisplayName = "My First Private Channel" + Description = "This is my first private channels" + Members = @( + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('jacob@contoso.com')" + Roles = @( + "owner" + ) + } + ) +} +New-MgTeamChannel -TeamId $teamId -BodyParameter $params +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + DisplayName = "My First Shared Channel" + Description = "This is my first shared channel" + MembershipType = "shared" + Members = @( + @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('7640023f-fe43-573f-9ff4-84a9efe4acd6')" + Roles = @( + "owner" + ) + } + ) +} +New-MgTeamChannel -TeamId $teamId -BodyParameter $params +``` diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelEmail.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelEmail.md index 093355d11d5..d3fe9a47cc8 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelEmail.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelEmail.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +New-MgTeamChannelEmail -TeamId $teamId -ChannelId $channelId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMember.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMember.md index 093355d11d5..bcf6b52d9dc 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMember.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMember.md @@ -1,18 +1,74 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('8b081ef6-4792-4def-b2c9-c363a1bf41d5')" +} +New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('jacob@contoso.com')" +} +New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + ) + "User@odata.bind" = "https://graph.microsoft.com/beta/users('jacob@contoso.com')" +} +New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users/8b081ef6-4792-4def-b2c9-c363a1bf41d5" +} +New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params +``` +###Example 6 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users/24b3819b-4e1d-4f3e-86bd-e42b54d0b2b4" +} +New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params +``` +###Example 7 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users/bc3598dd-cce4-4742-ae15-173429951408" + TenantId = "a18103d1-a6ef-4f66-ac64-e4ef42ea8681" +} +New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params +``` diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessage.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessage.md index 093355d11d5..48a7d0f8822 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessage.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessage.md @@ -1,18 +1,261 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Body = @{ + Content = "Hello World" + } +} +New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Body = @{ + Content = "Hello World" + } +} +New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Body = @{ + ContentType = "html" + Content = "Hello World Jane Smith" + } + Mentions = @( + @{ + Id = 0 + MentionText = "Jane Smith" + Mentioned = @{ + User = @{ + DisplayName = "Jane Smith" + Id = "ef1c916a-3135-4417-ba27-8eb7bd084193" + UserIdentityType = "aadUser" + } + } + } + ) +} +New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Subject = $null + Body = @{ + ContentType = "html" + Content = "" + } + Attachments = @( + @{ + Id = "74d20c7f34aa4a7fb74e2b30004247c5" + ContentType = "application/vnd.microsoft.card.thumbnail" + ContentUrl = $null + Content = "{ + "title": "This is an example of posting a card", + "subtitle": "

This is the subtitle

", + "text": "Here is some body text.
\r\nAnd a hyperlink.
\r\nAnd below that is some buttons:", + "buttons": [ + { + "type": "messageBack", + "title": "Login to FakeBot", + "text": "login", + "displayText": "login", + "value": "login" + } + ] +}" + Name = $null + ThumbnailUrl = $null + } + ) +} +New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Body = @{ + ContentType = "html" + Content = "Here's the latest budget. " + } + Attachments = @( + @{ + Id = "153fa47d-18c9-4179-be08-9879815a9f90" + ContentType = "reference" + ContentUrl = "https://m365x987948.sharepoint.com/sites/test/Shared%20Documents/General/test%20doc.docx" + Name = "Budget.docx" + } + ) +} +New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params +``` +###Example 6 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Subject = $null + Body = @{ + ContentType = "html" + Content = "" + } + Attachments = @( + @{ + Id = "74d20c7f34aa4a7fb74e2b30004247c5" + ContentType = "application/vnd.microsoft.card.adaptive" + ContentUrl = $null + Content = "{ + "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", + "type": "AdaptiveCard", + "version": "1.2", + "speak": "The Seattle Seahawks beat the Carolina Panthers 40-7", + "body": [ + { + "type": "Container", + "items": [ + { + "type": "ColumnSet", + "columns": [ + { + "type": "Column", + "width": "auto", + "items": [ + { + "type": "Image", + "url": "../hostedContents/1/$value", + "size": "Medium" + }, + { + "type": "TextBlock", + "text": "SHADES", + "horizontalAlignment": "Center", + "weight": "Bolder" + } + ] + }, + { + "type": "Column", + "width": "stretch", + "separator": true, + "spacing": "Medium", + "items": [ + { + "type": "TextBlock", + "text": "2019-08-31T19:30:00Z", + "horizontalAlignment": "Center" + }, + { + "type": "TextBlock", + "text": "Final", + "spacing": "None", + "horizontalAlignment": "Center" + }, + { + "type": "TextBlock", + "text": "40 - 7", + "size": "ExtraLarge", + "horizontalAlignment": "Center" + } + ] + }, + { + "type": "Column", + "width": "auto", + "separator": true, + "spacing": "Medium", + "items": [ + { + "type": "Image", + "url": "../hostedContents/2/$value", + "size": "Medium", + "horizontalAlignment": "Center" + }, + { + "type": "TextBlock", + "text": "SKINS", + "horizontalAlignment": "Center", + "weight": "Bolder" + } + ] + } + ] + } + ] + } + ] +}" + Name = $null + ThumbnailUrl = $null + } + ) + HostedContents = @( + @{ + "@microsoft.graph.temporaryId" = "1" + ContentBytes = [System.Text.Encoding]::ASCII.GetBytes("iVBORw0KGgoAAAANSUhEUgAAASkAAAEpCAYAAADPmdSCAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAhr0lEQVR4Xu3d76tdV50GcP+EvJu3/QuGvJgXxSk0Y8QwzZRmCG2lQkjrkM4UjOmLgmAt0bQGLqipo1ghmIhSRBIMbV+UpmiIRSYV9IqmHaqNgRJbUGqoA30xMGe+z+1ZNyfrPuec/WN9115r7yfw6Y917zlnn+9e68ne66y9z8dms1kjTzzxxC6zxxw3h80d7Pekfti3832MfX3A7GK/J5IDbYxZJz1mbppZ5JJRBx4J7Etzar5vY8fZY0S80cZF6JxRZ41dN7vZY6Uetg8RUJvzfbrMWfZYEU+0MbBOicN+1lljOMo6zJ5Dymf7bvd8H7J9G9vDnkPEC20MrEMuO/Rf5hR7HimX7TOcyrN9ucwF9jwiXmhjYB0Sc06so66ieaoKYB+Zs/N91sYl9nwiXmhjgA4ZddCmNE9VMNs3OI1fN/+0jEJKsqKNATpk1EHb0DxVgWyfYBlJ0/knRiElWdHGAB0y6qBd6BOhQti+aDv/xCikJCvaGKBDRh20K5xaaJ5qIKi96TL/xCikJCvaGKBDRh20D5xiaJ4qM9TcdJ1/YhRSkhVtDNAhow6aguapMrFa45KWPvNPjEJKsqKNATpk1EFT0TyVM6vxuisFulJISVa0MUCHjDpoSjgF0UXKiVlNMf90YV5jDwopyYo2BuiQUQdNDaciuswiEatl6vknRiElWdHGAB0y6qBejrHXl+ashh7zT4xCSrKijQE6ZNRBPeEjci1T6MDq1vYayz4UUpIVbQzQIaMO6k3zVC1YrTD/lHsfKaQkK9oYoENGHTQHzVM1YDXC/BOukWQ19KSQkqxoY4AOGXXQnHQnyCWsNri1b475J0YhJVnRxgAdMuqgueGjdM1TLbB65Jx/YhRSkhVtDNAhow46BMxTTf5yGqvBEPNPjEJKsqKNATpk1EGHglObA2wb27hx40bnSXl7bKcjuq6PW2Tvvc3tfb0ppCQr2higQ0YddGid56ksLM6am6b1Udn8sZumVeDg9+eP63wZkL1nzD+xWgxFISVZ0cYAHTLqoCVoPU+FkDCzuVZBFT22cVDh9+a/Hx7bOqjsfaa6vUpKCinJijYG6JBRBy1F49sTIxwWgiJoFFT2O+yxa4MKP5//XvzYRkFl7w3zT96Xt3SlkJKsaGOADhl10JJgjmblbV8QClFILFoZVPazVY9dGlRon/+cPQ5WBpW9p7639/WmkJKsaGOADhl10BLRr9FCGEThwNCgsrYmj90RVPj/eTv7/UU0qOy9pLi9rzeFlGRFGwN0yKiDlgrbuR0YCIEoFFa5Lajsv9s8djuo8O/5/7PfY7aDCttuSpx/YhRSkhVtDNAhow5asq15Kgz+KAya2Aoq0+WxCKY75v9mP18FwdTn66WGoJCSrGhjgA4ZddCiPf300x9cv379f0kYFOub3/zm/7D3UrDkIXXz4393hzlrLk3IBaNrVBugjQE6ZNRBi7exsTG7du0aDYTSnDlzhr6HwiULKRukIZxmE4bAUlitQBsDdMiog1ahhqCqNKCgd0jZoFQ47aSwWoI2BuiQUQetRslBVXFAQeeQskGocFpPYRWhjQE6ZNRBq1JiUFUeUNA6pGzQKZzaU1jN0cYAHTLqoNUpKahGEFDQOKRskCmc+pt8WNHGAB0y6qBVKiGoRhJQsDakbFApnNKbbFjRxgAdMuqg1RoyqEYUULA0pGwQDRlOGMRdXDfs+UqFbZ5UWNHGAB0y6qBVu3LlCg0Rb2xbKrYjpGzQDBlOeN1eX95hjz9sFFaFoo0BOmTUQaumkEpiO6RskFQdTjF7PoVVgWhjgA4ZddCqKaSSwKAYVTjF7PkVVgWhjQE6ZNRBq6aQ6ufpo/8xe/1f/uG9aHDk4h5OMXs9hVUBaGNgHVMhlQDblpognC4f+DgbEDlkD6eYvb7CakC0MbAOqpBKgG1LDaYeTjHbHoXVAGhjYB1VIZUA25aSKZxWs+1TWGWEgrM3JJJb8eEUs+2tMayqo5CSoVUXTjHbfoWVn0sKKRlK9eEUs/ejsEpn+/RUISW5jS6cYvb+FFbd7Zg7U0hJLqMPp5i9X4VVc0sn9hVS4m1y4RSz96+wWm7tp44KKfEy+XCKWT0UVrc0XhKhkJLU3jR/zzqbfMTqM+WwahxOgUJKPNw0xw39Knr5iNVnSmHVOpwChZR4Ulg1YPUZc1h1DqdAISU5KKwasPqMKax6h1OgkJKcFFYNWH1qDqtk4RQopGQICqsGrD41hVXycAoUUjIkhVUDVp+Sw8otnAKFlJRAYdWA1aeksHIPp0AhJSVRWMkOCikpkcJKtimkpGQKK1FISRUUVhOmkJKaKKwmSCElNVJYTYhCSmqmsJoAhBR2MnXx4N3XX3zwUzPm9L/unT2w5x+r8vA9n5r9273/nB3blpI9s/+f6D6HAb/qahWEFdbtTAHu0zWpUKaNwRMrvnfvyJEjszvvvFNG6IEHHqD7HP7zyCEWEuIPizgPs3E6drQxsE6pkJoghVRRJhtOAW0MrFMqpCZIIVWEyYdTQBsD65QKqQlSSA1K4RShjYF1SoXUBCmkBqFwWoI2BtYpFVITpJDKSuG0Bm0MrFMqpCZoVUid+vfDH0aDTLpRODVEGwPrlEtDKvjc5z43e+ihh2Z33XUX7fC1uvfee2c//OEPZ7/+9a9nN27c2PLWW29ttX3605+mj6kV9h2C6bHHHqP7OIK1OmO6F3duCqeWaGOADhl10KUef/zx2f79++kgqM0XvvCF7WBa5rvf/S59bG327t279RcN26dLXAr9A4NtPujYYJTbKZw6oo0BOmTUQdeqPaiaBFSAoyr2HLVAQOEvF7YfV9gOqQCDbz4I2eCcOoVTT7QxQIeMOuha6PS1nvrhFI+F0SpHjx6lz1WDlkdQwY6QCjAY54OSDdapUTglQhsDdMiogzaCOSo2KEqHIyMWRKu89tpr9LlKd99999F918DSkAowOOeDlA3esVM4JUYbA3TIqIM2gr+h2cAoHQuhJnAExp6vZI888gjddw2sDakAg3U+aNlgHhuFkxPaGKBDRh20MTYwSoZP7FgANfHZz36WPmfJOsxFBY1DKsDgnQ9iNrhrp3ByRhsDdMiogzbGBkbJPvOZz9AAagKPZc9ZMrbPGmodUoEN5j1jw96npEUbA3TIqIM2dvfdd9PBUSocDbEAauLEiRP0OUvG9llDnUNKpAvaGKBDRh20sX379tHBUao+IfX1r3+dPmfJ2D5rSCElWdHGAB0y6qCN1bZeCkHDAqiJ2hZ24i8Qts8aUkhJVrQxQIeMOmhjuMyCDZBSdVl+ELzyyiv0OUuFv0DYPmtIISVZ0cYAHTLqoI3hI242QEqF9U4sgJpiz1kqrGNj+6whhZRkRRsDdMiogzaGj7jZACnRJz7xCRo8bdR00XHDC4mXUUhJVrQxQIeMOmgrtcxLtbleb5la5qXwqSvbVy1smj1z+iopcUcbA+uEvULq0KFDdKCUBnNKLHjawC1d2HOXZtW9onpCX4FT5rhBiO1m/UqkDdoYzDsd65CNlb5eqs9K8xiOyNhrlKTHSvM+cPR1wYTw0hGYNEYbA+tMvUOq9KOpn/zkJzRwuij9aKrHRcUerhsE1zGjIy5ZijYG1nl6hxSUejTVZwHnMqUeTeH2OQMdRTV10yi0ZAfaGFhnSRJSpd4Pve+yAwa3GManhez1htRz2cEQcKSF+a0DrG/KdNDGwDpIkpCCgwcP0sEzFHwax0ImBZxCstccSs/FmyXAUdZZo8CaINoYWKdIFlKA29WyQZRbiiUH65Ry0XHHWwSXLASW7kAwEbQxsI6QNKQwWLyDCpPDTz311Oz8+fOzzc3N2QcffLDt/Rdenr2378Gs/nLy2du2Adv08ssvzzY2Nra2lb2HVDAP1XPhZulwSohPDO9g/VfGgTYGtvOThhR4BRWCKQ4lJmdQxQHF/P73v98KrE9+8pP0fXU1gYCKYdJdR1cjRBsD2+nJQwoQVKlWoyOcMNBZACyTI6iaBNSid999d/btb387SViN8BSvDRxdHTZaizUStDGwHe0SUkGfL2zA3TCbHDkt4xlUbQNqEQL30Ucfpe+5CXxAwWo9QZi7wqmgwqpytDGwHewaUoAvbWh7gzycHrEB3pZHUPUJqEXf//736XtfBjXEUg9W44lTWFWONga2Y91DKsAAa3IKiAlxNqi7ShlUqQIqwDqudad/CCes6mc1ldsorCpFGwPbodlCKsCRFU4D2dFV6oAKUgRV6oAKcEobBxXmnHBa1/HLPadOYVUZ2hjYjsweUjEcYeEGevjYng3iVPoElVdABVevXt06WtLpXFIIK30VVQVoY2A7cfCQgnPnztHBm1qXoPIOqODnP/85rY30tnV/LNb/pQy0MbCdN3hIfe1rX6OD1kuboMoVUMHp06dpjSQJrLPSKWCBaGNgO23wkGq7BiqFJkGVO6Dgz3/+8+xLX/oSrZMkgVPAY2wsyHBoY2A7bNCQwje4sMGaw6qgGiKggpdeeonWSpJCv9ftYgpBG4P5zmI7MYt33nmHDtRcWFANGVCBjqayOc7GheRFGwPbSYOF1JBHUYsWg6qEgAIdTWWFiXVdwDwg2hjMdxDbce5++9vf0gE6BARVKQEFOMJkNRM3Wq4wINoItlNwzx62w9w988wzdHDKLfjUk9VOXOkTwAHQRtsRgwUUlHKqVzKd8g0Gd1nQpHpGOxpsBwwaUICFi2xgyi04HWa1k2x0+pfJbf9jhR88oKCk+aiSsdpJVmcXx4/42P4PFDzaAYNhA1J20lKEIuDDJc1TOdr6hxW5mIACNiBlp29961u0fpKd5qkcFRdQwAak7KSQKgqWKehCZQcIqcHWQi3DBqTspJAqkibUE0NI7TJFBRUbkLKTQqpYCqqEtv5hRS0qqNiAlJ2w6JXVT4qgT/4S2f4PKyqCqoj5qaEvLK4Fq50URUGVwI4GK+ypqNDZaZ3UerjPFqudFEdB1RNttMLiyxVZwbPAJR9sYMotup1wVRRUPdBGsMLuNvhYlRXdVe5bBtcI1zey2kmxFFQd0cbACnuHGWRCXfNSq2m1eZUUVB3QxpgVN/s81auvvkoHp3ww++Uvf0lrJlXQ3T5boo2MFfeAyXb6p3tKLaf1UdXTOqoWaOMyVlyc/mW7pbBu2bKTbtEyGgqqhmjjOlbgY1HBXeBoCl/jxAbrVOkoajRwVqKLkhugjU2gwMb9qErLEW7BPB2rkVQLQaUveViDNrZhRcZRletclRZ3fvTlC/pEb5R0P6o1aGNbVmTMVeEm9Wwn9IbBOeXTPrx3ffHCqF1g40o+Qhu7smLvMbgBGNsRvWCQTjWoTp8+TWsio6KlCUvQxr6s4LisJvkp4NSCCu9VK8snRTfNI2hjClZw3FXhuEkaVggqXFzLBrUXBAWOZnIGpE7xJkkT6QRtTMmKnjysMEeVYw0VJqsXgwJLInIEJD4o0CT5ZF1i42jKaKMHK37ysMKaIa9r/LD0YVlQnDt3zuWoSqd3Mqf5qQW00ZPtAITVyws7pDcM7BRhhZDAWqQmd7xEgCHIUoQVth3Bp6MnWaD5qTna6M12AI6o2I7pBadmCJk2gYWQwQW7CLquIYH5Kpx+tgksbCMeo0/uZAl8Sq71U4Y2erPiu4TUIgQOTgdxhIIjnhjCwWNiGkdheG72moBtanKkJmJOsfEzNbTRmxXfPaRERmLyp3200ZsVXiEl0szkT/toozcrukJKpLlJn/bRRm9W9CQh9ZWvfGX25JNP0p+JjMxkT/toozcreO+QOnPmzOzGjRtbNjc3tyal0baxsUF/X6Rym2wsTQFt9GYF7xVSiwG1zJUrV7aC6/nnn589++yzsxMnTtDnygFHe9gGbAu2Cdv25ptvKlClrWNsPI0dbfRmxe4cUk0CahUcdSEkLl68ODt//vyW5557bitEgqankIuPgfB8IYjwWmwbgmvXrimopA1crTG5SXTa6M0K3TmkMKgxuNmgrw1CTHNq0tLkvhaLNnqzQvc63RtDUCmgpIdJ3SmBNnqzIveeOK85qBRQ0tOk7pRAG71ZkXuHFNQYVAooSWQySxJoozcrcJKQgpqCSgElCU3maIo2erMCJwspqCGoFFDiYBJHU7TRmxU3aUhByUGlgBInkziaoo3erLjJQwouX75MQ2JoWMTJtlckgdEfTdFGb1bY5CGFxZksIEqBRahsu0V6Gv3RFG30ZoVNGlKlB1SgoBInu9k4Gwva6M2KmiykagmoQEElDka9Cp02erOiJgmp2gIqUFCJg9GuQqeN3qygvUOq1oAKFFSS2Gi/Bos2ekNBowK3UntABQoqSegmG2tjQBu9WUE7hxRuhcIGfK1wixf2PkU6OMzGW+1oozcrZueQwqJILI5kA742OCJk71Gko1EuR6CN3qyYvU73xhBUCihxMroJdNrozQrZe+K85qBSQImj0X2zDG30ZoXsHVJQY1ApoMTZdTbmakYbvVkhk4QU1BRUCijJZFTX89FGb1bEZCEFNQSVAkoyGtUKdNrozYqYNKSg5KBSQElmo1ozRRu9WRGThxRgzRELiaGxbRVxdoCNvRrRRm9WQIWUiK/RfMpHG71ZARVSIr5G8ykfbfRmBVRIifgbxX2maKM3K55CSsTfMTb+akMbvVnxFFIi/kZxLR9t9GbFU0iJ5LGLjcGa0EZvVjiFlEge1S9FoI3erHAKKZE8ql+KQBu9WeEUUiJ5VD8vRRu9WeEUUiKZxOOvNrTRmxVOISWST9V3RaCN3qxoCimRfKpeL0UbvVnRFFIi+Vxg47AWtNGbFU0hJZLPJhuHtaCN3qxoCimRjOIxWBPa6M2KppASyavayXPa6M0KppASyavaLw6ljd6sYAopkbyOs7FYA9roDQWLCpiEQkpkqWpXntNGb1YwhZRIXtV+wkcbvVnBFFIimcXjsBa00ZsVTCElkl+V95aijd6sWAopkfyqXIZAG71ZsRRSIvkppJqyYimkRPKrchkCbfSGYkXFS0IhJbKSQqopFCsqXhIKKZGVzrHxWDra6M2KpZASye+/2XgsHW30ZsVSSInkV+VXr9NGb1YshZRIfu+x8Vg62ujNiqWQEsnvr2w8lo42erNiKaREBhCPxRrQRm9WLIWUyADisVgD2ujNiqWQEhlAPBZrQBu9WbEUUiIDiMdiDWijNyuWQkpkAPFYrAFt9GSF2m1uLhYuFYVUGo899hhtl1Go7l7ntNGLFcgtoEAhlYZCavSqCira6MEK4xpQoJBKQyE1CdUEFW1MzQriHlCgkEpDITUZVQQVbUzJCpEloEAhlcajjz5K22WUig8q2piKFSBbQIFCKo1Dhw7RdhmtooOKNqZgbzxrQIFCKg2F1CQVG1S0MQV709ejIrhTSKVx//3303YZvSLvgU4bU7A3rCOpObatJTt48CBtl1E7y8ZxCWhjKvbGNSdl2LaW7J577qHtMlrFBhTQxpSsAPp0j2xryfbt2zd7/PHH6c9kdIoOKKCNqVkhsgSVQioNhNSRI0foz2RUig8ooI0erCDuQaWQSgMh9eCDD9KfyWhUEVBAG71YYVyDSiGVBkJq//799GcyCtUEFNBGT1Ygt6BSSKWBkLrrrrvoz6R6VQUU0EZPViSFVOEQUnfeeaeu4RsnhdQqViCd7lUghNRDDz1Efy7V0+keY4XRxHklQkjh3+znMgqaOF9kBXEPKFBIpRFCCrReatSqCCramJIVIktAgUIqjcWQ0sXGo1d8UNHGVKwA2QIKFFJpLIaUTvkmoeigoo0p2BvPGlCgkEpjMaTg6NGj9PdkVIoNKtqYgr3pS1ER3Cmk0ohDSqvPJ2Nyt2rZZTYXCuBOIZVGHFJa2DkJ07vpHdgbzxpUCqk04pACTaCP2jRvHxxYAbIF1cbGBg2JobFtLRkLqT179tDflepN+4sYAitEtqBiITE0tp0lYyEFOpoaneIDCmijBytIlqBiITE0tp0lWxZSOpoalSoCCmijFyuMe1BduXKFBsWQ2HaWbFlIgY6mRqGagALa6MkK5BpUFy9epEExJLadJVsVUjia0qUyVSsioGxc7DZ7zGFzbP7fdAnEjoYcrFDHo8Ilc+bMGRoUQ2LbWbJVIQVaN1WveCzmZGPhgLlgboaxscSmQXDtwuPok3mzYrmFVImf8LHtLNm6kMK6Ka1Cr1M8FnOwMYBwur44JhpCmB2nT+rNiuUWUvDmm2+yNzwYto0lWxdSgN9hj5WyxWPRk/X9XQZHTnRcNEWf3JsVyzWkSpuXYttYsiYhBbopXn3isejF+j0CCqdtdEy0QV/AmxXLNaSee+45+maHwraxZE1DSqd99YnHogfr88kCCuiLeLNiuYYUlHTKx7avZE1DCvbu3UufQ8oUj0UP1ucvxWOgD/oi3qxY7iF1/vx5+oaHwLavZG1CCg4ePEifR8oTj8XUrL8fj/t/X/SFvFmx3EPqxIkT9A0PgW1fydqGFGiRZx3isZiS9XWc5q1bXtAafTFvViz3kIJSJtDZtpWsS0iBvgKrfPFYTMn6evKjKKAv5s2KlSWkSjmaYttWsq4hhYl0BVXZ4rGYkvX1Lmuh1qIv5s2KlSWkoISjKbZdJesaUoCJdF02U654LKZi/RyXudD+3xd9QW9WrGwh9eSTT86uXbtG33wubLtK1iekQEFVrngspmL93OVUD+gLerNiZQspeP755+mbz4VtU8n6hhQoqMoUj8VUrJ+fjft9KvQFvVmxsoYUDHkLF7Y9JUsRUqCgKk88FlOxfp50bdQi+oLerFjZQ2rI0z62PSVLFVKgyfSyxGMxFevnCqkUhvqiBrYtJUsZUoCgOnLkCH0tySsei6lYP1dIpTLE/abYdpQsdUgFuiB5ePFYTMX6efJFnAF9QW9WrMFCCnIvS2DbUDKvkIL77rtP81QDisdiCtbHsdKc9v0U6It6s2INGlKQM6jY65fMM6QAtyDWPNUw4rGYgvVx3NSO9v0U6It6s2INHlKQK6jYa5fMO6QC3YY4v3gspmB93G35AdAX9WbFKiKkIMccFXvdkuUKKcAyBU2q5xOPxb6sf7ue6gF9YW9WrGJCCnCTPM/lCew1S5YzpALNVeURj8W+rH+7rTQP6At7s2IVFVKAi5E3Nzdpkfpir1eyIUIKsFQBp4AKKz/xWOzD+rbb9XqL6It7s2IVF1IBbpaX+qiKvU7JhgqpQGHlajcbk21Zv056i+BV6AZ4s0IVG1KAo6rLly/TgnXBXqNkQ4dUgLDCXT91H/WkjrMx2Zb1a9fJ8kV0A7yhUFHhioQV6imu+WPPXbJSQmrR/v37Z4888gjdXmnlutn60s0urD/jCCpbQAHdEG9WpCpCKkBY9VmuwJ6zZCWGVICjK0yyK7B6OcvG5TrWlzEHleUUbxHdGG9WpKpCKsBFyrjtS9ujK/ZcJSs5pBYhsHCEhfura3Foa42Dyvowjp7cP8Vbhm6UNytQlSG1CIGFpQsvvfTS2tBijy9ZLSEVQ2hh2zHpjiMtBddaOPU7zMao9VsEE1aSZz21Y3ZsXEr2AncYvFGk8CmDK6UvXb169ToGNuA0Cp+oYVHlxsYGK2QVEFqnT5/eej8/+9nPtr73LwjvFZPxeK84GsMpJHueEniGFJ7785///Ox73/vell/84hcUaoSff/WrX92aOMeCz64UVo389eTJk//1ne98Z/OnP/3p22+99dZ7NlZpaORGw6Ure0Kk72GD73/vfFU0BjQ6KT5lI8UsRjiS6vNFpFibhecoKaBTh9QXv/jF2Y9+9KPZr371K1qDJkqs09jhL14cPLzxxhtudzhogoZNW/ZEe4zLYSECC4ViRRwCghODxWOFOsIO4YzOwV47lxQhdf/9928dCfUJ8GXwnDgiHbpOU4Ijfzu6+pDtD280dJqyJ0A4ud3sahE65pBhhXDKdUEyAnDIQdgnpBBOL774In1fqQ1dp6lBnXONgUU0fNaxB2KuCad09Ek94bA/53wOdgwGAtsWbxiEQwRz15DCkZPHEeY6eE0cgbL3IumhT7L94IWG0Cr2oGNm0HNUwCmX99+gmP/wOF1pC6e8Oefn2obUww8/3Gu+KRX8BVb6POZY4C8Ftg880CBi7JezrzRdx7NT5twJTeBoARP1bFtTaxNSJ0+epNs7lKGOPqco5aVjq9BAitkvIqCyrzRtAp0y9Sc+Q5x3N5VjADYNqVxzT13gFJ29N0kHZzI5Tu9pKC2yX8JSeJfveE8pxeBF0XP97dAHQpRtfypNQqrkgAq86yR55qdoMAX2C5ggH3z+qam+p0OY+2HPWyLPAbgupGoIqEBB5c/7aIqGE9gPiz3FW6bPqV/Jp3jLeJ36rQqpmgIq0KmfL3yIxeqeyCkaUGA/zLL+KTUEVdtP/YZaYpCCx3KMZSFV2iR5G7k+dJgi9EFW8wRwkLRrWUANdsVzCjhtY8VkHAucRZdQXoeFFJYZsNevBeqk5Ql+WM17wjTT1l1EWUBluW+xtyaL+zC4S1gH1VebUG6ChVQJ66D6Sl0nucVhHG3fnYGFVFXzUMs0+ZvT+Vw6q5SnM3FIYSU5e80aaWW6j8QfOp1azKQ4oHAHA/agKq36ZAcBxh5TK/xNlvK0LwQUrsVD4LPXrJHH6bEkDakdN+NbDCh8mlfNcoOmlk0s1/hp3jqpPsX68pe/vB1SNX6at44+7UsvUUjRu4Vu/4f9wqiOogIszowLOrajqABHCfF77eIHP/jB9lEUe53a6WgqPVbnlpbeznj7P+yXil9V3lU8NzXGo6ig79qpb3zjG9shdfbsWfoaY6C5qXSwNpHVuIWV91vf+of9Eu4LxR48CouH9/gbdExzLDFcdL3Ygdp64YUXtkNqzHXCHB57/9Jez4vxb5skZ7b+Yb9Y1N0NUlvskDmuNRpan/VAf/rTn7ZCCrf8Zc89JroVcRr4i5HVdw3Mf9MvgYht/WP+APZEoxE6ZA0XEPfV9VQGyxjwByE1xgnzmCbQ++u4GBrLnBp/3TsCahSLN9cJA3fMpzAB+7Cgibffftv6xEchNYZFruv0PTWWTp/q4VujWn2DMkIKd9pkTzYqGLgJJviq0OVTPsxFhT8XLlygzztGrBbSTMu5KBw97bHuRYNoldHPRwU4MpjCfFTQZr4Fn+gt/nn11Vfpc46RxwXaU4D+1fCsBFNJx6xb0QBqAiFV5d0Ouqj5bgdtNb1MBgH14YcfWl+49ec3v/kNfc4x0lKE9hoGFMIJNypodWrHIKTYC4xSx08hqtRkUhhBFgcU/rzxxhv0OcdIk+ft4Mjzj3/84/+xWs5hvSUWhvcOp0AhNVKrBt9TTz01e+WVV2z/8z/vvPMOfc4x0p07m8H6whVnIjhqwrRR40/s2lBIjRTu8BB3NIQTJsjff/992/fL/0wppHT7ltUQTpjL/cMf/vC3qHaYCMcndZ0mw9uYVEhdvXqVto8RAhmnc4Cjpt/97ne2v5v9UUhNExYB43QOfvzjH7//+uuvv2undn+x/vCa1QqBhJUA7qF0u9nH/h+sBaOnOz4IxQAAAABJRU5ErkJggg==") + ContentType = "image/png" + } + @{ + "@microsoft.graph.temporaryId" = "2" + ContentBytes = [System.Text.Encoding]::ASCII.GetBytes("iVBORw0KGgoAAAANSUhEUgAAASkAAAEpCAYAAADPmdSCAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAg2UlEQVR4Xu3dz8tcVZ4G8P4TspulWfTGzZiFCxHBgDKCGTAQXgQXmhaMMy70deGq0xJbuwMBMTpCuwgmoIhIhKAuGiPdIQ7NRKF5m1YztJoOiI5gYwdnwMXA1Hyf1zpvyvM+VXV/nO+559z7BD7+OO9bVfd+7zlP7j116tZPZrNZI0888cQes98cM4fNXvZ7Uj8c2/kxxrE+aPaw3xPJgTbGrJNummtmFrlg1IFHAsfSnJwf29gx9hgRb7RxETpn1FljV80+9liphx1DBNTW/Jguc4Y9VsQTbQysU+K0n3XWGM6yDrPnkPLZsds3P4bs2Mb2s+cQ8UIbA+uQy079lznJnkfKZccMl/LsWC5zjj2PiBfaGFiHxJwT66iraJ6qAjhG5sz8mLVxgT2fiBfaGKBDRh20Kc1TFcyODS7j180/LaOQkqxoY4AOGXXQNjRPVSA7JlhG0nT+iVFISVa0MUCHjDpoF3pHqBB2LNrOPzEKKcmKNgbokFEH7QqXFpqnGghqb7rMPzEKKcmKNgbokFEH7QOXGJqnygw1N13nnxiFlGRFGwN0yKiDpqB5qkys1vhIS5/5J0YhJVnRxgAdMuqgqWieypnVeN0nBbpSSElWtDFAh4w6aEq4BNGHlBOzmmL+6dy8xh4UUpIVbQzQIaMOmhouRfQxi0SslqnnnxiFlGRFGwN0yKiDetlkry/NWQ095p8YhZRkRRsDdMiog3rCW+RaptCB1a3tZyz7UEhJVrQxQIeMOqg3zVO1YLXC/FPuY6SQkqxoY4AOGXXQHDRP1YDVCPNP+Iwkq6EnhZRkRRsDdMiog+akO0EuYbXBrX1zzD8xCinJijYG6JBRB80Nb6VrnmqB1SPn/BOjkJKsaGOADhl10CFgnmryH6exGgwx/8QopCQr2higQ0YddCi4tDnItrGNL7/8svOkvD220xld18ctsn1vc3tfbwopyYo2BuiQUQcdWud5KguLM+aaaX1WNn/slmkVOPj9+eM6fwzI9hnzT6wWQ1FISVa0MUCHjDpoCVrPUyEkzGyuVVBFj20cVPi9+e+Hx7YOKtvPVLdXSUkhJVnRxgAdMuqgpWh8e2KEw0JQBI2Cyn6HPXZtUOHn89+LH9soqGzfMP/k/fGWrhRSkhVtDNAhow5aEszRrLztC0IhColFK4PKfrbqsUuDCu3zn7PHwcqgsn3qe3tfbwopyYo2BuiQUQctEf0aLYRBFA4MDSpra/LYXUGF/5+3s99fRIPK9iXF7X29KaQkK9oYoENGHbRU2M6dwEAIRKGwyo+Cyv67zWN3ggr/nv8/+z1mJ6iw7abE+SdGISVZ0cYAHTLqoCXbnqfC4I/CoIntoDJdHotg2jv/N/v5KgimPl8vNQSFlGRFGwN0yKiDFu2ZZ5757urVq/9LwqBYL7zwwv+wfSlY8pC6dus/7DVnzIUJOWf0GdUGaGOADhl10OKdOHFiduXKFRoIpTl9+jTdh8IlCykbpCGcZhOGwFJYrUAbA3TIqINWoYagqjSgoHdI2aBUOO2msFqCNgbokFEHrUbJQVVxQEHnkLJBqHBaT2EVoY0BOmTUQatSYlBVHlDQOqRs0Cmc2lNYzdHGAB0y6qDVKSmoRhBQ0DikbJApnPqbfFjRxgAdMuqgVSohqEYSULA2pGxQKZzSm2xY0cYAHTLqoNUaMqhGFFCwNKRsEA0ZThjEXVw17PlKhW2eVFjRxgAdMuqgVbt06RINEW9sWyq2K6Rs0AwZTnjdXl/eYY8/bBRWhaKNATpk1EGrppBKYiekbJBUHU4xez6FVYFoY4AOGXXQqimkksCgGFU4xez5FVYFoY0BOmTUQaumkOrnmUf/dfbBP9/8dTQ4cnEPp5i9nsKqALQxsI6pkEqAbUtNEE4XD97KBkQO2cMpZq+vsBoQbQysgyqkEmDbUoOph1PMtkdhNQDaGFhHVUglwLalZAqn1Wz7FFYZoeBsh0RyKz6cYra9NYZVdRRSMrTqwilm26+w8nNBISVDqT6cYrY/Cqt0di5PFVKS2+jCKWb7p7DqbtfcmUJKchl9OMVsfxVWzS2d2FdIibfJhVPM9l9htdzadx0VUuJl8uEUs3oorK5rvCRCISWpXTb/yDqb/MDqM+WwahxOgUJKPFwzxwz9Knr5gdVnSmHVOpwChZR4Ulg1YPUZc1h1DqdAISU5KKwasPqMKax6h1OgkJKcFFYNWH1qDqtk4RQopGQICqsGrD41hVXycAoUUjIkhVUDVp+Sw8otnAKFlJRAYdWA1aeksHIPp0AhJSVRWMkuCikpkcJKdiikpGQKK1FISRUUVhOmkJKaKKwmSCElNVJYTYhCSmqmsJoAhBQOMnX+0O1X3773n2Zj8flTm7NvnnsyO7YttRrwq65WQVhh3c4U4D5dkwpl2hg8oe/dS4JtS63+7cj9LCTEHxZxHmbjdOxoY2CdUiGVANuWWimksptsOAW0MbBOqZBKgG1LrRRS2Uw+nALaGFinVEglwLalVgopdwqnCG0MrFMqpBJg21IrhZQbhdMStDGwTqmQSoBtS60UUskpnNagjYF1ymJC6pFHHpk98MADO/D/7PdWqSWkNjc3f7SvDz30EP29IZz8l8PfR4NMulE4NUQbA+uUg4cUBunNN988u+GGG3ZBO37OHseUHlII3ttvv53u64033jjb2Nigj8sMa3XGdC/u3BROLdHGAB0y6qBZ3XnnnXTAxjYaDt6SQwr78NOf/pTu3yKEGHt8RhdC/8Bgmw+6xUEonMKpI9oYoENGHTSbu+++mw7SZTYaBFWpIYWzQbZPywwcVDshFWDwzQdhPDBF4dQbbQzQIaMOmgUue9jgXAVnIevmqUoNKVzKsX1a5b777qPPlcGukAowGOeDkg3WqVE4JUIbA3TIqINmsWxeZh2cfbHnC0oMqQ07A2T7ss5NN91Eny+DpSEVYHDOB2k8cKdA4ZQYbQzQIaMOmkWTuRlm3cAtMaRuvfVWui9N4F1A9pzO1oZUgME6H7RsMI+NwskJbQzQIaMOmgUbkE2x5wtKDKll71w20eadzYQah1SAwTsfxGxw107h5Iw2BuiQUQfNgg3IptjzBQqpJFqHVGCDef/YsP2UtGhjgA4ZddAs2IBsij1foJBKonNIiXRBGwN0yKiDZsEGZFPs+QKFVBIKKcmKNgbokFEHzYINyKbY8wUKqSQUUpIVbQzQIaMOmgUbkE2x5wsUUkkopCQr2higQ0YdNAs2IJtizxcopJJQSElWtDFAh4w6aBZsQDbFni9QSCWhkJKsaGOADhl10CzYgGyKPV+gkEpiy+yf01dJiTvaGFgnVEglwLYlqDCklkFfgZPmmEGI7WP9SqQN2hjMOx3rkK66fOAWMODZ8wUlhlTXzykCe75C4ezrnAnhpTMwaYw2BtaZBgmppveRit1zzz30+YISQwpnQ2xf1sFn/tjzVeSqQXBtGp1xyVK0MbDOM0hI4YOzbT9kjLOvdR+4LTGkoMslX0m3FE7kmlFoyS60MbDOMkhIwUbLW5g0GbSlhhTug9UmlNedMY4EzrQwv3WQ9U2ZDtoYWAcZLKQAQbVu8OLnTSeQSw0pQMg2mYubSEDFcJZ1xiiwJog2BtYpBg0pwFkG5qjiAYz/x03u2txTqeSQAuwLQgj3xVrcVwQxJtjX3Xl0IkJg6Q4EE0EbA+sIg4dUW7/61a9mr7766uz999+fffrpp7Pvvvtux7dv/Xb29V33ZvW348//aBuwTR9++OHs7Nmz29vK9kEawyUh3jHcy/qvjANtDOzgVxNSCKY4lJicQRUHFPPFF19sB9YvfvELul/SGCbddXY1QrQxsINefEghnDDQWQAskyOomgTUom+++Wb2zjvvKKz6w9nVYaO1WCNBGwM70MWG1LPPPtvozGkZz6BqG1CLELgvvvgi3WdpBXNXuBRUWFWONgZ2gIsMKVwesQHelkdQ9QmoRe+99x7dd2lNYVU52hjYgS0upDAhzgZ1VymDKlVABX/+8591+ZeOwqpStDGwA1pUSKUOqCBFUKUOqACXtAqqpBRWlaGNgR3IYkLKK6CCPkHlFVABgorVRHpBWOmrqCpAGwM7iEWEVKo5qHW6BJV3QAUIaVYb6W37/lis/0sZaGNgB2/wkMK7eGzQemkTVLkCKjh16hStkSSBdVa6BCwQbQzsoA0eUn2WGXTVJKhyBxRgLZXmp1zhEnCTjQUZDm0M7IANGlJYqMkGaw6rgmqIgAqw4JPVSpJCv9ftYgpBG4P5wWIHMYu2K8lTY0E1ZEAFOpvK5hgbF5IXbQzsIA0WUkOeRS1aDKoSAgp0NpUVJtb1AeYB0cZgfoDYgXOHhYxsgA4BQVVKQAHOMFnNxI2WKwyINoIdFNyzhx0wd7iFCRucch3e9WS1E1d6B3AAtNEOxGABBaVc6pVMl3yDwV0WNKme0a4GOwCDBhR4ry4fA1wOs9pJNrr8y+RH/2OFHzygoKT5qJKx2klWZxbHj/jY+Q8UPDoAg2EDUnbTUoQi4M0lzVM52v6HFbmYgAI2IGU33RyvGJqnclRcQAEbkLKbQqooWKagDyo7QEgNthZqGTYgZTeFVJE0oZ4YQmqPKSqo2ICU3RRSxVJQJbT9DytqUUHFBqTspu/tK5re+Utk5z+sqAiqIuanhv5gcS1Y7aQoCqoEdjVYYU9Ghc5O66TW0y2Fq6Gg6ok2WmHx5Yqs4FngIx9sYMp1up1wVRRUPdBGsMLuM3hblRXdVe5bBtcIn29ktZNiKag6oo2BFXavGWRCXfNSq2m1eZUUVB3QxpgVN/s8Fb7Blw1O+W724Ycf0ppJFXS3z5ZoI2PFPWiyXf7pnlLLaX1U9bSOqgXauIwVF5d/2W4prFu27KZbtIyGgqoh2riOFXgzKrgLnE3ha5zYYJ0qnUWNBq5K9KHkBmhjEyiwcT+r0nKE6zBPx2ok1UJQ6Use1qCNbViRcVblOlelxZ0/fPmC3tEbJd2Pag3a2JYVGXNVuEk9Owi9YXBO+bIP+64vXhi1c2xcyQ9oY1dW7P0GNwBjB6IXDNKpBtWpU6doTWRUtDRhCdrYlxUcH6tJfgk4taDCvmpl+aTopnkEbUzBCo67KhwzScMKQYUP17JB7QVBgbOZnAGpS7xJ0kQ6QRtTsqInDyvMUeVYQ4XJ6sWgwJKIHAGJNwo0ST5ZF9g4mjLa6MGKnzyssGbI6zN+WPqwLCjOnj3rclalyzuZ0/zUAtroyQ4Awuq3CwekNwzsFGGFkMBapCZ3vESAIchShBW2HcGnsydZoPmpOdrozQ4AzqjYgekFl2YImTaBhZDBB3YRdF1DAvNVuPxsE1jYRjxG79zJEniXXOunDG30ZsV3CalFCBxcDuIMBWc8MYSDx8Q0zsLw3Ow1AdvU5ExNxJxk42dqaKM3K757SImMxOQv+2ijNyu8Qkqkmclf9tFGb1Z0hZRIc5O+7KON3qzoSULql7/85ezo0aP0ZyIjM9nLPtrozQreO6ROnz49+/LLL7dtbW1tT0qj7cSJE/T3RSq3xcbSFNBGb1bwXiG1GFDLXLp0aTu4Xnvttdnzzz8/e/rpp+lz5YCzPWwDtgXbhG27fPmyAlXa2mTjaexoozcrdueQahJQq+CsCyFx/vz52ZtvvrntpZde2g6RoOkl5OJjIDxfCCK8FtuG4MqVKwoqaQOf1pjcJDpt9GaF7hxSGNQY3GzQ1wYhpjk1aWlyX4tFG71ZoXtd7o0hqBRQ0sOk7pRAG71ZkXtPnNccVAoo6WlSd0qgjd6syL1DCmoMKgWUJDKZJQm00ZsVOElIQU1BpYCShCZzNkUbvVmBk4UU1BBUCihxMImzKdrozYqbNKSg5KBSQImTSZxN0UZvVtzkIQUXL16kITE0LOJk2yuSwOjPpmijNyts8pDC4kwWEKXAIlS23SI9jf5sijZ6s8ImDanSAypQUImTfWycjQVt9GZFTRZStQRUoKASB6NehU4bvVlRk4RUbQEVKKjEwWhXodNGb1bQ3iFVa0AFCipJbLRfg0UbvaGgUYFbqT2gAgWVJHSNjbUxoI3erKCdQwq3QmEDvla4xQvbT5EODrPxVjva6M2K2TmksCgSiyPZgK8NzgjZPop0NMrlCLTRmxWz1+XeGIJKASVORjeBThu9WSF7T5zXHFQKKHE0um+WoY3erJC9QwpqDCoFlDi7ysZczWijNytkkpCCmoJKASWZjOrzfLTRmxUxWUhBDUGlgJKMRrUCnTZ6syImDSkoOagUUJLZqNZM0UZvVsTkIQVYc8RCYmhsW0WcHWRjr0a00ZsVUCEl4ms07/LRRm9WQIWUiK/RvMtHG71ZARVSIv5GcZ8p2ujNiqeQEvG3ycZfbWijNyueQkrE3yg+y0cbvVnxFFIieexhY7AmtNGbFU4hJZJH9UsRaKM3K5xCSiSP6pci0EZvVjiFlEge1c9L0UZvVjiFlEgm8firDW30ZoVTSInkU/VdEWijNyuaQkokn6rXS9FGb1Y0hZRIPufYOKwFbfRmRVNIieSzxcZhLWijNyuaQkoko3gM1oQ2erOiKaRE8qp28pw2erOCKaRE8qr2i0NpozcrmEJKJK9jbCzWgDZ6Q8GiAiahkBJZqtqV57TRmxVMISWSV7Xv8NFGb1YwhZRIZvE4rAVt9GYFU0iJ5FflvaVoozcrlkJKJL8qlyHQRm9WLIWUSH4KqaasWAopkfyqXIZAG72hWFHxklBIiaykkGoKxYqKl4RCSmSls2w8lo42erNiKaRE8vtPNh5LRxu9WbEUUiL5VfnV67TRmxVLISWS39dsPJaONnqzYimkRPL7OxuPpaON3qxYCimRAcRjsQa00ZsVSyElMoB4LNaANnqzYimkRAYQj8Ua0EZvViyFlMgA4rFYA9rozYqlkBIZQDwWa0AbPVmh9plri4VLRSGVxiOPPELbZRSqu9c5bfRiBXILKFBIpaGQGr2qgoo2erDCuAYUKKTSUEhNQjVBRRtTs4K4BxQopNJQSE1GFUFFG1OyQmQJKFBIpfHwww/Tdhml4oOKNqZiBcgWUKCQSuP++++n7TJaRQcVbUzBdjxrQIFCKg2F1CQVG1S0MQXb6atREdwppNLY2Nig7TJ6Rd4DnTamYDusM6k5tq0lO3ToEG2XUTvDxnEJaGMqtuOakzJsW0t2991303YZrWIDCmhjSlYAvbtHtrVkd9111+zxxx+nP5PRKTqggDamZoXIElQKqTQQUkeOHKE/k1EpPqCANnqwgrgHlUIqDYTUvffeS38mo1FFQAFt9GKFcQ0qhVQaCKkDBw7Qn8koVBNQQBs9WYHcgkohlQZC6rbbbqM/k+pVFVBAGz1ZkRRShUNI3XLLLfoM3zgppFaxAulyrwIhpO677z76c6meLvcYK4wmzisRQgr/Zj+XUdDE+SIriHtAgUIqjRBSoPVSo1ZFUNHGlKwQWQIKFFJpLIaUPmw8esUHFW1MxQqQLaBAIZXGYkjpkm8Sig4q2piC7XjWgAKFVBqLIQWPPvoo/T0ZlWKDijamYDt9ISqCO4VUGnFIafX5ZEzuVi17zNZCAdwppNKIQ0oLOydheje9A9vxrEGlkEojDinQBPqoTfP2wYEVIFtQnThxgobE0Ni2loyF1P79++nvSvWm/UUMgRUiW1CxkBga286SsZACnU2NTvEBBbTRgxUkS1CxkBga286SLQspnU2NShUBBbTRixXGPaguXbpEg2JIbDtLtiykQGdTo1BNQAFt9GQFcg2q8+fP06AYEtvOkq0KKZxN6aMyVSsioGxc7DP7zWGzOf9vugRiV0MOVqhjUeGSOX36NA2KIbHtLNmqkAKtm6pXPBZzsrFw0Jwz18LYWGLLILj24HH0ybxZsdxCqsR3+Nh2lmxdSGHdlFah1ykeiznYGEA4XV0cEw0hzI7RJ/VmxXILKbh8+TLb4cGwbSzZupAC/A57rJQtHouerO/vMThzouOiKfrk3qxYriFV2rwU28aSNQkp0E3x6hOPRS/W7xFQuGyjY6IN+gLerFiuIfXSSy/RnR0K28aSNQ0pXfbVJx6LHqzPJwsooC/izYrlGlJQ0iUf276SNQ0puOOOO+hzSJnisejB+vyFeAz0QV/EmxXLPaTefPNNusNDYNtXsjYhBYcOHaLPI+WJx2Jq1t+Pxf2/L/pC3qxY7iH19NNP0x0eAtu+krUNKdAizzrEYzEl6+u4zFu3vKA1+mLerFjuIQWlTKCzbStZl5ACfQVW+eKxmJL19eRnUUBfzJsVK0tIlXI2xbatZF1DChPpCqqyxWMxJevrXdZCrUVfzJsVK0tIQQlnU2y7StY1pAAT6frYTLnisZiK9XN8zIX2/77oC3qzYmULqaNHj86uXLlCdz4Xtl0l6xNSoKAqVzwWU7F+7nKpB/QFvVmxsoUUvPbaa3Tnc2HbVLK+IQUKqjLFYzEV6+dn4n6fCn1Bb1asrCEFQ97ChW1PyVKEFCioyhOPxVSsnyddG7WIvqA3K1b2kBryso9tT8lShRRoMr0s8VhMxfq5QiqFob6ogW1LyVKGFCCojhw5Ql9L8orHYirWzxVSqQxxvym2HSVLHVKBPpA8vHgspmL9PPkizoC+oDcr1mAhBbmXJbBtKJlXSME999yjeaoBxWMxBevjWGlO+34K9EW9WbEGDSnIGVTs9UvmGVKAWxBrnmoY8VhMwfo4bmpH+34K9EW9WbEGDynIFVTstUvmHVKBbkOcXzwWU7A+7rb8AOiLerNiFRFSkGOOir1uyXKFFGCZgibV84nHYl/Wv10v9YC+sDcrVjEhBbhJnufyBPaaJcsZUoHmqvKIx2Jf1r/dVpoH9IW9WbGKCinAh5G3trZokfpir1eyIUIKsFQBl4AKKz/xWOzD+rbb5/UW0Rf3ZsUqLqQC3Cwv9VkVe52SDRVSgcLK1T42Jtuyfp30FsGr0A3wZoUqNqQAZ1UXL16kBeuCvUbJhg6pAGGFu37qPupJHWNjsi3r166T5YvoBnhDoaLCFQkr1FN85o89d8lKCalFBw4cmD344IN0e6WVq2b7Sze7sP6MM6hsAQV0Q7xZkaoIqQBh1We5AnvOkpUYUgHOrjDJrsDq5Qwbl+tYX8YcVJZLvEV0Y7xZkaoKqQAfUsZtX9qeXbHnKlnJIbUIgYUzLNxfXYtDW2scVNaHcfbk/i7eMnSjvFmBqgypRQgsLF1455131oYWe3zJagmpGEIL245Jd5xpKbjWwqXfYTZGrd8imLCSPOulHbNr41KyF9hrsKNI4ZMGn5S+8PHHH1/FwAZcRuEdNSyqPHHiBCtkFRBap06d2t6f3//+99vf+xeEfcVkPPYVZ2O4hGTPUwLPkMJzP/bYY7OXX3552x/+8AcKNcLPf/3rX29PnGPBZ1cKq0b+fvz48f/4zW9+s/W73/3u87/85S9f21iloZEbDZeu7AmRvocNvv+986eiMaDRSfEuGylmMcKZVJ8vIsXaLDxHSQGdOqR+/vOfz15//fXZH//4R1qDJkqs09jhL16cPHzyySdudzhogoZNW/ZE+43LaSECC4ViRRwCghODxWOFOsIO4YzOwV47lxQhtbGxsX0m1CfAl8Fz4ox06DpNCc787ezqe3Y8vNHQacqeAOHkdrOrReiYQ4YVwinXB5IRgEMOwj4hhXB6++236X6lNnSdpgZ1zjUGFtHwWcceiLkmXNLRJ/WE0/6c8zk4MBgIbFu8YRAOEcxdQwpnTh5nmOvgNXEGyvZF0kOfZMfBCw2hVexBm2bQa1TAJZf336CY//C4XGkLl7w55+fahtTPfvazXvNNqeAvsNLnMccCfymwY+CBBhFjv5x9pek6np0y50FoAmcLmKhn25pam5A6fvw43d6hDHX2OUUpPzq2Cg2kmP0iAir7StMm0ClTv+MzxHV3UzkGYNOQyjX31AUu0dm+STq4kslxeU9DaZH9EpbCu3zHe0opBi+Knutvhz4Qomz7U2kSUiUHVOBdJ8kzP0WDKbBfwAT54PNPTfW9HMLcD3veEnkOwHUhVUNABQoqf95nUzScwH5Y7CXeMn0u/Uq+xFvG69JvVUjVFFCBLv184U0sVvdETtKAAvthlvVPqSGo2r7rN9QSgxQ8lmMsC6nSJsnbyPWmwxShD7KaJ4CTpD3LAmqwTzyngMs2VkzGscBZdAnldVhIYZkBe/1aoE5anuCH1bwnTDNt30WUBVSW+xZ7a7K4D4O7hHVQfbUJ5SZYSJWwDqqv1HWS6xzG0c7dGVhIVTUPtUyTvzmdr6WzSnk5E4cUVpKz16yRVqb7SPym08nFTIoDCncwYA+q0qp3dhBg7DG1wt9kKS/7QkDhs3gIfPaaNfK4PJakIbXrZnyLAYV386pZbtDUsonlGt/NWyfVu1hPPfXUTkjV+G7eOnq3L71EIUXvFrrzH/YLozqLCrA4My7o2M6iApwlxPvaxSuvvLJzFsVep3Y6m0qP1bmlpbcz3vkP+6XiV5V3Fc9NjfEsKui7duq5557bCakzZ87Q1xgDzU2lg7WJrMYtrLzf+vY/7JdwXyj24FFYPL3H36BjmmOJ4UPXix2orbfeemsnpMZcJ8zhsf2X9np+GP9Hk+TM9j/sF4u6u0Fqix0yx2eNhtZnPdBXX321HVK45S977jHRrYjTwF+MrL5rYP6bfglEbPsf8wewJxqN0CFr+ABxX10vZbCMAX8QUmOcMI9pAr2/jouhscyp8de9I6BGsXhznTBwx3wJE7A3C5r4/PPPrU/8EFJjWOS6Tt9LY+n0rh6+NarVNygjpHCnTfZko4KBm2CCrwpd3uXDXFT4c+7cOfq8Y8RqIc20nIvC2dN+6140iFYZ/XxUgDODKcxHBW3mW/CO3uKf9957jz7nGHl8QHsK0L8aXpVgKmnTuhUNoCYQUlXe7aCLmu920FbTj8kgoL7//nvrC9f//OlPf6LPOUZaitBew4BCOOFGBa0u7RiEFHuBUer4LkSVmkwKI8jigMKfTz75hD7nGGnyvB2cef71r3/9P1bLOay3xMLw3uEUKKRGatXge/LJJ2fvvvuuHX/+54svvqDPOUa6c2czWF+44koEZ02YNmr8jl0bCqmRwh0e4o6GcMIE+bfffmvHfvmfKYWUbt+yGsIJc7mfffbZf0e1w0Q43qnrNBnexqRC6uOPP6btY4RAxuUc4Kzpo48+suPd7I9CapqwCBiXc/DGG298+8EHH/yXXdr9zfrDv1utEEhYCeAeSj82+8n/A1GsifSVBvjAAAAAAElFTkSuQmCC") + ContentType = "image/png" + } + ) +} +New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params +``` +###Example 7 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Body = @{ + ContentType = "html" + Content = "
General Hello there!
" + } + Mentions = @( + @{ + Id = 0 + MentionText = "General" + Mentioned = @{ + Conversation = @{ + Id = "19:0b50940236084d258c97b21bd01917b0@thread.skype" + DisplayName = "General" + ConversationIdentityType = "channel" + } + } + } + ) +} +New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params +``` +###Example 8 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Body = @{ + ContentType = "html" + Content = "
GraphTesting Hello team
" + } + Mentions = @( + @{ + Id = 0 + MentionText = "GraphTesting" + Mentioned = @{ + Conversation = @{ + Id = "68a3e365-f7d9-4a56-b499-24332a9cc572" + DisplayName = "GraphTesting" + ConversationIdentityType = "team" + } + } + } + ) + Reactions = @( + ) +} +New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params +``` diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessageReply.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessageReply.md index 093355d11d5..fcd23465a73 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessageReply.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessageReply.md @@ -1,18 +1,22 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + Body = @{ + ContentType = "html" + Content = "Hello World" + } +} +New-MgTeamChannelMessageReply -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Body = @{ + ContentType = "html" + Content = "Hello World" + } +} +New-MgTeamChannelMessageReply -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamInstalledApp.md b/src/Teams/Teams/examples/v1.0/New-MgTeamInstalledApp.md index 093355d11d5..438721aa168 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamInstalledApp.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/12345678-9abc-def0-123456789a" +} +New-MgTeamInstalledApp -TeamId $teamId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/New-MgTeamMember.md index 093355d11d5..ec8f32423d2 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamMember.md @@ -1,18 +1,24 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('8b081ef6-4792-4def-b2c9-c363a1bf41d5')" +} +New-MgTeamMember -TeamId $teamId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) + "User@odata.bind" = "https://graph.microsoft.com/v1.0/users('jacob@contoso.com')" +} +New-MgTeamMember -TeamId $teamId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOfferShiftRequest.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOfferShiftRequest.md index 093355d11d5..ba28b833165 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOfferShiftRequest.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOfferShiftRequest.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + SenderShiftId = "SHFT_f7e484ed-fdd6-421c-92d9-0bc9e62e2c29" + SenderMessage = "Having a family emergency, could you take this shift for me?" + RecipientUserId = "fe278b61-21ac-4872-8b41-1962bbb98e3c" +} +New-MgTeamScheduleOfferShiftRequest -TeamId $teamId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShift.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShift.md index 093355d11d5..cebb7b577a7 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShift.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShift.md @@ -1,18 +1,38 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + Id = "OPNSHFT_577b75d2-a927-48c0-a5d1-dc984894e7b8" + SchedulingGroupId = "TAG_228940ed-ff84-4e25-b129-1b395cf78be0" + SharedOpenShift = @{ + Notes = "InventoryManagement" + OpenSlotCount = 2 + DisplayName = "Dayshift" + StartDateTime = [System.DateTime]::Parse("2018-10-04T00: 58: 45.340Z") + EndDateTime = [System.DateTime]::Parse("2018-10-04T09: 50: 45.332Z") + Theme = "white" + Activities = @( + @{ + IsPaid = $true + StartDateTime = [System.DateTime]::Parse("2018-10-04T00: 58: 45.340Z") + EndDateTime = [System.DateTime]::Parse("2018-10-04T01: 58: 45.340Z") + Code = "" + DisplayName = "Lunch" + } + ) + } + DraftOpenShift = $null + CreatedDateTime = [System.DateTime]::Parse("2019-03-14T04: 32: 51.451Z") + LastModifiedDateTime = [System.DateTime]::Parse("2019-03-14T05: 32: 51.451Z") + LastModifiedBy = @{ + Application = $null + Device = $null + Conversation = $null + User = @{ + Id = "366c0b19-49b1-41b5-a03f-9f3887bd0ed8" + DisplayName = "JohnDoe" + } + } +} +New-MgTeamScheduleOpenShift -TeamId $teamId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShiftChangeRequest.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShiftChangeRequest.md index 093355d11d5..7345ec87e9a 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShiftChangeRequest.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShiftChangeRequest.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + SenderMessage = "Can I take this shift?" + OpenShiftId = "577b75d2-a927-48c0-a5d1-dc984894e7b8" +} +New-MgTeamScheduleOpenShiftChangeRequest -TeamId $teamId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSchedulingGroup.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSchedulingGroup.md index 093355d11d5..f91bd7b7de1 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSchedulingGroup.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSchedulingGroup.md @@ -1,18 +1,13 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + DisplayName = "Cashiers" + IsActive = $true + UserIds = @( + "c5d0c76b-80c4-481c-be50-923cd8d680a1" + "2a4296b3-a28a-44ba-bc66-0274b9b95851" + ) +} +New-MgTeamScheduleSchedulingGroup -TeamId $teamId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleShift.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleShift.md index 093355d11d5..a591f3044d3 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleShift.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleShift.md @@ -1,18 +1,42 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + Id = "SHFT_577b75d2-a927-48c0-a5d1-dc984894e7b8" + UserId = "c5d0c76b-80c4-481c-be50-923cd8d680a1" + SchedulingGroupId = "TAG_228940ed-ff84-4e25-b129-1b395cf78be0" + SharedShift = @{ + DisplayName = "Day shift" + Notes = "Please do inventory as part of your shift." + StartDateTime = [System.DateTime]::Parse("2019-03-11T15:00:00Z") + EndDateTime = [System.DateTime]::Parse("2019-03-12T00:00:00Z") + Theme = "blue" + Activities = @( + @{ + IsPaid = $true + StartDateTime = [System.DateTime]::Parse("2019-03-11T15:00:00Z") + EndDateTime = [System.DateTime]::Parse("2019-03-11T15:15:00Z") + Code = "" + DisplayName = "Lunch" + } + ) + } + DraftShift = @{ + DisplayName = "Day shift" + Notes = "Please do inventory as part of your shift." + StartDateTime = [System.DateTime]::Parse("2019-03-11T15:00:00Z") + EndDateTime = [System.DateTime]::Parse("2019-03-12T00:00:00Z") + Theme = "blue" + Activities = @( + @{ + IsPaid = $true + StartDateTime = [System.DateTime]::Parse("2019-03-11T15:00:00Z") + EndDateTime = [System.DateTime]::Parse("2019-03-11T15:30:00Z") + Code = "" + DisplayName = "Lunch" + } + ) + } +} +New-MgTeamScheduleShift -TeamId $teamId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSwapShiftChangeRequest.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSwapShiftChangeRequest.md index 093355d11d5..8c9c91cd332 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSwapShiftChangeRequest.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSwapShiftChangeRequest.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + SenderShiftId = "5ad10161-6524-4c7c-9beb-4e8677ba2f6d" + SenderMessage = "I can't make my shift, any chance we can swap?" + RecipientUserId = "567c8ea5-9e32-422a-a663-8270201699cd" + RecipientShiftId = "e73408ca-3ea5-4bbf-96a8-2e06c95f7a2c" +} +New-MgTeamScheduleSwapShiftChangeRequest -TeamId $teamId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOff.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOff.md index 093355d11d5..bb1543a85e0 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOff.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOff.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + UserId = "c5d0c76b-80c4-481c-be50-923cd8d680a1" + SharedTimeOff = @{ + TimeOffReasonId = "TOR_891045ca-b5d2-406b-aa06-a3c8921245d7" + StartDateTime = [System.DateTime]::Parse("2019-03-11T07:00:00Z") + EndDateTime = [System.DateTime]::Parse("2019-03-12T07:00:00Z") + Theme = "white" + } + DraftTimeOff = @{ + TimeOffReasonId = "TOR_891045ca-b5d2-406b-aa06-a3c8921245d7" + StartDateTime = [System.DateTime]::Parse("2019-03-11T07:00:00Z") + EndDateTime = [System.DateTime]::Parse("2019-03-12T07:00:00Z") + Theme = "pink" + } +} +New-MgTeamScheduleTimeOff -TeamId $teamId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOffReason.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOffReason.md index 093355d11d5..7085253e91c 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOffReason.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOffReason.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + DisplayName = "Vacation" + IconType = "plane" + IsActive = $true +} +New-MgTeamScheduleTimeOffReason -TeamId $teamId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamworkWorkforceIntegration.md b/src/Teams/Teams/examples/v1.0/New-MgTeamworkWorkforceIntegration.md index 093355d11d5..3d7a0e1f5a6 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamworkWorkforceIntegration.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamworkWorkforceIntegration.md @@ -1,18 +1,16 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + DisplayName = "displayName-value" + ApiVersion = 99 + Encryption = @{ + Protocol = "protocol-value" + Secret = "secret-value" + } + IsActive = $true + Url = "url-value" + SupportedEntities = "supportedEntities-value" +} +New-MgTeamworkWorkforceIntegration -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/New-MgUserTeamworkInstalledApp.md b/src/Teams/Teams/examples/v1.0/New-MgUserTeamworkInstalledApp.md index 093355d11d5..83caf422b73 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgUserTeamworkInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/New-MgUserTeamworkInstalledApp.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/12345678-9abc-def0-123456789a" +} +New-MgUserTeamworkInstalledApp -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgAppCatalogTeamApp.md b/src/Teams/Teams/examples/v1.0/Remove-MgAppCatalogTeamApp.md index 093355d11d5..73c651f9be9 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgAppCatalogTeamApp.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgAppCatalogTeamApp.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgAppCatalogTeamApp -TeamsAppId $teamsAppId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgChatInstalledApp.md b/src/Teams/Teams/examples/v1.0/Remove-MgChatInstalledApp.md index 093355d11d5..0359f02fc8f 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgChatInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgChatInstalledApp.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgChatInstalledApp -ChatId $chatId -TeamsAppInstallationId $teamsAppInstallationId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgChatMember.md b/src/Teams/Teams/examples/v1.0/Remove-MgChatMember.md index 093355d11d5..4201a6a0e86 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgChatMember.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgChatMember.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgChatMember -ChatId $chatId -ConversationMemberId $conversationMemberId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgChatTab.md b/src/Teams/Teams/examples/v1.0/Remove-MgChatTab.md index 093355d11d5..fd7d5a935f8 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgChatTab.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgChatTab.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgChatTab -ChatId $chatId -TeamsTabId $teamsTabId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannel.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannel.md index 093355d11d5..83331faaee5 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannel.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannel.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgTeamChannel -TeamId $teamId -ChannelId $channelId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelEmail.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelEmail.md index 093355d11d5..bd0df9d4a73 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelEmail.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelEmail.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgTeamChannelEmail -TeamId $teamId -ChannelId $channelId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelMember.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelMember.md index 093355d11d5..fddf64f1e05 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelMember.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelMember.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -ConversationMemberId $conversationMemberId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelSharedWithTeam.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelSharedWithTeam.md index 093355d11d5..01ec1f691ce 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelSharedWithTeam.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelSharedWithTeam.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgTeamChannelSharedWithTeam -TeamId $teamId -ChannelId $channelId -SharedWithChannelTeamInfoId $sharedWithChannelTeamInfoId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamInstalledApp.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamInstalledApp.md index 093355d11d5..327a0529b2e 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamInstalledApp.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamMember.md index 093355d11d5..c78a23e2aec 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamMember.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgTeamMember -TeamId $teamId -ConversationMemberId $conversationMemberId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleOpenShift.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleOpenShift.md index 093355d11d5..36b8ef12a27 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleOpenShift.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleOpenShift.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgTeamScheduleOpenShift -TeamId $teamId -OpenShiftId $openShiftId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleSchedulingGroup.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleSchedulingGroup.md index 093355d11d5..4697852409b 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleSchedulingGroup.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleSchedulingGroup.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgTeamScheduleSchedulingGroup -TeamId $teamId -SchedulingGroupId $schedulingGroupId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleShift.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleShift.md index 093355d11d5..19eccab348c 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleShift.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleShift.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgTeamScheduleShift -TeamId $teamId -ShiftId $shiftId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOff.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOff.md index 093355d11d5..a4297ed4764 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOff.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOff.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgTeamScheduleTimeOff -TeamId $teamId -TimeOffId $timeOffId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffReason.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffReason.md index 093355d11d5..bf7ecf65d62 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffReason.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffReason.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgTeamScheduleTimeOffReason -TeamId $teamId -TimeOffReasonId $timeOffReasonId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffRequest.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffRequest.md index 093355d11d5..5735df30a74 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffRequest.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffRequest.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgTeamScheduleTimeOffRequest -TeamId $teamId -TimeOffRequestId $timeOffRequestId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamworkWorkforceIntegration.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamworkWorkforceIntegration.md index 093355d11d5..3c438a2ca4d 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamworkWorkforceIntegration.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamworkWorkforceIntegration.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgTeamworkWorkforceIntegration -WorkforceIntegrationId $workforceIntegrationId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgUserTeamworkInstalledApp.md b/src/Teams/Teams/examples/v1.0/Remove-MgUserTeamworkInstalledApp.md index 093355d11d5..05f793f5ed5 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgUserTeamworkInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgUserTeamworkInstalledApp.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Remove-MgUserTeamworkInstalledApp -UserId $userId -UserScopeTeamsAppInstallationId $userScopeTeamsAppInstallationId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Send-MgChatActivityNotification.md b/src/Teams/Teams/examples/v1.0/Send-MgChatActivityNotification.md index 093355d11d5..557e9c76fd6 100644 --- a/src/Teams/Teams/examples/v1.0/Send-MgChatActivityNotification.md +++ b/src/Teams/Teams/examples/v1.0/Send-MgChatActivityNotification.md @@ -1,18 +1,127 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Topic = @{ + Source = "entityUrl" + Value = "https://graph.microsoft.com/v1.0/chats/{chatId}" + } + ActivityType = "taskCreated" + PreviewText = @{ + Content = "New Task Created" + } + Recipient = @{ + "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" + UserId = "569363e2-4e49-4661-87f2-16f245c5d66a" + } + TemplateParameters = @( + @{ + Name = "taskId" + Value = "Task 12322" + } + ) +} +Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Topic = @{ + Source = "entityUrl" + Value = "https://graph.microsoft.com/v1.0/chats/{chatId}/messages/{messageId}" + } + ActivityType = "approvalRequired" + PreviewText = @{ + Content = "Deployment requires your approval" + } + Recipient = @{ + "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" + UserId = "569363e2-4e49-4661-87f2-16f245c5d66a" + } + TemplateParameters = @( + @{ + Name = "approvalTaskId" + Value = "2020AAGGTAPP" + } + ) +} +Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Topic = @{ + Source = "text" + Value = "Deployment Approvals Channel" + WebUrl = "https://teams.microsoft.com/l/message/19:448cfd2ac2a7490a9084a9ed14cttr78c@thread.skype/1605223780000?tenantId=c8b1bf45-3834-4ecf-971a-b4c755ee677d&groupId=d4c2a937-f097-435a-bc91-5c1683ca7245&parentMessageId=1605223771864&teamName=Approvals&channelName=Azure%20DevOps&createdTime=1605223780000" + } + ActivityType = "deploymentApprovalRequired" + PreviewText = @{ + Content = "New deployment requires your approval" + } + Recipient = @{ + "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" + UserId = "569363e2-4e49-4661-87f2-16f245c5d66a" + } + TemplateParameters = @( + @{ + Name = "deploymentId" + Value = "6788662" + } + ) +} +Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Topic = @{ + Source = "text" + Value = "Deployment Approvals Channel" + WebUrl = "https://teams.microsoft.com/l/message/19:448cfd2ac2a7490a9084a9ed14cttr78c@thread.skype/1605223780000?tenantId=c8b1bf45-3834-4ecf-971a-b4c755ee677d&groupId=d4c2a937-f097-435a-bc91-5c1683ca7245&parentMessageId=1605223771864&teamName=Approvals&channelName=Azure%20DevOps&createdTime=1605223780000" + } + ActivityType = "deploymentApprovalRequired" + PreviewText = @{ + Content = "New deployment requires your approval" + } + Recipient = @{ + "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" + UserId = "569363e2-4e49-4661-87f2-16f245c5d66a" + } + TemplateParameters = @( + @{ + Name = "deploymentId" + Value = "6788662" + } + ) +} +Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params +``` +###Example 5 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Topic = @{ + Source = "entityUrl" + Value = "https://graph.microsoft.com/v1.0/chats/{chatId}/messages/{messageId}" + } + ActivityType = "approvalRequired" + PreviewText = @{ + Content = "Deployment requires your approval" + } + Recipient = @{ + "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" + UserId = "jacob@contoso.com" + } + TemplateParameters = @( + @{ + Name = "approvalTaskId" + Value = "2020AAGGTAPP" + } + ) +} +Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params +``` diff --git a/src/Teams/Teams/examples/v1.0/Send-MgTeamActivityNotification.md b/src/Teams/Teams/examples/v1.0/Send-MgTeamActivityNotification.md index 093355d11d5..0a379d72368 100644 --- a/src/Teams/Teams/examples/v1.0/Send-MgTeamActivityNotification.md +++ b/src/Teams/Teams/examples/v1.0/Send-MgTeamActivityNotification.md @@ -1,18 +1,109 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +###Example 1 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Topic = @{ + Source = "text" + Value = "Deployment Approvals Channel" + WebUrl = "https://teams.microsoft.com/l/message/19:448cfd2ac2a7490a9084a9ed14cttr78c@thread.skype/1605223780000?tenantId=c8b1bf45-3834-4ecf-971a-b4c755ee677d&groupId=d4c2a937-f097-435a-bc91-5c1683ca7245&parentMessageId=1605223771864&teamName=Approvals&channelName=Azure%20DevOps&createdTime=1605223780000" + } + ActivityType = "deploymentApprovalRequired" + PreviewText = @{ + Content = "New deployment requires your approval" + } + Recipient = @{ + "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" + UserId = "569363e2-4e49-4661-87f2-16f245c5d66a" + } + TemplateParameters = @( + @{ + Name = "deploymentId" + Value = "6788662" + } + ) +} +Send-MgTeamActivityNotification -TeamId $teamId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Topic = @{ + Source = "entityUrl" + Value = "https://graph.microsoft.com/v1.0/teams/{teamId}" + } + ActivityType = "pendingFinanceApprovalRequests" + PreviewText = @{ + Content = "Internal spending team has a pending finance approval requests" + } + Recipient = @{ + "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" + UserId = "569363e2-4e49-4661-87f2-16f245c5d66a" + } + TemplateParameters = @( + @{ + Name = "pendingRequestCount" + Value = "5" + } + ) +} +Send-MgTeamActivityNotification -TeamId $teamId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Topic = @{ + Source = "entityUrl" + Value = "https://graph.microsoft.com/v1.0/teams/{teamId}/channels/{channelId}/tabs/{tabId}" + } + ActivityType = "reservationUpdated" + PreviewText = @{ + Content = "You have moved up the queue" + } + Recipient = @{ + "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" + UserId = "569363e2-4e49-4661-87f2-16f245c5d66a" + } + TemplateParameters = @( + @{ + Name = "reservationId" + Value = "TREEE433" + } + @{ + Name = "currentSlot" + Value = "23" + } + ) +} +Send-MgTeamActivityNotification -TeamId $teamId -BodyParameter $params +``` +###Example 4 +``` +Import-Module Microsoft.Graph.Teams +$params = @{ + Topic = @{ + Source = "entityUrl" + Value = "https://graph.microsoft.com/v1.0/teams/{teamId}/channels/{channelId}/tabs/{tabId}" + } + ActivityType = "reservationUpdated" + PreviewText = @{ + Content = "You have moved up the queue" + } + Recipient = @{ + "@odata.type" = "microsoft.graph.aadUserNotificationRecipient" + UserId = "jacob@contoso.com" + } + TemplateParameters = @( + @{ + Name = "reservationId" + Value = "TREEE433" + } + @{ + Name = "currentSlot" + Value = "23" + } + ) +} +Send-MgTeamActivityNotification -TeamId $teamId -BodyParameter $params +``` diff --git a/src/Teams/Teams/examples/v1.0/Update-MgChat.md b/src/Teams/Teams/examples/v1.0/Update-MgChat.md index 093355d11d5..0c32ab2e44b 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgChat.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgChat.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + Topic = "Group chat title update" +} +Update-MgChat -ChatId $chatId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Update-MgChatInstalledApp.md b/src/Teams/Teams/examples/v1.0/Update-MgChatInstalledApp.md index 093355d11d5..f4940b240ff 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgChatInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgChatInstalledApp.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Update-MgChatInstalledApp -ChatId $chatId -TeamsAppInstallationId $teamsAppInstallationId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Update-MgChatTab.md b/src/Teams/Teams/examples/v1.0/Update-MgChatTab.md index 093355d11d5..267e8126746 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgChatTab.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgChatTab.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + DisplayName = "My Contoso Tab - updated again" +} +Update-MgChatTab -ChatId $chatId -TeamsTabId $teamsTabId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeam.md b/src/Teams/Teams/examples/v1.0/Update-MgTeam.md index 093355d11d5..1438d44f962 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeam.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeam.md @@ -1,18 +1,18 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + MemberSettings = @{ + AllowCreateUpdateChannels = $true + } + MessagingSettings = @{ + AllowUserEditMessages = $true + AllowUserDeleteMessages = $true + } + FunSettings = @{ + AllowGiphy = $true + GiphyContentRating = "strict" + } +} +Update-MgTeam -TeamId $teamId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannel.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannel.md index 093355d11d5..1f9c6e42c95 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannel.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannel.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Update-MgTeamChannel -TeamId $teamId -ChannelId $channelId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMember.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMember.md index 093355d11d5..099696dea64 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMember.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMember.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) +} +Update-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -ConversationMemberId $conversationMemberId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMessage.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMessage.md index 093355d11d5..34e21182e73 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMessage.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMessage.md @@ -1,18 +1,18 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + PolicyViolation = @{ + PolicyTip = @{ + GeneralText = "This item has been blocked by the administrator." + ComplianceUrl = "https://contoso.com/dlp-policy-page" + MatchedConditionDescriptions = @( + "Credit Card Number" + ) + } + VerdictDetails = "AllowOverrideWithoutJustification,AllowFalsePositiveOverride" + DlpAction = "BlockAccess" + } +} +Update-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamInstalledApp.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamInstalledApp.md index 093355d11d5..5435191f7c7 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamInstalledApp.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +Update-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamMember.md index 093355d11d5..76714f308e9 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamMember.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + "@odata.type" = "#microsoft.graph.aadUserConversationMember" + Roles = @( + "owner" + ) +} +Update-MgTeamMember -TeamId $teamId -ConversationMemberId $conversationMemberId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleOpenShift.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleOpenShift.md index 093355d11d5..7a44c1fe9a3 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleOpenShift.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleOpenShift.md @@ -1,18 +1,26 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + SchedulingGroupId = "TAG_228940ed-ff84-4e25-b129-1b395cf78be0" + SharedOpenShift = @{ + Notes = "Inventory Management" + OpenSlotCount = 5 + DisplayName = "Field shift" + StartDateTime = [System.DateTime]::Parse("2018-10-04T00:58:45.340Z") + EndDateTime = [System.DateTime]::Parse("2018-10-04T09:50:45.332Z") + Theme = "white" + Activities = @( + @{ + IsPaid = $true + StartDateTime = [System.DateTime]::Parse("2018-10-04T00:58:45.340Z") + EndDateTime = [System.DateTime]::Parse("2018-10-04T01:58:45.340Z") + Code = "" + DisplayName = "Lunch" + } + ) + } + DraftOpenShift = $null +} +Update-MgTeamScheduleOpenShift -TeamId $teamId -OpenShiftId $openShiftId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleShift.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleShift.md index 093355d11d5..e81fbe919f7 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleShift.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleShift.md @@ -1,18 +1,53 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + Id = "SHFT_577b75d2-a927-48c0-a5d1-dc984894e7b8" + CreatedDateTime = [System.DateTime]::Parse("2019-03-14T04:32:51.451Z") + LastModifiedDateTime = [System.DateTime]::Parse("2019-03-14T05:32:51.451Z") + UserId = "c5d0c76b-80c4-481c-be50-923cd8d680a1" + SchedulingGroupId = "TAG_228940ed-ff84-4e25-b129-1b395cf78be0" + LastModifiedBy = @{ + Application = $null + Device = $null + Conversation = $null + User = @{ + Id = "366c0b19-49b1-41b5-a03f-9f3887bd0ed8" + DisplayName = "John Doe" + } + } + SharedShift = @{ + DisplayName = "Day shift" + Notes = "Please do inventory as part of your shift." + StartDateTime = [System.DateTime]::Parse("2019-03-11T15:00:00Z") + EndDateTime = [System.DateTime]::Parse("2019-03-12T00:00:00Z") + Theme = "blue" + Activities = @( + @{ + IsPaid = $true + StartDateTime = [System.DateTime]::Parse("2019-03-11T15:00:00Z") + EndDateTime = [System.DateTime]::Parse("2019-03-11T15:15:00Z") + Code = "" + DisplayName = "Lunch" + } + ) + } + DraftShift = @{ + DisplayName = "Day shift" + Notes = "Please do inventory as part of your shift." + StartDateTime = [System.DateTime]::Parse("2019-03-11T15:00:00Z") + EndDateTime = [System.DateTime]::Parse("2019-03-12T00:00:00Z") + Theme = "blue" + Activities = @( + @{ + IsPaid = $true + StartDateTime = [System.DateTime]::Parse("2019-03-11T15:00:00Z") + EndDateTime = [System.DateTime]::Parse("2019-03-11T15:30:00Z") + Code = "" + DisplayName = "Lunch" + } + ) + } +} +Update-MgTeamScheduleShift -TeamId $teamId -ShiftId $shiftId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamworkWorkforceIntegration.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamworkWorkforceIntegration.md index 093355d11d5..5cc5bbc9085 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamworkWorkforceIntegration.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamworkWorkforceIntegration.md @@ -1,18 +1,16 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Teams +$params = @{ + DisplayName = "displayName-value" + ApiVersion = 99 + Encryption = @{ + Protocol = "protocol-value" + Secret = "secret-value" + } + IsActive = $true + Url = "url-value" + SupportedEntities = "supportedEntities-value" +} +Update-MgTeamworkWorkforceIntegration -WorkforceIntegrationId $workforceIntegrationId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Clear-MgUserPresence.md b/src/Users.Actions/Users.Actions/examples/v1.0/Clear-MgUserPresence.md index 093355d11d5..ed7ba248149 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Clear-MgUserPresence.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Clear-MgUserPresence.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + SessionId = "22553876-f5ab-4529-bffb-cfe50aa89f87" +} +Clear-MgUserPresence -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberGroup.md b/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberGroup.md index 093355d11d5..943ba39155c 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberGroup.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberGroup.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + GroupIds = @( + "fee2c45b-915a-4a64b130f4eb9e75525e" + "4fe90ae065a-478b9400e0a0e1cbd540" + ) +} +# A UPN can also be used as -UserId. +Confirm-MgUserMemberGroup -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberObject.md b/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberObject.md index 093355d11d5..00dde5cbf7e 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberObject.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberObject.md @@ -1,18 +1,14 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Ids = @( + "80a963dd-84af-4eb8-b2a6-781e444d4fb0" + "62e90394-69f5-4237-9190-012177145e10" + "86a64f51-3a64-4cc6-a8c8-6b8f000c0f52" + "ac38546e-ddf3-437a-ac5c-27a94cd7a0f1" + ) +} +# A UPN can also be used as -UserId. +Confirm-MgUserMemberObject -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMailFolder.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMailFolder.md index 093355d11d5..d82d9126547 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMailFolder.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMailFolder.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + DestinationId = "destinationId-value" +} +# A UPN can also be used as -UserId. +Copy-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMessage.md index 093355d11d5..0de1905d628 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMessage.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + DestinationId = "destinationId-value" +} +# A UPN can also be used as -UserId. +Copy-MgUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteNotebook.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteNotebook.md index 093355d11d5..8002b385926 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteNotebook.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteNotebook.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + GroupId = "groupId-value" + RenameAs = "renameAs-value" +} +# A UPN can also be used as -UserId. +Copy-MgUserOnenoteNotebook -UserId $userId -NotebookId $notebookId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenotePageToSection.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenotePageToSection.md index 093355d11d5..9833f81831d 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenotePageToSection.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenotePageToSection.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Id = "id-value" + GroupId = "groupId-value" +} +# A UPN can also be used as -UserId. +Copy-MgUserOnenotePageToSection -UserId $userId -OnenotePageId $onenotePageId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToNotebook.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToNotebook.md index 093355d11d5..1173b6fdb53 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToNotebook.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToNotebook.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Id = "id-value" + GroupId = "groupId-value" + RenameAs = "renameAs-value" +} +# A UPN can also be used as -UserId. +Copy-MgUserOnenoteSectionToNotebook -UserId $userId -OnenoteSectionId $onenoteSectionId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToSectionGroup.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToSectionGroup.md index 093355d11d5..e664ecb227e 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToSectionGroup.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToSectionGroup.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Id = "id-value" + GroupId = "groupId-value" + RenameAs = "renameAs-value" +} +# A UPN can also be used as -UserId. +Copy-MgUserOnenoteSectionToSectionGroup -UserId $userId -OnenoteSectionId $onenoteSectionId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Disable-MgUserAuthenticationPhoneMethodSmSign.md b/src/Users.Actions/Users.Actions/examples/v1.0/Disable-MgUserAuthenticationPhoneMethodSmSign.md index 093355d11d5..95308721a09 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Disable-MgUserAuthenticationPhoneMethodSmSign.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Disable-MgUserAuthenticationPhoneMethodSmSign.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +# A UPN can also be used as -UserId. +Disable-MgUserAuthenticationPhoneMethodSmSign -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Enable-MgUserAuthenticationPhoneMethodSmSign.md b/src/Users.Actions/Users.Actions/examples/v1.0/Enable-MgUserAuthenticationPhoneMethodSmSign.md index 093355d11d5..3f3ee207e82 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Enable-MgUserAuthenticationPhoneMethodSmSign.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Enable-MgUserAuthenticationPhoneMethodSmSign.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +# A UPN can also be used as -UserId. +Enable-MgUserAuthenticationPhoneMethodSmSign -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Export-MgUserPersonalData.md b/src/Users.Actions/Users.Actions/examples/v1.0/Export-MgUserPersonalData.md index 093355d11d5..0eb2dbce0af 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Export-MgUserPersonalData.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Export-MgUserPersonalData.md @@ -1,18 +1,8 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + StorageLocation = "storageLocation-value" +} +Export-MgUserPersonalData -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Find-MgUserMeetingTime.md b/src/Users.Actions/Users.Actions/examples/v1.0/Find-MgUserMeetingTime.md index 093355d11d5..eb53345b6fb 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Find-MgUserMeetingTime.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Find-MgUserMeetingTime.md @@ -1,18 +1,46 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Attendees = @( + @{ + Type = "required" + EmailAddress = @{ + Name = "Alex Wilbur" + Address = "alexw@contoso.onmicrosoft.com" + } + } + ) + LocationConstraint = @{ + IsRequired = $false + SuggestLocation = $false + Locations = @( + @{ + ResolveAvailability = $false + DisplayName = "Conf room Hood" + } + ) + } + TimeConstraint = @{ + ActivityDomain = "work" + TimeSlots = @( + @{ + Start = @{ + DateTime = "2019-04-16T09:00:00" + TimeZone = "Pacific Standard Time" + } + End = @{ + DateTime = "2019-04-18T17:00:00" + TimeZone = "Pacific Standard Time" + } + } + ) + } + IsOrganizerOptional = "false" + MeetingDuration = "PT1H" + ReturnSuggestionReasons = "true" + MinimumAttendeePercentage = "100" +} +# A UPN can also be used as -UserId. +Find-MgUserMeetingTime -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserDefaultCalendarSchedule.md b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserDefaultCalendarSchedule.md index 093355d11d5..51f089193c0 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserDefaultCalendarSchedule.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserDefaultCalendarSchedule.md @@ -1,18 +1,21 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Schedules = @( + "adelev@contoso.onmicrosoft.com" + "meganb@contoso.onmicrosoft.com" + ) + StartTime = @{ + DateTime = "2019-03-15T09:00:00" + TimeZone = "Pacific Standard Time" + } + EndTime = @{ + DateTime = "2019-03-15T18:00:00" + TimeZone = "Pacific Standard Time" + } + AvailabilityViewInterval = 60 +} +# A UPN can also be used as -UserId. +Get-MgUserDefaultCalendarSchedule -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMailTip.md b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMailTip.md index 093355d11d5..0fc5b441e9d 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMailTip.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMailTip.md @@ -1,18 +1,13 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + EmailAddresses = @( + "danas@contoso.onmicrosoft.com" + "fannyd@contoso.onmicrosoft.com" + ) + MailTipsOptions = "automaticReplies, mailboxFullStatus" +} +# A UPN can also be used as -UserId. +Get-MgUserMailTip -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMemberGroup.md b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMemberGroup.md index 093355d11d5..f060fa73ee6 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMemberGroup.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMemberGroup.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + SecurityEnabledOnly = $true +} +# A UPN can also be used as -UserId. +Get-MgUserMemberGroup -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md index 093355d11d5..fe1d126da4f 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + WebUrl = "webUrl value" +} +# A UPN can also be used as -UserId. +Get-MgUserOnenoteNotebookFromWebUrl -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEvent.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEvent.md index 093355d11d5..34b341b8a50 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEvent.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEvent.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Comment = "comment-value" + SendResponse = $true +} +# A UPN can also be used as -UserId. +Invoke-MgAcceptUserEvent -UserId $userId -EventId $eventId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEventTentatively.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEventTentatively.md index 093355d11d5..891a8e1955e 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEventTentatively.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEventTentatively.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Comment = "I may not be able to make this week. How about next week?" + SendResponse = $true + ProposedNewTime = @{ + Start = @{ + DateTime = "2019-12-02T18:00:00" + TimeZone = "Pacific Standard Time" + } + End = @{ + DateTime = "2019-12-02T19:00:00" + TimeZone = "Pacific Standard Time" + } + } +} +# A UPN can also be used as -UserId. +Invoke-MgAcceptUserEventTentatively -UserId $userId -EventId $eventId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgCreateOrGetUserOnlineMeeting.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgCreateOrGetUserOnlineMeeting.md index 093355d11d5..f49229f3861 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgCreateOrGetUserOnlineMeeting.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgCreateOrGetUserOnlineMeeting.md @@ -1,18 +1,24 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + StartDateTime = [System.DateTime]::Parse("2020-02-06T01:49:21.3524945+00:00") + EndDateTime = [System.DateTime]::Parse("2020-02-06T02:19:21.3524945+00:00") + Subject = "Create a meeting with customId provided" + ExternalId = "7eb8263f-d0e0-4149-bb1c-1f0476083c56" + Participants = @{ + Attendees = @( + @{ + Identity = @{ + User = @{ + Id = "1f35f2e6-9cab-44ad-8d5a-b74c14720000" + } + } + Upn = "test1@contoso.com" + } + ) + } +} +# A UPN can also be used as -UserId. +Invoke-MgCreateOrGetUserOnlineMeeting -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDeclineUserEvent.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDeclineUserEvent.md index 093355d11d5..d361ceb93eb 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDeclineUserEvent.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDeclineUserEvent.md @@ -1,18 +1,20 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Comment = "I won't be able to make this week. How about next week?" + SendResponse = $true + ProposedNewTime = @{ + Start = @{ + DateTime = "2019-12-02T18:00:00" + TimeZone = "Pacific Standard Time" + } + End = @{ + DateTime = "2019-12-02T19:00:00" + TimeZone = "Pacific Standard Time" + } + } +} +# A UPN can also be used as -UserId. +Invoke-MgDeclineUserEvent -UserId $userId -EventId $eventId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDismissUserEventReminder.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDismissUserEventReminder.md index 093355d11d5..d1862979920 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDismissUserEventReminder.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDismissUserEventReminder.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +# A UPN can also be used as -UserId. +Invoke-MgDismissUserEventReminder -UserId $userId -EventId $eventId ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserEvent.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserEvent.md index 093355d11d5..769f015f845 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserEvent.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserEvent.md @@ -1,18 +1,17 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + ToRecipients = @( + @{ + EmailAddress = @{ + Address = "danas@contoso.onmicrosoft.com" + Name = "Dana Swope" + } + } + ) + Comment = "Dana, hope you can make this meeting." +} +# A UPN can also be used as -UserId. +Invoke-MgForwardUserEvent -UserId $userId -EventId $eventId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserMessage.md index 093355d11d5..45198a858f6 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserMessage.md @@ -1,18 +1,17 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Comment = "comment-value" + ToRecipients = @( + @{ + EmailAddress = @{ + Name = "name-value" + Address = "address-value" + } + } + ) +} +# A UPN can also be used as -UserId. +Invoke-MgForwardUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgLicenseUser.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgLicenseUser.md index 093355d11d5..8ff2f9d952d 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgLicenseUser.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgLicenseUser.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +Invoke-MgLicenseUser -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyAllUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyAllUserMessage.md index 093355d11d5..d957315a769 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyAllUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyAllUserMessage.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Comment = "comment-value" +} +# A UPN can also be used as -UserId. +Invoke-MgReplyAllUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyUserMessage.md index 093355d11d5..6929612efef 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyUserMessage.md @@ -1,18 +1,25 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Message = @{ + ToRecipients = @( + @{ + EmailAddress = @{ + Address = "samanthab@contoso.onmicrosoft.com" + Name = "Samantha Booth" + } + } + @{ + EmailAddress = @{ + Address = "randiw@contoso.onmicrosoft.com" + Name = "Randi Welch" + } + } + ) + } + Comment = "Samantha, Randi, would you name the group please?" +} +# A UPN can also be used as -UserId. +Invoke-MgReplyUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgSnoozeUserEventReminder.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgSnoozeUserEventReminder.md index 093355d11d5..58e5c64214d 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgSnoozeUserEventReminder.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgSnoozeUserEventReminder.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + NewReminderTime = @{ + DateTime = "dateTime-value" + TimeZone = "timeZone-value" + } +} +# A UPN can also be used as -UserId. +Invoke-MgSnoozeUserEventReminder -UserId $userId -EventId $eventId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgTranslateUserExchangeId.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgTranslateUserExchangeId.md index 093355d11d5..6b85c5593ab 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgTranslateUserExchangeId.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgTranslateUserExchangeId.md @@ -1,18 +1,14 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + InputIds = @( + "{rest-formatted-id-1}" + "{rest-formatted-id-2}" + ) + SourceIdType = "restId" + TargetIdType = "restImmutableEntryId" +} +# A UPN can also be used as -UserId. +Invoke-MgTranslateUserExchangeId -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMailFolder.md b/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMailFolder.md index 093355d11d5..8fb24e1b429 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMailFolder.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMailFolder.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + DestinationId = "destinationId-value" +} +# A UPN can also be used as -UserId. +Move-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMessage.md index 093355d11d5..cae471e97a9 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMessage.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + DestinationId = "deleteditems" +} +# A UPN can also be used as -UserId. +Move-MgUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageAttachmentUploadSession.md b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageAttachmentUploadSession.md index 093355d11d5..0f2f78f5bb6 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageAttachmentUploadSession.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageAttachmentUploadSession.md @@ -1,18 +1,28 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + AttachmentItem = @{ + AttachmentType = "file" + Name = "scenary" + Size = 7208534 + IsInline = $true + ContentId = "my_inline_picture" + } +} +# A UPN can also be used as -UserId. +New-MgUserMessageAttachmentUploadSession -UserId $userId -MessageId $messageId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + AttachmentItem = @{ + AttachmentType = "file" + Name = "flower" + Size = 3483322 + } +} +# A UPN can also be used as -UserId. +New-MgUserMessageAttachmentUploadSession -UserId $userId -MessageId $messageId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageForward.md b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageForward.md index 093355d11d5..dfeb73fca06 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageForward.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageForward.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +# A UPN can also be used as -UserId. +New-MgUserMessageForward -UserId $userId -MessageId $messageId ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReply.md b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReply.md index 093355d11d5..60e603497e9 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReply.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReply.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +# A UPN can also be used as -UserId. +New-MgUserMessageReply -UserId $userId -MessageId $messageId ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReplyAll.md b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReplyAll.md index 093355d11d5..208d2c71b38 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReplyAll.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReplyAll.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +# A UPN can also be used as -UserId. +New-MgUserMessageReplyAll -UserId $userId -MessageId $messageId ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Revoke-MgUserSign.md b/src/Users.Actions/Users.Actions/examples/v1.0/Revoke-MgUserSign.md new file mode 100644 index 00000000000..e7ac1ac1e38 --- /dev/null +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Revoke-MgUserSign.md @@ -0,0 +1,6 @@ +###Example 1 +``` +Import-Module Microsoft.Graph.Users.Actions +# A UPN can also be used as -UserId. +Revoke-MgUserSign -UserId $userId +``` diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMail.md b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMail.md index 093355d11d5..0c89a3d363e 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMail.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMail.md @@ -1,18 +1,92 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Message = @{ + Subject = "Meet for lunch?" + Body = @{ + ContentType = "Text" + Content = "The new cafeteria is open." + } + ToRecipients = @( + @{ + EmailAddress = @{ + Address = "fannyd@contoso.onmicrosoft.com" + } + } + ) + CcRecipients = @( + @{ + EmailAddress = @{ + Address = "danas@contoso.onmicrosoft.com" + } + } + ) + } + SaveToSentItems = "false" +} +# A UPN can also be used as -UserId. +Send-MgUserMail -UserId $userId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Message = @{ + Subject = "Meet for lunch?" + Body = @{ + ContentType = "Text" + Content = "The new cafeteria is open." + } + ToRecipients = @( + @{ + EmailAddress = @{ + Address = "meganb@contoso.onmicrosoft.com" + } + } + ) + Attachments = @( + @{ + "@odata.type" = "#microsoft.graph.fileAttachment" + Name = "attachment.txt" + ContentType = "text/plain" + ContentBytes = "SGVsbG8gV29ybGQh" + } + ) + } +} +# A UPN can also be used as -UserId. +Send-MgUserMail -UserId $userId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Message = @{ + Subject = "9/9/2018: concert" + Body = @{ + ContentType = "HTML" + Content = "The group represents Nevada." + } + ToRecipients = @( + @{ + EmailAddress = @{ + Address = "AlexW@contoso.OnMicrosoft.com" + } + } + ) + InternetMessageHeaders = @( + @{ + Name = "x-custom-header-group-name" + Value = "Nevada" + } + @{ + Name = "x-custom-header-group-id" + Value = "NV001" + } + ) + } +} +# A UPN can also be used as -UserId. +Send-MgUserMail -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMessage.md index 093355d11d5..85abd4da7a6 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMessage.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +# A UPN can also be used as -UserId. +Send-MgUserMessage -UserId $userId -MessageId $messageId ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserTeamworkActivityNotification.md b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserTeamworkActivityNotification.md index 093355d11d5..678677abed4 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserTeamworkActivityNotification.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserTeamworkActivityNotification.md @@ -1,18 +1,65 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Topic = @{ + Source = "text" + Value = "Deployment Approvals Channel" + WebUrl = "https://teams.microsoft.com/l/message/19:448cfd2ac2a7490a9084a9ed14cttr78c@thread.skype/1605223780000?tenantId=c8b1bf45-3834-4ecf-971a-b4c755ee677d&groupId=d4c2a937-f097-435a-bc91-5c1683ca7245&parentMessageId=1605223771864&teamName=Approvals&channelName=Azure%20DevOps&createdTime=1605223780000" + } + ActivityType = "deploymentApprovalRequired" + PreviewText = @{ + Content = "New deployment requires your approval" + } + TemplateParameters = @( + @{ + Name = "deploymentId" + Value = "6788662" + } + ) +} +Send-MgUserTeamworkActivityNotification -UserId $userId -BodyParameter $params +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Topic = @{ + Source = "text" + Value = "Deployment Approvals Channel" + WebUrl = "https://teams.microsoft.com/l/message/19:448cfd2ac2a7490a9084a9ed14cttr78c@thread.skype/1605223780000?tenantId=c8b1bf45-3834-4ecf-971a-b4c755ee677d&groupId=d4c2a937-f097-435a-bc91-5c1683ca7245&parentMessageId=1605223771864&teamName=Approvals&channelName=Azure%20DevOps&createdTime=1605223780000" + } + ActivityType = "deploymentApprovalRequired" + PreviewText = @{ + Content = "New deployment requires your approval" + } + TemplateParameters = @( + @{ + Name = "deploymentId" + Value = "6788662" + } + ) +} +Send-MgUserTeamworkActivityNotification -UserId $userId -BodyParameter $params +``` +###Example 3 +``` +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Topic = @{ + Source = "entityUrl" + Value = "https://graph.microsoft.com/v1.0/users/{userId}/teamwork/installedApps/{installationId}" + } + ActivityType = "taskCreated" + PreviewText = @{ + Content = "New Task Created" + } + TemplateParameters = @( + @{ + Name = "taskId" + Value = "Task 12322" + } + ) +} +Send-MgUserTeamworkActivityNotification -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Set-MgUserPresence.md b/src/Users.Actions/Users.Actions/examples/v1.0/Set-MgUserPresence.md index 093355d11d5..01b48131f27 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Set-MgUserPresence.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Set-MgUserPresence.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + SessionId = "22553876-f5ab-4529-bffb-cfe50aa89f87" + Availability = "Available" + Activity = "Available" + ExpirationDuration = "PT1H" +} +Set-MgUserPresence -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Stop-MgUserEvent.md b/src/Users.Actions/Users.Actions/examples/v1.0/Stop-MgUserEvent.md index 093355d11d5..ad812e27d2a 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Stop-MgUserEvent.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Stop-MgUserEvent.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + Comment = "Cancelling for this week due to all hands" +} +# A UPN can also be used as -UserId. +Stop-MgUserEvent -UserId $userId -EventId $eventId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Update-MgUserPassword.md b/src/Users.Actions/Users.Actions/examples/v1.0/Update-MgUserPassword.md index 093355d11d5..a5e558baa4f 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Update-MgUserPassword.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Update-MgUserPassword.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Actions +$params = @{ + CurrentPassword = "xWwvJ]6NMw+bWH-d" + NewPassword = "0eM85N54wFxWwvJ]" +} +# A UPN can also be used as -UserId. +Update-MgUserPassword -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserContactFolderDelta.md b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserContactFolderDelta.md index 093355d11d5..e1136990e93 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserContactFolderDelta.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserContactFolderDelta.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Functions +# A UPN can also be used as -UserId. +Get-MgUserContactFolderDelta -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserDelta.md b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserDelta.md index 093355d11d5..5a29eec8bc5 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserDelta.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserDelta.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Functions +Get-MgUserDelta ``` - -{{ Add description here }} - diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserMailFolderMessageDelta.md b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserMailFolderMessageDelta.md index 093355d11d5..b3837fbe6c3 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserMailFolderMessageDelta.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserMailFolderMessageDelta.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Functions +# A UPN can also be used as -UserId. +Get-MgUserMailFolderMessageDelta -UserId $userId -MailFolderId $mailFolderId ``` - -{{ Add description here }} - diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgRecentUserActivity.md b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgRecentUserActivity.md index 093355d11d5..8d328c5b8e1 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgRecentUserActivity.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgRecentUserActivity.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Functions +# A UPN can also be used as -UserId. +Invoke-MgRecentUserActivity -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgSupportedUserOutlookLanguage.md b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgSupportedUserOutlookLanguage.md index 093355d11d5..390ce1d8bf1 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgSupportedUserOutlookLanguage.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgSupportedUserOutlookLanguage.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Functions +# A UPN can also be used as -UserId. +Invoke-MgSupportedUserOutlookLanguage -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgTimeUserOutlook.md b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgTimeUserOutlook.md index 093355d11d5..55026c9265e 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgTimeUserOutlook.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgTimeUserOutlook.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users.Functions +# A UPN can also be used as -UserId. +Invoke-MgTimeUserOutlook -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Get-MgUserMemberOf.md b/src/Users/Users/examples/v1.0/Get-MgUserMemberOf.md index 093355d11d5..8945614553d 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserMemberOf.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserMemberOf.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +Get-MgUserMemberOf -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Get-MgUserOutlookMasterCategory.md b/src/Users/Users/examples/v1.0/Get-MgUserOutlookMasterCategory.md index 093355d11d5..e0ff514bf4a 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserOutlookMasterCategory.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserOutlookMasterCategory.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Get-MgUserOutlookMasterCategory -UserId $userId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Get-MgUserOutlookMasterCategory -UserId $userId -OutlookCategoryId $outlookCategoryId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Get-MgUserOwnedDevice.md b/src/Users/Users/examples/v1.0/Get-MgUserOwnedDevice.md index 093355d11d5..e2e77dc5dd1 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserOwnedDevice.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserOwnedDevice.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Get-MgUserOwnedDevice -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Get-MgUserOwnedObject.md b/src/Users/Users/examples/v1.0/Get-MgUserOwnedObject.md index 093355d11d5..17bdce75b56 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserOwnedObject.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserOwnedObject.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Get-MgUserOwnedObject -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Get-MgUserRegisteredDevice.md b/src/Users/Users/examples/v1.0/Get-MgUserRegisteredDevice.md index 093355d11d5..447b0121907 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserRegisteredDevice.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserRegisteredDevice.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Get-MgUserRegisteredDevice -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Get-MgUserSettingShiftPreference.md b/src/Users/Users/examples/v1.0/Get-MgUserSettingShiftPreference.md index 093355d11d5..27b57ef03c1 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserSettingShiftPreference.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserSettingShiftPreference.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +Get-MgUserSettingShiftPreference -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTodoList.md b/src/Users/Users/examples/v1.0/Get-MgUserTodoList.md index 093355d11d5..45629bd5790 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTodoList.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTodoList.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Get-MgUserTodoList -UserId $userId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Get-MgUserTodoList -UserId $userId -TodoTaskListId $todoTaskListId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTask.md b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTask.md index 093355d11d5..900de52d5fa 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTask.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTask.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Get-MgUserTodoListTask -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Get-MgUserTodoListTask -UserId $userId -TodoTaskListId $todoTaskListId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskChecklistItem.md b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskChecklistItem.md index 093355d11d5..880debe0431 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskChecklistItem.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskChecklistItem.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Get-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -ChecklistItemId $checklistItemId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Get-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskLinkedResource.md b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskLinkedResource.md index 093355d11d5..e80c01b7ec5 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskLinkedResource.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskLinkedResource.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Get-MgUserTodoListTaskLinkedResource -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -LinkedResourceId $linkedResourceId +``` +###Example 2 +``` +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Get-MgUserTodoListTaskLinkedResource -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTransitiveMemberOf.md b/src/Users/Users/examples/v1.0/Get-MgUserTransitiveMemberOf.md index 093355d11d5..2965e9565f0 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTransitiveMemberOf.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTransitiveMemberOf.md @@ -1,18 +1,5 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +Get-MgUserTransitiveMemberOf -UserId $userId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/New-MgUserOutlookMasterCategory.md b/src/Users/Users/examples/v1.0/New-MgUserOutlookMasterCategory.md index 093355d11d5..011d5f95aa4 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserOutlookMasterCategory.md +++ b/src/Users/Users/examples/v1.0/New-MgUserOutlookMasterCategory.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +$params = @{ + DisplayName = "Project expenses" + Color = "preset9" +} +# A UPN can also be used as -UserId. +New-MgUserOutlookMasterCategory -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/New-MgUserTodoList.md b/src/Users/Users/examples/v1.0/New-MgUserTodoList.md index 093355d11d5..665abf92cdd 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserTodoList.md +++ b/src/Users/Users/examples/v1.0/New-MgUserTodoList.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +$params = @{ + DisplayName = "Travel items" +} +# A UPN can also be used as -UserId. +New-MgUserTodoList -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/New-MgUserTodoListTask.md b/src/Users/Users/examples/v1.0/New-MgUserTodoListTask.md index 093355d11d5..998cbcfc032 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserTodoListTask.md +++ b/src/Users/Users/examples/v1.0/New-MgUserTodoListTask.md @@ -1,18 +1,19 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +$params = @{ + Title = "A new task" + Categories = @( + "Important" + ) + LinkedResources = @( + @{ + WebUrl = "http://microsoft.com" + ApplicationName = "Microsoft" + DisplayName = "Microsoft" + } + ) +} +# A UPN can also be used as -UserId. +New-MgUserTodoListTask -UserId $userId -TodoTaskListId $todoTaskListId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskChecklistItem.md b/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskChecklistItem.md index 093355d11d5..672c2c8e032 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskChecklistItem.md +++ b/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskChecklistItem.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +$params = @{ + DisplayName = "Final sign-off from the team" +} +# A UPN can also be used as -UserId. +New-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskLinkedResource.md b/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskLinkedResource.md index 093355d11d5..9fdca372f6e 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskLinkedResource.md +++ b/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskLinkedResource.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +$params = @{ + WebUrl = "https://microsoft.com" + ApplicationName = "Microsoft" + DisplayName = "Microsoft" + ExternalId = "dk9cddce2-dce2-f9dd-e2dc-cdf9e2dccdf9" +} +# A UPN can also be used as -UserId. +New-MgUserTodoListTaskLinkedResource -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserOutlookMasterCategory.md b/src/Users/Users/examples/v1.0/Remove-MgUserOutlookMasterCategory.md index 093355d11d5..3819aa2c1b2 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserOutlookMasterCategory.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserOutlookMasterCategory.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Remove-MgUserOutlookMasterCategory -UserId $userId -OutlookCategoryId $outlookCategoryId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserTodoList.md b/src/Users/Users/examples/v1.0/Remove-MgUserTodoList.md index 093355d11d5..3b1abcba5cf 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserTodoList.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserTodoList.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Remove-MgUserTodoList -UserId $userId -TodoTaskListId $todoTaskListId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTask.md b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTask.md index 093355d11d5..a410d50ce75 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTask.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTask.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Remove-MgUserTodoListTask -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskChecklistItem.md b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskChecklistItem.md index 093355d11d5..200fc2a69a0 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskChecklistItem.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskChecklistItem.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Remove-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -ChecklistItemId $checklistItemId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskLinkedResource.md b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskLinkedResource.md index 093355d11d5..4215654a373 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskLinkedResource.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskLinkedResource.md @@ -1,18 +1,6 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +# A UPN can also be used as -UserId. +Remove-MgUserTodoListTaskLinkedResource -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -LinkedResourceId $linkedResourceId ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Update-MgUserOutlookMasterCategory.md b/src/Users/Users/examples/v1.0/Update-MgUserOutlookMasterCategory.md index 093355d11d5..37fe114659d 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserOutlookMasterCategory.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserOutlookMasterCategory.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +$params = @{ + Color = "preset15" +} +# A UPN can also be used as -UserId. +Update-MgUserOutlookMasterCategory -UserId $userId -OutlookCategoryId $outlookCategoryId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Update-MgUserSettingShiftPreference.md b/src/Users/Users/examples/v1.0/Update-MgUserSettingShiftPreference.md index 093355d11d5..0a8c5cfd1ff 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserSettingShiftPreference.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserSettingShiftPreference.md @@ -1,18 +1,29 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +$params = @{ + Id = "SHPR_eeab4fb1-20e5-48ca-ad9b-98119d94bee7" + "@odata.etag" = "1a371e53-f0a6-4327-a1ee-e3c56e4b38aa" + Availability = @( + @{ + Recurrence = @{ + Pattern = @{ + Type = "Weekly" + DaysOfWeek = @( + "Monday" + "Wednesday" + "Friday" + ) + Interval = 1 + } + Range = @{ + Type = "noEnd" + } + } + TimeZone = "Pacific Standard Time" + TimeSlots = $null + } + ) +} +Update-MgUserSettingShiftPreference -UserId $userId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Update-MgUserTodoList.md b/src/Users/Users/examples/v1.0/Update-MgUserTodoList.md index 093355d11d5..622d57b361c 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserTodoList.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserTodoList.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +$params = @{ + DisplayName = "Vacation Plan" +} +# A UPN can also be used as -UserId. +Update-MgUserTodoList -UserId $userId -TodoTaskListId $todoTaskListId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTask.md b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTask.md index 093355d11d5..3a65d6632bb 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTask.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTask.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +$params = @{ + DueDateTime = @{ + DateTime = "2020-07-25T16:00:00" + TimeZone = "Eastern Standard Time" + } +} +# A UPN can also be used as -UserId. +Update-MgUserTodoListTask -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskChecklistItem.md b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskChecklistItem.md index 093355d11d5..4e8992f4fdc 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskChecklistItem.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskChecklistItem.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +$params = @{ + DisplayName = "buy cake" +} +# A UPN can also be used as -UserId. +Update-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -ChecklistItemId $checklistItemId -BodyParameter $params ``` - -{{ Add description here }} - diff --git a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskLinkedResource.md b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskLinkedResource.md index 093355d11d5..b0edeb7390d 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskLinkedResource.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskLinkedResource.md @@ -1,18 +1,12 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +###Example 1 ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +Import-Module Microsoft.Graph.Users +$params = @{ + "@odata.type" = "#microsoft.graph.linkedResource" + WebUrl = "http://microsoft.com" + ApplicationName = "Microsoft" + DisplayName = "Microsoft" +} +# A UPN can also be used as -UserId. +Update-MgUserTodoListTaskLinkedResource -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -LinkedResourceId $linkedResourceId -BodyParameter $params ``` - -{{ Add description here }} - From 58f57c7700242fbbdd28e0d357d0eb1d9d1f801a Mon Sep 17 00:00:00 2001 From: SteveWilkins1123 Date: Wed, 14 Sep 2022 08:55:13 -0700 Subject: [PATCH 2/4] fixed formatting --- .../examples/v1.0/Add-MgApplicationKey.md | 8 ++--- .../v1.0/Add-MgServicePrincipalKey.md | 8 ++--- .../v1.0/Add-MgServicePrincipalPassword.md | 4 +-- ...ServicePrincipalTokenSigningCertificate.md | 4 +-- .../Clear-MgApplicationVerifiedPublisher.md | 4 +-- .../examples/v1.0/Get-MgApplicationDelta.md | 4 +-- .../Get-MgApplicationExtensionProperty.md | 8 ++--- ...gApplicationFederatedIdentityCredential.md | 8 ++--- .../examples/v1.0/Get-MgApplicationOwner.md | 4 +-- .../v1.0/Get-MgApplicationTemplate.md | 8 ++--- .../Get-MgApplicationTokenIssuancePolicy.md | 4 +-- .../Get-MgApplicationTokenLifetimePolicy.md | 4 +-- ...Get-MgServicePrincipalAppRoleAssignedTo.md | 4 +-- ...et-MgServicePrincipalClaimMappingPolicy.md | 4 +-- .../Get-MgServicePrincipalCreatedObject.md | 4 +-- ...ncipalDelegatedPermissionClassification.md | 4 +-- .../v1.0/Get-MgServicePrincipalDelta.md | 4 +-- ...ervicePrincipalHomeRealmDiscoveryPolicy.md | 4 +-- .../v1.0/Get-MgServicePrincipalMemberOf.md | 4 +-- ...MgServicePrincipalOauth2PermissionGrant.md | 4 +-- .../v1.0/Get-MgServicePrincipalOwnedObject.md | 4 +-- ...et-MgServicePrincipalTransitiveMemberOf.md | 4 +-- ...Invoke-MgInstantiateApplicationTemplate.md | 4 +-- .../New-MgApplicationExtensionProperty.md | 4 +-- ...gApplicationFederatedIdentityCredential.md | 4 +-- ...w-MgApplicationTokenIssuancePolicyByRef.md | 4 +-- ...w-MgApplicationTokenLifetimePolicyByRef.md | 4 +-- ...New-MgServicePrincipalAppRoleAssignedTo.md | 4 +-- ...New-MgServicePrincipalAppRoleAssignment.md | 4 +-- ...ServicePrincipalClaimMappingPolicyByRef.md | 4 +-- ...ncipalDelegatedPermissionClassification.md | 4 +-- ...ePrincipalHomeRealmDiscoveryPolicyByRef.md | 4 +-- .../Remove-MgApplicationExtensionProperty.md | 4 +-- ...gApplicationFederatedIdentityCredential.md | 4 +-- .../examples/v1.0/Remove-MgApplicationKey.md | 4 +-- .../v1.0/Remove-MgApplicationOwnerByRef.md | 4 +-- .../v1.0/Remove-MgApplicationPassword.md | 4 +-- ...e-MgApplicationTokenIssuancePolicyByRef.md | 4 +-- ...e-MgApplicationTokenLifetimePolicyByRef.md | 4 +-- .../v1.0/Remove-MgGroupAppRoleAssignment.md | 4 +-- .../v1.0/Remove-MgServicePrincipal.md | 4 +-- ...ove-MgServicePrincipalAppRoleAssignedTo.md | 4 +-- ...ServicePrincipalClaimMappingPolicyByRef.md | 4 +-- ...ncipalDelegatedPermissionClassification.md | 4 +-- ...ePrincipalHomeRealmDiscoveryPolicyByRef.md | 4 +-- .../v1.0/Remove-MgServicePrincipalKey.md | 4 +-- .../v1.0/Remove-MgServicePrincipalPassword.md | 4 +-- .../Set-MgApplicationVerifiedPublisher.md | 4 +-- ...gApplicationFederatedIdentityCredential.md | 4 +-- .../examples/v1.0/Get-MgBookingBusiness.md | 12 +++---- .../v1.0/Get-MgBookingBusinessAppointment.md | 8 ++--- .../v1.0/Get-MgBookingBusinessCalendarView.md | 4 +-- .../Get-MgBookingBusinessCustomQuestion.md | 8 ++--- .../v1.0/Get-MgBookingBusinessCustomer.md | 8 ++--- .../v1.0/Get-MgBookingBusinessService.md | 8 ++--- .../v1.0/Get-MgBookingBusinessStaffMember.md | 8 ++--- .../examples/v1.0/Get-MgBookingCurrency.md | 8 ++--- .../examples/v1.0/New-MgBookingBusiness.md | 4 +-- .../v1.0/New-MgBookingBusinessAppointment.md | 4 +-- .../New-MgBookingBusinessCustomQuestion.md | 4 +-- .../v1.0/New-MgBookingBusinessCustomer.md | 4 +-- .../v1.0/New-MgBookingBusinessService.md | 4 +-- .../v1.0/New-MgBookingBusinessStaffMember.md | 4 +-- .../v1.0/Publish-MgBookingBusiness.md | 4 +-- .../examples/v1.0/Remove-MgBookingBusiness.md | 4 +-- .../Remove-MgBookingBusinessAppointment.md | 4 +-- .../Remove-MgBookingBusinessCustomQuestion.md | 4 +-- .../v1.0/Remove-MgBookingBusinessCustomer.md | 4 +-- .../v1.0/Remove-MgBookingBusinessService.md | 4 +-- .../Remove-MgBookingBusinessStaffMember.md | 4 +-- .../v1.0/Stop-MgBookingBusinessAppointment.md | 4 +-- .../v1.0/Unpublish-MgBookingBusiness.md | 4 +-- .../examples/v1.0/Update-MgBookingBusiness.md | 4 +-- .../Update-MgBookingBusinessAppointment.md | 4 +-- .../Update-MgBookingBusinessCustomQuestion.md | 4 +-- .../v1.0/Update-MgBookingBusinessCustomer.md | 4 +-- .../v1.0/Update-MgBookingBusinessService.md | 4 +-- .../Update-MgBookingBusinessStaffMember.md | 4 +-- .../examples/v1.0/Get-MgGroupEvent.md | 8 ++--- .../v1.0/Get-MgGroupEventExtension.md | 4 +-- .../Calendar/examples/v1.0/Get-MgPlace.md | 16 +++++----- .../examples/v1.0/Get-MgUserCalendar.md | 4 +-- .../examples/v1.0/Get-MgUserCalendarGroup.md | 8 ++--- .../v1.0/Get-MgUserCalendarGroupCalendar.md | 4 +-- .../v1.0/Get-MgUserCalendarPermission.md | 4 +-- .../examples/v1.0/Get-MgUserCalendarView.md | 4 +-- .../v1.0/Get-MgUserDefaultCalendar.md | 4 +-- .../Calendar/examples/v1.0/Get-MgUserEvent.md | 12 +++---- .../v1.0/Get-MgUserEventAttachment.md | 4 +-- .../examples/v1.0/Get-MgUserEventInstance.md | 4 +-- .../examples/v1.0/New-MgGroupEvent.md | 4 +-- .../examples/v1.0/New-MgUserCalendar.md | 4 +-- .../examples/v1.0/New-MgUserCalendarEvent.md | 8 ++--- .../examples/v1.0/New-MgUserCalendarGroup.md | 4 +-- .../v1.0/New-MgUserCalendarGroupCalendar.md | 4 +-- .../Calendar/examples/v1.0/New-MgUserEvent.md | 16 +++++----- .../v1.0/New-MgUserEventAttachment.md | 12 +++---- .../examples/v1.0/Remove-MgGroupEvent.md | 4 +-- .../v1.0/Remove-MgUserCalendarGroup.md | 4 +-- .../v1.0/Remove-MgUserCalendarPermission.md | 4 +-- .../examples/v1.0/Remove-MgUserEvent.md | 4 +-- .../v1.0/Remove-MgUserEventAttachment.md | 4 +-- .../Calendar/examples/v1.0/Update-MgPlace.md | 8 ++--- .../v1.0/Update-MgUserCalendarGroup.md | 4 +-- .../v1.0/Update-MgUserCalendarPermission.md | 4 +-- .../examples/v1.0/Update-MgUserEvent.md | 4 +-- .../examples/v1.0/Get-MgSubscription.md | 8 ++--- .../examples/v1.0/New-MgSubscription.md | 4 +-- .../examples/v1.0/Remove-MgSubscription.md | 4 +-- .../examples/v1.0/Update-MgSubscription.md | 4 +-- .../examples/v1.0/Get-MgCommunicationCall.md | 8 ++--- .../Get-MgCommunicationCallParticipant.md | 8 ++--- .../v1.0/Get-MgCommunicationCallRecord.md | 16 +++++----- .../Get-MgCommunicationCallRecordSession.md | 8 ++--- .../v1.0/Get-MgCommunicationOnlineMeeting.md | 4 +-- .../v1.0/Get-MgCommunicationPresence.md | 4 +-- .../Get-MgCommunicationPresenceByUserId.md | 4 +-- .../examples/v1.0/Get-MgUserOnlineMeeting.md | 8 ++--- ...Get-MgUserOnlineMeetingAttendanceReport.md | 8 ++--- ...MeetingAttendanceReportAttendanceRecord.md | 4 +-- .../examples/v1.0/Get-MgUserPresence.md | 8 ++--- .../v1.0/Invoke-MgAnswerCommunicationCall.md | 12 +++---- ...ke-MgInviteCommunicationCallParticipant.md | 28 ++++++++-------- .../Invoke-MgKeepCommunicationCallAlive.md | 4 +-- ...nicationCallTeleconferenceDeviceQuality.md | 4 +-- .../v1.0/Invoke-MgMuteCommunicationCall.md | 4 +-- ...voke-MgMuteCommunicationCallParticipant.md | 4 +-- .../Invoke-MgPlayCommunicationCallPrompt.md | 4 +-- ...nvoke-MgRecordCommunicationCallResponse.md | 4 +-- .../Invoke-MgRedirectCommunicationCall.md | 8 ++--- .../v1.0/Invoke-MgRejectCommunicationCall.md | 8 ++--- ...voke-MgSubscribeCommunicationCallToTone.md | 4 +-- .../v1.0/Invoke-MgUnmuteCommunicationCall.md | 4 +-- .../examples/v1.0/Move-MgCommunicationCall.md | 20 ++++++------ .../examples/v1.0/New-MgCommunicationCall.md | 16 +++++----- .../examples/v1.0/New-MgUserOnlineMeeting.md | 4 +-- .../v1.0/Remove-MgCommunicationCall.md | 4 +-- .../Remove-MgCommunicationCallParticipant.md | 12 +++---- .../v1.0/Remove-MgUserOnlineMeeting.md | 4 +-- ...me-MgCommunicationCallScreenSharingRole.md | 4 +-- ...MgCommunicationCallParticipantHoldMusic.md | 4 +-- ...Stop-MgCommunicationCallMediaProcessing.md | 4 +-- ...MgCommunicationCallParticipantHoldMusic.md | 4 +-- ...date-MgCommunicationCallRecordingStatus.md | 4 +-- .../v1.0/Update-MgUserOnlineMeeting.md | 8 ++--- .../examples/v1.0/Remove-MgUserActivity.md | 4 +-- ...MgRoleManagementDirectoryRoleAssignment.md | 20 ++++++------ ...nagementDirectoryRoleAssignmentSchedule.md | 12 +++---- ...DirectoryRoleAssignmentScheduleInstance.md | 12 +++---- ...tDirectoryRoleAssignmentScheduleRequest.md | 20 ++++++------ ...MgRoleManagementDirectoryRoleDefinition.md | 16 +++++----- ...agementDirectoryRoleEligibilitySchedule.md | 12 +++---- ...irectoryRoleEligibilityScheduleInstance.md | 12 +++---- ...DirectoryRoleEligibilityScheduleRequest.md | 12 +++---- ...mentEntitlementManagementRoleAssignment.md | 4 +-- ...mentEntitlementManagementRoleDefinition.md | 4 +-- ...MgRoleManagementDirectoryRoleAssignment.md | 12 +++---- ...tDirectoryRoleAssignmentScheduleRequest.md | 8 ++--- ...MgRoleManagementDirectoryRoleDefinition.md | 4 +-- ...DirectoryRoleEligibilityScheduleRequest.md | 8 ++--- ...mentEntitlementManagementRoleAssignment.md | 4 +-- ...MgRoleManagementDirectoryRoleAssignment.md | 4 +-- ...MgRoleManagementDirectoryRoleDefinition.md | 4 +-- ...tDirectoryRoleAssignmentScheduleRequest.md | 4 +-- ...DirectoryRoleEligibilityScheduleRequest.md | 4 +-- ...MgRoleManagementDirectoryRoleDefinition.md | 4 +-- .../examples/v1.0/Get-MgPrintConnector.md | 8 ++--- .../examples/v1.0/Get-MgPrintOperation.md | 4 +-- .../examples/v1.0/Get-MgPrintPrinter.md | 12 +++---- .../v1.0/Get-MgPrintPrinterConnector.md | 4 +-- .../v1.0/Get-MgPrintPrinterTaskTrigger.md | 8 ++--- .../examples/v1.0/Get-MgPrintService.md | 8 ++--- .../v1.0/Get-MgPrintServiceEndpoint.md | 8 ++--- .../examples/v1.0/Get-MgPrintShare.md | 12 +++---- .../v1.0/Get-MgPrintShareAllowedGroup.md | 4 +-- .../v1.0/Get-MgPrintShareAllowedUser.md | 4 +-- .../v1.0/Get-MgPrintTaskDefinition.md | 8 ++--- .../v1.0/Get-MgPrintTaskDefinitionTask.md | 8 ++--- .../v1.0/New-MgPrintPrinterTaskTrigger.md | 4 +-- .../examples/v1.0/New-MgPrintShare.md | 4 +-- .../v1.0/New-MgPrintShareAllowedGroupByRef.md | 4 +-- .../v1.0/New-MgPrintShareAllowedUserByRef.md | 4 +-- .../v1.0/New-MgPrintTaskDefinition.md | 4 +-- .../examples/v1.0/Remove-MgPrintConnector.md | 4 +-- .../examples/v1.0/Remove-MgPrintPrinter.md | 4 +-- .../v1.0/Remove-MgPrintPrinterTaskTrigger.md | 4 +-- .../examples/v1.0/Remove-MgPrintShare.md | 4 +-- .../Remove-MgPrintShareAllowedGroupByRef.md | 4 +-- .../Remove-MgPrintShareAllowedUserByRef.md | 4 +-- .../v1.0/Remove-MgPrintTaskDefinition.md | 4 +-- .../Restore-MgPrintPrinterFactoryDefault.md | 4 +-- .../examples/v1.0/Update-MgPrintConnector.md | 4 +-- .../examples/v1.0/Update-MgPrintPrinter.md | 4 +-- .../examples/v1.0/Update-MgPrintShare.md | 4 +-- .../v1.0/Update-MgPrintTaskDefinition.md | 4 +-- .../v1.0/Update-MgPrintTaskDefinitionTask.md | 4 +-- ...Get-MgServiceAnnouncementHealthOverview.md | 16 +++++----- .../v1.0/Get-MgServiceAnnouncementIssue.md | 8 ++--- .../v1.0/Get-MgServiceAnnouncementMessage.md | 8 ++--- ...-MgServiceAnnouncementMessageAttachment.md | 8 ++--- ...iceAnnouncementMessageAttachmentArchive.md | 8 ++--- ...iceAnnouncementMessageAttachmentContent.md | 8 ++--- ...oke-MgArchiveServiceAnnouncementMessage.md | 4 +-- ...ke-MgFavoriteServiceAnnouncementMessage.md | 4 +-- ...ke-MgMarkServiceAnnouncementMessageRead.md | 4 +-- ...-MgMarkServiceAnnouncementMessageUnread.md | 4 +-- ...gReportServiceAnnouncementIssueIncident.md | 4 +-- ...e-MgUnarchiveServiceAnnouncementMessage.md | 4 +-- ...-MgUnfavoriteServiceAnnouncementMessage.md | 4 +-- .../Confirm-MgDirectoryObjectMemberGroup.md | 4 +-- .../examples/v1.0/Get-MgDirectoryObject.md | 4 +-- ...rectoryObjectAvailableExtensionProperty.md | 4 +-- .../v1.0/Get-MgDirectoryObjectById.md | 4 +-- .../v1.0/Get-MgDirectoryObjectMemberGroup.md | 4 +-- .../v1.0/Get-MgDirectoryObjectMemberObject.md | 4 +-- .../examples/v1.0/Remove-MgDirectoryObject.md | 4 +-- .../v1.0/Test-MgDirectoryObjectProperty.md | 4 +-- .../examples/v1.0/Get-MgEducationClass.md | 8 ++--- .../v1.0/Get-MgEducationClassAssignment.md | 12 +++---- .../Get-MgEducationClassAssignmentCategory.md | 8 ++--- ...MgEducationClassAssignmentCategoryDelta.md | 16 +++++----- .../Get-MgEducationClassAssignmentDefault.md | 4 +-- .../Get-MgEducationClassAssignmentDelta.md | 12 +++---- .../Get-MgEducationClassAssignmentResource.md | 28 ++++++++-------- .../Get-MgEducationClassAssignmentRubric.md | 4 +-- .../Get-MgEducationClassAssignmentSetting.md | 4 +-- ...et-MgEducationClassAssignmentSubmission.md | 16 +++++----- ...ucationClassAssignmentSubmissionOutcome.md | 4 +-- ...cationClassAssignmentSubmissionResource.md | 28 ++++++++-------- ...ssAssignmentSubmissionSubmittedResource.md | 4 +-- .../v1.0/Get-MgEducationClassDelta.md | 4 +-- .../v1.0/Get-MgEducationClassMember.md | 4 +-- .../v1.0/Get-MgEducationClassSchool.md | 4 +-- .../v1.0/Get-MgEducationClassTeacher.md | 4 +-- .../v1.0/Get-MgEducationMeAssignment.md | 4 +-- .../examples/v1.0/Get-MgEducationMeClass.md | 4 +-- .../examples/v1.0/Get-MgEducationMeRubric.md | 8 ++--- .../examples/v1.0/Get-MgEducationMeSchool.md | 4 +-- .../examples/v1.0/Get-MgEducationSchool.md | 8 ++--- .../v1.0/Get-MgEducationSchoolClass.md | 4 +-- .../v1.0/Get-MgEducationSchoolDelta.md | 4 +-- .../v1.0/Get-MgEducationSchoolUser.md | 4 +-- .../examples/v1.0/Get-MgEducationUser.md | 8 ++--- .../v1.0/Get-MgEducationUserAssignment.md | 8 ++--- .../examples/v1.0/Get-MgEducationUserDelta.md | 4 +-- .../v1.0/Get-MgEducationUserTaughtClass.md | 8 ++--- ...ssignEducationClassAssignmentSubmission.md | 8 ++--- ...eturnEducationClassAssignmentSubmission.md | 4 +-- ...ubmitEducationClassAssignmentSubmission.md | 4 +-- .../examples/v1.0/New-MgEducationClass.md | 4 +-- .../v1.0/New-MgEducationClassAssignment.md | 4 +-- .../New-MgEducationClassAssignmentCategory.md | 4 +-- ...MgEducationClassAssignmentCategoryByRef.md | 8 ++--- .../New-MgEducationClassAssignmentResource.md | 24 +++++++------- ...cationClassAssignmentSubmissionResource.md | 24 +++++++------- .../v1.0/New-MgEducationClassMemberByRef.md | 4 +-- .../v1.0/New-MgEducationClassTeacherByRef.md | 4 +-- .../examples/v1.0/New-MgEducationMeRubric.md | 8 ++--- .../examples/v1.0/New-MgEducationSchool.md | 4 +-- .../v1.0/New-MgEducationSchoolClassByRef.md | 4 +-- .../v1.0/New-MgEducationSchoolUserByRef.md | 4 +-- .../examples/v1.0/New-MgEducationUser.md | 4 +-- .../Publish-MgEducationClassAssignment.md | 4 +-- .../examples/v1.0/Remove-MgEducationClass.md | 4 +-- .../v1.0/Remove-MgEducationClassAssignment.md | 4 +-- ...move-MgEducationClassAssignmentCategory.md | 4 +-- ...MgEducationClassAssignmentCategoryByRef.md | 4 +-- ...move-MgEducationClassAssignmentResource.md | 4 +-- ...e-MgEducationClassAssignmentRubricByRef.md | 4 +-- ...cationClassAssignmentSubmissionResource.md | 4 +-- .../v1.0/Remove-MgEducationMeRubric.md | 4 +-- .../examples/v1.0/Remove-MgEducationSchool.md | 4 +-- .../examples/v1.0/Remove-MgEducationUser.md | 4 +-- ...t-MgEducationClassAssignmentRubricByRef.md | 4 +-- ...it-MgEducationClassAssignmentSubmission.md | 4 +-- .../examples/v1.0/Update-MgEducationClass.md | 4 +-- .../v1.0/Update-MgEducationClassAssignment.md | 4 +-- ...pdate-MgEducationClassAssignmentDefault.md | 4 +-- ...pdate-MgEducationClassAssignmentSetting.md | 4 +-- ...ucationClassAssignmentSubmissionOutcome.md | 12 +++---- .../v1.0/Update-MgEducationMeRubric.md | 4 +-- .../examples/v1.0/Update-MgEducationSchool.md | 4 +-- .../examples/v1.0/Update-MgEducationUser.md | 4 +-- src/Files/Files/examples/v1.0/Get-MgDrive.md | 4 +-- .../examples/v1.0/Get-MgDriveItemChild.md | 4 +-- .../examples/v1.0/Get-MgGroupDefaultDrive.md | 4 +-- .../Files/examples/v1.0/Get-MgGroupDrive.md | 4 +-- .../examples/v1.0/Get-MgShareDriveItem.md | 8 ++--- ...t-MgShareSharedDriveItemSharedDriveItem.md | 4 +-- .../examples/v1.0/Get-MgUserDefaultDrive.md | 8 ++--- .../Files/examples/v1.0/Get-MgUserDrive.md | 8 ++--- .../examples/v1.0/Grant-MgSharePermission.md | 4 +-- .../v1.0/Invoke-MgCheckinDriveItem.md | 4 +-- .../v1.0/Invoke-MgCheckoutDriveItem.md | 4 +-- .../v1.0/Restore-MgDriveItemVersion.md | 4 +-- .../examples/v1.0/Add-MgGroupFavorite.md | 4 +-- .../v1.0/Get-MgGroupAcceptedSender.md | 4 +-- .../examples/v1.0/Get-MgGroupConversation.md | 12 +++---- .../v1.0/Get-MgGroupConversationThread.md | 4 +-- .../Groups/examples/v1.0/Get-MgGroupDelta.md | 4 +-- .../v1.0/Get-MgGroupLifecyclePolicy.md | 8 ++--- .../v1.0/Get-MgGroupLifecyclePolicyByGroup.md | 4 +-- .../examples/v1.0/Get-MgGroupMemberOf.md | 4 +-- .../v1.0/Get-MgGroupPermissionGrant.md | 4 +-- .../Groups/examples/v1.0/Get-MgGroupPhoto.md | 4 +-- .../v1.0/Get-MgGroupRejectedSender.md | 4 +-- .../Groups/examples/v1.0/Get-MgGroupThread.md | 12 +++---- .../examples/v1.0/Get-MgGroupThreadPost.md | 4 +-- .../v1.0/Get-MgGroupThreadPostAttachment.md | 4 +-- .../v1.0/Get-MgGroupThreadPostExtension.md | 4 +-- .../v1.0/Get-MgGroupTransitiveMember.md | 4 +-- .../v1.0/Get-MgGroupTransitiveMemberOf.md | 4 +-- .../v1.0/Invoke-MgForwardGroupThreadPost.md | 4 +-- .../examples/v1.0/Invoke-MgGraphGroup.md | 4 +-- .../examples/v1.0/Invoke-MgRenewGroup.md | 4 +-- .../v1.0/Invoke-MgReplyGroupThread.md | 16 +++++----- .../v1.0/Invoke-MgReplyGroupThreadPost.md | 4 +-- .../v1.0/Invoke-MgSubscribeGroupByMail.md | 4 +-- .../v1.0/New-MgGroupAcceptedSenderByRef.md | 4 +-- .../examples/v1.0/New-MgGroupConversation.md | 4 +-- .../v1.0/New-MgGroupConversationThread.md | 4 +-- .../v1.0/New-MgGroupLifecyclePolicy.md | 4 +-- .../examples/v1.0/New-MgGroupMemberByRef.md | 4 +-- .../v1.0/New-MgGroupRejectedSenderByRef.md | 4 +-- .../Groups/examples/v1.0/New-MgGroupThread.md | 4 +-- .../v1.0/Remove-MgGroupConversation.md | 8 ++--- .../examples/v1.0/Remove-MgGroupFavorite.md | 4 +-- .../v1.0/Remove-MgGroupLifecyclePolicy.md | 4 +-- .../v1.0/Remove-MgGroupMemberByRef.md | 4 +-- .../examples/v1.0/Remove-MgGroupOwnerByRef.md | 4 +-- .../examples/v1.0/Remove-MgGroupThread.md | 8 ++--- .../examples/v1.0/Reset-MgGroupUnseenCount.md | 4 +-- .../examples/v1.0/Set-MgGroupLicense.md | 8 ++--- .../examples/v1.0/Test-MgGroupProperty.md | 4 +-- .../v1.0/Update-MgGroupLifecyclePolicy.md | 4 +-- .../examples/v1.0/Update-MgGroupThread.md | 4 +-- .../v1.0/Update-MgGroupThreadPostExtension.md | 4 +-- .../examples/v1.0/Confirm-MgDomain.md | 4 +-- .../examples/v1.0/Get-MgContactDelta.md | 4 +-- .../v1.0/Get-MgContactDirectReport.md | 4 +-- .../examples/v1.0/Get-MgContactManager.md | 4 +-- .../examples/v1.0/Get-MgContactMemberOf.md | 4 +-- .../v1.0/Get-MgContactTransitiveMemberOf.md | 4 +-- .../examples/v1.0/Get-MgContract.md | 8 ++--- .../examples/v1.0/Get-MgDevice.md | 28 ++++++++-------- .../examples/v1.0/Get-MgDeviceMemberOf.md | 4 +-- .../v1.0/Get-MgDeviceRegisteredOwner.md | 4 +-- .../v1.0/Get-MgDeviceRegisteredUser.md | 4 +-- .../v1.0/Get-MgDeviceTransitiveMemberOf.md | 4 +-- .../v1.0/Get-MgDirectoryAdministrativeUnit.md | 8 ++--- ...Get-MgDirectoryAdministrativeUnitMember.md | 4 +-- ...gDirectoryAdministrativeUnitMemberByRef.md | 4 +-- ...ctoryAdministrativeUnitScopedRoleMember.md | 8 ++--- .../Get-MgDirectoryFederationConfiguration.md | 8 ++--- .../examples/v1.0/Get-MgDirectoryRoleDelta.md | 4 +-- .../v1.0/Get-MgDirectoryRoleScopedMember.md | 4 +-- .../v1.0/Get-MgDirectoryRoleTemplate.md | 8 ++--- .../v1.0/Get-MgDomainNameReference.md | 4 +-- .../Get-MgDomainServiceConfigurationRecord.md | 4 +-- .../v1.0/Get-MgDomainVerificationDnsRecord.md | 4 +-- .../examples/v1.0/Get-MgOrganization.md | 8 ++--- .../v1.0/Get-MgOrganizationBranding.md | 12 +++---- .../Get-MgOrganizationBrandingLocalization.md | 8 ++--- ...anizationBrandingLocalizationBannerLogo.md | 12 +++---- .../v1.0/Invoke-MgForceDomainDelete.md | 4 +-- .../examples/v1.0/New-MgDevice.md | 4 +-- .../v1.0/New-MgDeviceRegisteredOwnerByRef.md | 4 +-- .../v1.0/New-MgDeviceRegisteredUserByRef.md | 4 +-- .../v1.0/New-MgDirectoryAdministrativeUnit.md | 4 +-- ...gDirectoryAdministrativeUnitMemberByRef.md | 4 +-- ...ctoryAdministrativeUnitScopedRoleMember.md | 4 +-- .../New-MgDirectoryFederationConfiguration.md | 4 +-- .../examples/v1.0/New-MgDirectoryRole.md | 4 +-- .../examples/v1.0/New-MgDomain.md | 4 +-- .../New-MgOrganizationBrandingLocalization.md | 4 +-- .../examples/v1.0/Remove-MgDevice.md | 4 +-- .../Remove-MgDeviceRegisteredOwnerByRef.md | 4 +-- .../Remove-MgDirectoryAdministrativeUnit.md | 4 +-- ...gDirectoryAdministrativeUnitMemberByRef.md | 4 +-- ...ctoryAdministrativeUnitScopedRoleMember.md | 4 +-- .../v1.0/Remove-MgDirectoryDeletedItem.md | 4 +-- ...move-MgDirectoryFederationConfiguration.md | 4 +-- .../v1.0/Remove-MgDirectoryRoleMemberByRef.md | 4 +-- .../examples/v1.0/Remove-MgDomain.md | 4 +-- ...move-MgOrganizationBrandingLocalization.md | 4 +-- .../v1.0/Restore-MgDirectoryDeletedItem.md | 4 +-- .../examples/v1.0/Update-MgDevice.md | 8 ++--- .../Update-MgDirectoryAdministrativeUnit.md | 4 +-- .../examples/v1.0/Update-MgDomain.md | 4 +-- .../examples/v1.0/Update-MgOrganization.md | 4 +-- .../v1.0/Update-MgOrganizationBranding.md | 4 +-- ...date-MgOrganizationBrandingLocalization.md | 8 ++--- ...eAccessReviewDefinitionInstanceDecision.md | 4 +-- ...et-MgEntitlementManagementAccessPackage.md | 12 +++---- ...ccessPackageApplicablePolicyRequirement.md | 4 +-- ...entAccessPackageAssignmentApprovalStage.md | 8 ++--- .../Get-MgEntitlementManagementAssignment.md | 12 +++---- ...MgEntitlementManagementAssignmentPolicy.md | 8 ++--- ...gEntitlementManagementAssignmentRequest.md | 12 +++---- .../Get-MgEntitlementManagementCatalog.md | 8 ++--- ...itlementManagementConnectedOrganization.md | 8 ++--- .../Get-MgEntitlementManagementSetting.md | 4 +-- ...dentityGovernanceAccessReviewDefinition.md | 16 +++++----- ...overnanceAccessReviewDefinitionInstance.md | 12 +++---- ...viewDefinitionInstanceContactedReviewer.md | 4 +-- ...eAccessReviewDefinitionInstanceDecision.md | 12 +++---- ...anceAccessReviewDefinitionInstanceStage.md | 12 +++---- ...ssReviewDefinitionInstanceStageDecision.md | 12 +++---- ...GovernanceAccessReviewHistoryDefinition.md | 8 ++--- ...ceAccessReviewHistoryDefinitionInstance.md | 4 +-- ...t-MgIdentityGovernanceAppConsentRequest.md | 16 +++++----- ...anceAppConsentRequestUserConsentRequest.md | 12 +++---- ...-MgIdentityGovernanceTermOfUseAgreement.md | 16 +++++----- ...dentityGovernanceTermOfUseAgreementFile.md | 4 +-- .../v1.0/Get-MgUserAgreementAcceptance.md | 4 +-- ...sReviewDefinitionInstanceRecommendation.md | 4 +-- ...sReviewDefinitionInstanceRecordDecision.md | 4 +-- ...ew-MgEntitlementManagementAccessPackage.md | 4 +-- ...MgEntitlementManagementAssignmentPolicy.md | 8 ++--- ...gEntitlementManagementAssignmentRequest.md | 20 ++++++------ .../New-MgEntitlementManagementCatalog.md | 4 +-- ...itlementManagementConnectedOrganization.md | 4 +-- ...nnectedOrganizationExternalSponsorByRef.md | 4 +-- ...nnectedOrganizationInternalSponsorByRef.md | 4 +-- ...dentityGovernanceAccessReviewDefinition.md | 16 +++++----- ...GovernanceAccessReviewHistoryDefinition.md | 4 +-- ...iewHistoryDefinitionInstanceDownloadUri.md | 4 +-- ...-MgIdentityGovernanceTermOfUseAgreement.md | 4 +-- ...ve-MgEntitlementManagementAccessPackage.md | 4 +-- ...MgEntitlementManagementAssignmentPolicy.md | 4 +-- ...gEntitlementManagementAssignmentRequest.md | 4 +-- .../Remove-MgEntitlementManagementCatalog.md | 4 +-- ...itlementManagementConnectedOrganization.md | 4 +-- ...nnectedOrganizationExternalSponsorByRef.md | 4 +-- ...nnectedOrganizationInternalSponsorByRef.md | 4 +-- ...dentityGovernanceAccessReviewDefinition.md | 4 +-- ...-MgIdentityGovernanceTermOfUseAgreement.md | 4 +-- ...eAccessReviewDefinitionInstanceDecision.md | 4 +-- ...eAccessReviewDefinitionInstanceReminder.md | 4 +-- ...gEntitlementManagementAssignmentRequest.md | 4 +-- ...overnanceAccessReviewDefinitionInstance.md | 4 +-- ...anceAccessReviewDefinitionInstanceStage.md | 4 +-- ...te-MgEntitlementManagementAccessPackage.md | 4 +-- .../Update-MgEntitlementManagementCatalog.md | 4 +-- ...itlementManagementConnectedOrganization.md | 4 +-- .../Update-MgEntitlementManagementSetting.md | 4 +-- ...overnanceAccessReviewDefinitionInstance.md | 4 +-- ...anceAccessReviewDefinitionInstanceStage.md | 4 +-- ...ssReviewDefinitionInstanceStageDecision.md | 12 +++---- ...-MgIdentityGovernanceTermOfUseAgreement.md | 4 +-- .../v1.0/Confirm-MgRiskyUserCompromised.md | 4 +-- .../v1.0/Get-MgDataPolicyOperation.md | 4 +-- .../v1.0/Get-MgIdentityApiConnector.md | 8 ++--- .../v1.0/Get-MgIdentityB2XUserFlow.md | 12 +++---- ...t-MgIdentityB2XUserFlowIdentityProvider.md | 4 +-- .../v1.0/Get-MgIdentityB2XUserFlowLanguage.md | 8 ++--- ...tyB2XUserFlowLanguageDefaultPageContent.md | 4 +-- ...IdentityB2XUserFlowLanguageOverridePage.md | 4 +-- ...ntityB2XUserFlowUserAttributeAssignment.md | 16 +++++----- ...B2XUserFlowUserAttributeAssignmentOrder.md | 4 +-- .../examples/v1.0/Get-MgIdentityProvider.md | 32 +++++++++---------- .../v1.0/Get-MgIdentityUserFlowAttribute.md | 8 ++--- ...formationProtectionBitlockerRecoveryKey.md | 16 +++++----- ...mationProtectionThreatAssessmentRequest.md | 24 +++++++------- .../v1.0/Get-MgOauth2PermissionGrant.md | 8 ++--- .../v1.0/Get-MgOauth2PermissionGrantDelta.md | 4 +-- ...zationCertificateBasedAuthConfiguration.md | 8 ++--- .../Get-MgPolicyActivityBasedTimeoutPolicy.md | 8 ++--- .../Get-MgPolicyAdminConsentRequestPolicy.md | 4 +-- .../Get-MgPolicyAuthenticationFlowPolicy.md | 4 +-- .../Get-MgPolicyAuthenticationMethodPolicy.md | 4 +-- ...PolicyAuthenticationMethodConfiguration.md | 16 +++++----- .../v1.0/Get-MgPolicyClaimMappingPolicy.md | 8 ++--- .../Get-MgPolicyCrossTenantAccessPolicy.md | 4 +-- ...-MgPolicyCrossTenantAccessPolicyDefault.md | 4 +-- ...-MgPolicyCrossTenantAccessPolicyPartner.md | 8 ++--- .../v1.0/Get-MgPolicyFeatureRolloutPolicy.md | 12 +++---- .../Get-MgPolicyHomeRealmDiscoveryPolicy.md | 8 ++--- ...dentitySecurityDefaultEnforcementPolicy.md | 4 +-- .../v1.0/Get-MgPolicyPermissionGrantPolicy.md | 8 ++--- ...et-MgPolicyPermissionGrantPolicyExclude.md | 4 +-- ...et-MgPolicyPermissionGrantPolicyInclude.md | 4 +-- .../v1.0/Get-MgPolicyRoleManagementPolicy.md | 16 +++++----- ...-MgPolicyRoleManagementPolicyAssignment.md | 16 +++++----- .../Get-MgPolicyRoleManagementPolicyRule.md | 8 ++--- .../v1.0/Get-MgPolicyTokenIssuancePolicy.md | 8 ++--- .../v1.0/Get-MgPolicyTokenLifetimePolicy.md | 8 ++--- .../examples/v1.0/Get-MgRiskDetection.md | 8 ++--- .../examples/v1.0/Get-MgRiskyUser.md | 8 ++--- .../examples/v1.0/Get-MgRiskyUserHistory.md | 8 ++--- .../Get-MgUserAuthenticationEmailMethod.md | 8 ++--- .../Get-MgUserAuthenticationFido2Method.md | 4 +-- ...henticationMicrosoftAuthenticatorMethod.md | 4 +-- .../v1.0/Get-MgUserAuthenticationOperation.md | 4 +-- .../Get-MgUserAuthenticationPasswordMethod.md | 8 ++--- .../Get-MgUserAuthenticationPhoneMethod.md | 8 ++--- ...-MgUserAuthenticationSoftwareOathMethod.md | 8 ++--- ...AuthenticationTemporaryAccessPassMethod.md | 8 ++--- ...henticationWindowHelloForBusinessMethod.md | 8 ++--- .../Invoke-MgAvailableIdentityProviderType.md | 12 +++---- .../v1.0/Invoke-MgDismissRiskyUser.md | 4 +-- ...adIdentityApiConnectorClientCertificate.md | 4 +-- .../v1.0/New-MgIdentityApiConnector.md | 12 +++---- .../v1.0/New-MgIdentityB2XUserFlow.md | 12 +++---- ...ntityB2XUserFlowUserAttributeAssignment.md | 4 +-- .../examples/v1.0/New-MgIdentityProvider.md | 8 ++--- .../v1.0/New-MgIdentityUserFlowAttribute.md | 4 +-- ...mationProtectionThreatAssessmentRequest.md | 16 +++++----- .../v1.0/New-MgOauth2PermissionGrant.md | 4 +-- .../New-MgPolicyActivityBasedTimeoutPolicy.md | 4 +-- .../v1.0/New-MgPolicyClaimMappingPolicy.md | 4 +-- ...-MgPolicyCrossTenantAccessPolicyPartner.md | 4 +-- .../v1.0/New-MgPolicyFeatureRolloutPolicy.md | 4 +-- ...gPolicyFeatureRolloutPolicyApplyToByRef.md | 4 +-- .../New-MgPolicyHomeRealmDiscoveryPolicy.md | 4 +-- .../v1.0/New-MgPolicyPermissionGrantPolicy.md | 4 +-- ...ew-MgPolicyPermissionGrantPolicyExclude.md | 4 +-- ...ew-MgPolicyPermissionGrantPolicyInclude.md | 4 +-- .../v1.0/New-MgPolicyTokenIssuancePolicy.md | 4 +-- .../v1.0/New-MgPolicyTokenLifetimePolicy.md | 4 +-- .../New-MgUserAuthenticationEmailMethod.md | 4 +-- .../New-MgUserAuthenticationPhoneMethod.md | 4 +-- ...AuthenticationTemporaryAccessPassMethod.md | 4 +-- .../v1.0/Remove-MgIdentityApiConnector.md | 4 +-- .../v1.0/Remove-MgIdentityB2XUserFlow.md | 4 +-- ...ntityB2XUserFlowUserAttributeAssignment.md | 4 +-- .../v1.0/Remove-MgIdentityProvider.md | 8 ++--- .../Remove-MgIdentityUserFlowAttribute.md | 4 +-- .../v1.0/Remove-MgOauth2PermissionGrant.md | 4 +-- ...move-MgPolicyActivityBasedTimeoutPolicy.md | 4 +-- ...PolicyAuthenticationMethodConfiguration.md | 16 +++++----- .../v1.0/Remove-MgPolicyClaimMappingPolicy.md | 4 +-- ...-MgPolicyCrossTenantAccessPolicyPartner.md | 4 +-- .../Remove-MgPolicyFeatureRolloutPolicy.md | 4 +-- ...gPolicyFeatureRolloutPolicyApplyToByRef.md | 4 +-- ...Remove-MgPolicyHomeRealmDiscoveryPolicy.md | 4 +-- .../Remove-MgPolicyPermissionGrantPolicy.md | 4 +-- ...ve-MgPolicyPermissionGrantPolicyExclude.md | 4 +-- ...ve-MgPolicyPermissionGrantPolicyInclude.md | 4 +-- .../Remove-MgPolicyTokenIssuancePolicy.md | 4 +-- .../Remove-MgPolicyTokenLifetimePolicy.md | 4 +-- .../Remove-MgUserAuthenticationEmailMethod.md | 4 +-- .../Remove-MgUserAuthenticationFido2Method.md | 4 +-- ...henticationMicrosoftAuthenticatorMethod.md | 4 +-- .../Remove-MgUserAuthenticationPhoneMethod.md | 4 +-- ...-MgUserAuthenticationSoftwareOathMethod.md | 4 +-- ...AuthenticationTemporaryAccessPassMethod.md | 4 +-- ...henticationWindowHelloForBusinessMethod.md | 4 +-- ...enantAccessPolicyDefaultToSystemDefault.md | 4 +-- ...yB2XUserFlowLanguageOverridePageContent.md | 4 +-- ...B2XUserFlowUserAttributeAssignmentOrder.md | 4 +-- .../v1.0/Update-MgIdentityApiConnector.md | 12 +++---- ...ntityB2XUserFlowUserAttributeAssignment.md | 4 +-- .../v1.0/Update-MgIdentityProvider.md | 12 +++---- .../Update-MgIdentityUserFlowAttribute.md | 4 +-- .../v1.0/Update-MgOauth2PermissionGrant.md | 4 +-- ...date-MgPolicyActivityBasedTimeoutPolicy.md | 4 +-- ...Update-MgPolicyAuthenticationFlowPolicy.md | 4 +-- ...date-MgPolicyAuthenticationMethodPolicy.md | 4 +-- ...PolicyAuthenticationMethodConfiguration.md | 16 +++++----- .../v1.0/Update-MgPolicyClaimMappingPolicy.md | 4 +-- .../Update-MgPolicyCrossTenantAccessPolicy.md | 4 +-- ...-MgPolicyCrossTenantAccessPolicyDefault.md | 4 +-- ...-MgPolicyCrossTenantAccessPolicyPartner.md | 4 +-- .../Update-MgPolicyFeatureRolloutPolicy.md | 4 +-- ...Update-MgPolicyHomeRealmDiscoveryPolicy.md | 4 +-- ...dentitySecurityDefaultEnforcementPolicy.md | 4 +-- .../Update-MgPolicyPermissionGrantPolicy.md | 4 +-- ...Update-MgPolicyRoleManagementPolicyRule.md | 4 +-- .../Update-MgPolicyTokenIssuancePolicy.md | 4 +-- .../Update-MgPolicyTokenLifetimePolicy.md | 4 +-- .../Update-MgUserAuthenticationEmailMethod.md | 4 +-- .../Update-MgUserAuthenticationPhoneMethod.md | 4 +-- ...t-MgUserInferenceClassificationOverride.md | 4 +-- .../examples/v1.0/Get-MgUserMailFolder.md | 12 +++---- .../v1.0/Get-MgUserMailFolderChildFolder.md | 4 +-- .../v1.0/Get-MgUserMailFolderMessage.md | 4 +-- .../v1.0/Get-MgUserMailFolderMessageRule.md | 8 ++--- .../Mail/examples/v1.0/Get-MgUserMessage.md | 20 ++++++------ .../v1.0/Get-MgUserMessageAttachment.md | 28 ++++++++-------- .../v1.0/Get-MgUserMessageExtension.md | 4 +-- ...w-MgUserInferenceClassificationOverride.md | 4 +-- .../examples/v1.0/New-MgUserMailFolder.md | 4 +-- .../v1.0/New-MgUserMailFolderChildFolder.md | 8 ++--- .../v1.0/New-MgUserMailFolderMessage.md | 4 +-- .../v1.0/New-MgUserMailFolderMessageRule.md | 4 +-- .../Mail/examples/v1.0/New-MgUserMessage.md | 8 ++--- .../v1.0/New-MgUserMessageAttachment.md | 8 ++--- ...e-MgUserInferenceClassificationOverride.md | 4 +-- .../examples/v1.0/Remove-MgUserMailFolder.md | 4 +-- .../Remove-MgUserMailFolderMessageRule.md | 4 +-- .../examples/v1.0/Remove-MgUserMessage.md | 8 ++--- .../v1.0/Remove-MgUserMessageExtension.md | 4 +-- ...e-MgUserInferenceClassificationOverride.md | 4 +-- .../examples/v1.0/Update-MgUserMailFolder.md | 8 ++--- .../Update-MgUserMailFolderMessageRule.md | 4 +-- .../examples/v1.0/Update-MgUserMessage.md | 8 ++--- .../v1.0/Get-MgUserOnenoteNotebook.md | 12 +++---- .../v1.0/Get-MgUserOnenoteNotebookSection.md | 4 +-- .../Get-MgUserOnenoteNotebookSectionGroup.md | 4 +-- .../v1.0/Get-MgUserOnenoteOperation.md | 4 +-- .../examples/v1.0/Get-MgUserOnenoteSection.md | 8 ++--- .../v1.0/Get-MgUserOnenoteSectionGroup.md | 4 +-- .../Get-MgUserOnenoteSectionGroupSection.md | 4 +-- .../v1.0/New-MgUserOnenoteNotebook.md | 4 +-- .../v1.0/New-MgUserOnenoteNotebookSection.md | 4 +-- .../New-MgUserOnenoteNotebookSectionGroup.md | 4 +-- .../New-MgUserOnenoteSectionGroupSection.md | 4 +-- .../examples/v1.0/Remove-MgUserOnenotePage.md | 4 +-- .../People/examples/v1.0/Get-MgUserPerson.md | 4 +-- .../examples/v1.0/Get-MgUserUsedInsight.md | 8 ++--- .../examples/v1.0/Get-MgUserContact.md | 8 ++--- .../examples/v1.0/Get-MgUserContactFolder.md | 8 ++--- .../Get-MgUserContactFolderChildFolder.md | 4 +-- .../v1.0/Get-MgUserContactFolderContact.md | 4 +-- .../examples/v1.0/New-MgUserContact.md | 4 +-- .../examples/v1.0/New-MgUserContactFolder.md | 4 +-- .../New-MgUserContactFolderChildFolder.md | 4 +-- .../v1.0/New-MgUserContactFolderContact.md | 4 +-- .../examples/v1.0/Remove-MgUserContact.md | 4 +-- .../v1.0/Remove-MgUserContactFolder.md | 4 +-- .../examples/v1.0/Update-MgUserContact.md | 4 +-- .../v1.0/Update-MgUserContactFolder.md | 4 +-- .../examples/v1.0/Get-MgGroupPlannerPlan.md | 4 +-- .../Planner/examples/v1.0/Get-MgPlanner.md | 4 +-- .../examples/v1.0/Get-MgPlannerBucket.md | 8 ++--- .../examples/v1.0/Get-MgPlannerBucketTask.md | 4 +-- .../examples/v1.0/Get-MgPlannerPlan.md | 8 ++--- .../examples/v1.0/Get-MgPlannerPlanBucket.md | 4 +-- .../examples/v1.0/Get-MgPlannerPlanDetail.md | 4 +-- .../examples/v1.0/Get-MgPlannerPlanTask.md | 4 +-- .../examples/v1.0/Get-MgPlannerTask.md | 8 ++--- ...-MgPlannerTaskAssignedToTaskBoardFormat.md | 4 +-- .../Get-MgPlannerTaskBucketTaskBoardFormat.md | 4 +-- .../examples/v1.0/Get-MgPlannerTaskDetail.md | 4 +-- ...et-MgPlannerTaskProgressTaskBoardFormat.md | 4 +-- .../examples/v1.0/Get-MgUserPlannerPlan.md | 4 +-- .../examples/v1.0/Get-MgUserPlannerTask.md | 4 +-- .../examples/v1.0/New-MgPlannerBucket.md | 4 +-- .../examples/v1.0/New-MgPlannerPlan.md | 4 +-- .../examples/v1.0/New-MgPlannerTask.md | 4 +-- .../examples/v1.0/Remove-MgPlannerBucket.md | 4 +-- .../examples/v1.0/Remove-MgPlannerPlan.md | 4 +-- .../examples/v1.0/Remove-MgPlannerTask.md | 4 +-- .../examples/v1.0/Update-MgPlannerBucket.md | 4 +-- .../examples/v1.0/Update-MgPlannerPlan.md | 4 +-- .../v1.0/Update-MgPlannerPlanDetail.md | 4 +-- .../examples/v1.0/Update-MgPlannerTask.md | 4 +-- ...-MgPlannerTaskAssignedToTaskBoardFormat.md | 4 +-- ...date-MgPlannerTaskBucketTaskBoardFormat.md | 4 +-- .../v1.0/Update-MgPlannerTaskDetail.md | 4 +-- ...te-MgPlannerTaskProgressTaskBoardFormat.md | 4 +-- .../v1.0/Get-MgAuditLogDirectoryAudit.md | 8 ++--- .../v1.0/Get-MgAuditLogProvisioning.md | 8 ++--- .../examples/v1.0/Get-MgAuditLogSignIn.md | 12 +++---- .../Get-MgReportDailyPrintUsageByPrinter.md | 8 ++--- .../v1.0/Get-MgReportDailyPrintUsageByUser.md | 8 ++--- .../Get-MgReportMonthlyPrintUsageByPrinter.md | 4 +-- .../Get-MgReportMonthlyPrintUsageByUser.md | 4 +-- .../examples/v1.0/Get-MgSchemaExtension.md | 8 ++--- .../examples/v1.0/New-MgSchemaExtension.md | 12 +++---- .../examples/v1.0/Remove-MgSchemaExtension.md | 4 +-- .../examples/v1.0/Update-MgSchemaExtension.md | 8 ++--- .../examples/v1.0/Get-MgExternalConnection.md | 8 ++--- .../v1.0/Get-MgExternalConnectionGroup.md | 4 +-- .../v1.0/Get-MgExternalConnectionItem.md | 4 +-- .../v1.0/Get-MgExternalConnectionOperation.md | 4 +-- .../v1.0/Get-MgExternalConnectionSchema.md | 4 +-- .../examples/v1.0/New-MgExternalConnection.md | 4 +-- .../v1.0/New-MgExternalConnectionGroup.md | 4 +-- .../New-MgExternalConnectionGroupMember.md | 12 +++---- .../v1.0/Remove-MgExternalConnection.md | 4 +-- .../v1.0/Remove-MgExternalConnectionGroup.md | 4 +-- .../Remove-MgExternalConnectionGroupMember.md | 4 +-- .../v1.0/Remove-MgExternalConnectionItem.md | 4 +-- .../v1.0/Update-MgExternalConnection.md | 4 +-- .../v1.0/Update-MgExternalConnectionGroup.md | 4 +-- .../v1.0/Update-MgExternalConnectionItem.md | 4 +-- ...SecurityCaseEdiscoveryCaseCustodianHold.md | 8 ++--- ...discoveryCaseNoncustodialDataSourceHold.md | 8 ++--- ...rityCaseEdiscoveryCaseReviewSetQueryTag.md | 4 +-- ...yCaseEdiscoveryCaseReviewSetToReviewSet.md | 4 +-- .../Close-MgSecurityCaseEdiscoveryCase.md | 4 +-- .../examples/v1.0/Get-MgSecurityAlert.md | 8 ++--- .../v1.0/Get-MgSecurityCaseEdiscoveryCase.md | 8 ++--- ...t-MgSecurityCaseEdiscoveryCaseCustodian.md | 8 ++--- ...iscoveryCaseCustodianLastIndexOperation.md | 4 +-- ...tyCaseEdiscoveryCaseCustodianSiteSource.md | 4 +-- ...iscoveryCaseCustodianUnifiedGroupSource.md | 4 +-- ...tyCaseEdiscoveryCaseCustodianUserSource.md | 4 +-- ...aseEdiscoveryCaseNoncustodialDataSource.md | 12 +++---- ...t-MgSecurityCaseEdiscoveryCaseOperation.md | 8 ++--- ...t-MgSecurityCaseEdiscoveryCaseReviewSet.md | 8 ++--- ...ecurityCaseEdiscoveryCaseReviewSetQuery.md | 8 ++--- .../Get-MgSecurityCaseEdiscoveryCaseSearch.md | 8 ++--- ...aseEdiscoveryCaseSearchAdditionalSource.md | 8 ++--- ...CaseEdiscoveryCaseSearchCustodianSource.md | 4 +-- ...seSearchLastEstimateStatisticsOperation.md | 4 +-- ...eEdiscoveryCaseSearchNoncustodialSource.md | 4 +-- ...Get-MgSecurityCaseEdiscoveryCaseSetting.md | 4 +-- .../Get-MgSecurityCaseEdiscoveryCaseTag.md | 8 ++--- .../v1.0/Get-MgSecuritySecureScore.md | 8 ++--- ...Get-MgSecuritySecureScoreControlProfile.md | 8 ++--- ...e-MgSecurityCaseEdiscoveryCaseCustodian.md | 4 +-- ...sSecurityCaseEdiscoveryCaseTagHierarchy.md | 4 +-- ...urityCaseEdiscoveryCaseSearchStatistics.md | 4 +-- ...voke-MgReopenSecurityCaseEdiscoveryCase.md | 4 +-- .../v1.0/New-MgSecurityCaseEdiscoveryCase.md | 4 +-- ...w-MgSecurityCaseEdiscoveryCaseCustodian.md | 4 +-- ...tyCaseEdiscoveryCaseCustodianSiteSource.md | 4 +-- ...iscoveryCaseCustodianUnifiedGroupSource.md | 12 +++---- ...aseEdiscoveryCaseNoncustodialDataSource.md | 4 +-- ...w-MgSecurityCaseEdiscoveryCaseReviewSet.md | 4 +-- ...ecurityCaseEdiscoveryCaseReviewSetQuery.md | 4 +-- .../New-MgSecurityCaseEdiscoveryCaseSearch.md | 4 +-- ...h-MgSecurityCaseEdiscoveryCaseCustodian.md | 4 +-- ...aseEdiscoveryCaseNoncustodialDataSource.md | 4 +-- .../Remove-MgSecurityCaseEdiscoveryCase.md | 4 +-- ...SecurityCaseEdiscoveryCaseCustodianHold.md | 4 +-- ...discoveryCaseNoncustodialDataSourceHold.md | 8 ++--- ...ecurityCaseEdiscoveryCaseReviewSetQuery.md | 4 +-- ...move-MgSecurityCaseEdiscoveryCaseSearch.md | 4 +-- .../Remove-MgSecurityCaseEdiscoveryCaseTag.md | 4 +-- ...urityCaseEdiscoveryCaseSettingToDefault.md | 4 +-- .../examples/v1.0/Update-MgSecurityAlert.md | 8 ++--- .../Update-MgSecurityCaseEdiscoveryCase.md | 4 +-- ...ecurityCaseEdiscoveryCaseCustodianIndex.md | 4 +-- ...iscoveryCaseNoncustodialDataSourceIndex.md | 4 +-- ...ecurityCaseEdiscoveryCaseReviewSetQuery.md | 4 +-- ...date-MgSecurityCaseEdiscoveryCaseSearch.md | 4 +-- ...ate-MgSecurityCaseEdiscoveryCaseSetting.md | 4 +-- ...ate-MgSecuritySecureScoreControlProfile.md | 8 ++--- .../v1.0/Add-MgSiteListContentTypeCopy.md | 4 +-- ...teListContentTypeCopyFromContentTypeHub.md | 12 +++---- ...SiteContentTypeToDefaultContentLocation.md | 4 +-- src/Sites/Sites/examples/v1.0/Get-MgSite.md | 12 +++---- .../Sites/examples/v1.0/Get-MgSiteColumn.md | 4 +-- .../examples/v1.0/Get-MgSiteContentType.md | 12 +++---- .../v1.0/Get-MgSiteContentTypeColumn.md | 8 ++--- .../examples/v1.0/Get-MgSiteDefaultDrive.md | 4 +-- .../Sites/examples/v1.0/Get-MgSiteDrive.md | 4 +-- .../Sites/examples/v1.0/Get-MgSiteList.md | 24 +++++++------- .../examples/v1.0/Get-MgSiteListColumn.md | 4 +-- .../v1.0/Get-MgSiteListContentType.md | 4 +-- ...ListContentTypeCompatibleHubContentType.md | 4 +-- .../Sites/examples/v1.0/Get-MgSiteListItem.md | 4 +-- .../Get-MgSiteListItemDocumentSetVersion.md | 8 ++--- .../v1.0/Get-MgSiteListItemVersion.md | 8 ++--- .../examples/v1.0/Get-MgSitePermission.md | 8 ++--- .../examples/v1.0/Get-MgSiteTermStore.md | 4 +-- .../examples/v1.0/Get-MgSiteTermStoreGroup.md | 12 +++---- .../v1.0/Get-MgSiteTermStoreGroupSet.md | 4 +-- .../v1.0/Get-MgSiteTermStoreGroupSetTerm.md | 4 +-- .../examples/v1.0/Get-MgSiteTermStoreSet.md | 4 +-- .../v1.0/Get-MgSiteTermStoreSetChild.md | 4 +-- .../v1.0/Get-MgSiteTermStoreSetRelation.md | 4 +-- .../Sites/examples/v1.0/Get-MgSubSite.md | 4 +-- .../examples/v1.0/Get-MgUserFollowedSite.md | 4 +-- .../v1.0/Join-MgSiteContentTypeWithHubSite.md | 4 +-- .../Sites/examples/v1.0/New-MgSiteColumn.md | 4 +-- .../examples/v1.0/New-MgSiteContentType.md | 4 +-- .../v1.0/New-MgSiteContentTypeColumn.md | 4 +-- .../Sites/examples/v1.0/New-MgSiteList.md | 4 +-- .../examples/v1.0/New-MgSiteListColumn.md | 4 +-- .../Sites/examples/v1.0/New-MgSiteListItem.md | 4 +-- .../New-MgSiteListItemDocumentSetVersion.md | 4 +-- .../examples/v1.0/New-MgSitePermission.md | 4 +-- .../examples/v1.0/New-MgSiteTermStoreGroup.md | 4 +-- .../v1.0/New-MgSiteTermStoreSetChild.md | 4 +-- .../v1.0/Publish-MgSiteContentType.md | 4 +-- .../examples/v1.0/Remove-MgSiteContentType.md | 4 +-- .../v1.0/Remove-MgSiteContentTypeColumn.md | 4 +-- .../examples/v1.0/Remove-MgSiteListItem.md | 4 +-- ...Remove-MgSiteListItemDocumentSetVersion.md | 4 +-- .../examples/v1.0/Remove-MgSitePermission.md | 4 +-- .../v1.0/Remove-MgSiteTermStoreGroup.md | 4 +-- .../v1.0/Remove-MgSiteTermStoreSet.md | 4 +-- .../v1.0/Remove-MgSiteTermStoreSetTerm.md | 4 +-- ...estore-MgSiteListItemDocumentSetVersion.md | 4 +-- .../v1.0/Restore-MgSiteListItemVersion.md | 4 +-- .../v1.0/Test-MgSiteContentTypePublished.md | 4 +-- .../v1.0/Unpublish-MgSiteContentType.md | 4 +-- .../examples/v1.0/Update-MgSiteContentType.md | 4 +-- .../v1.0/Update-MgSiteListItemField.md | 4 +-- .../examples/v1.0/Update-MgSitePermission.md | 4 +-- .../examples/v1.0/Update-MgSiteTermStore.md | 4 +-- .../v1.0/Update-MgSiteTermStoreSet.md | 4 +-- .../v1.0/Update-MgSiteTermStoreSetTerm.md | 4 +-- .../Teams/examples/v1.0/Add-MgTeamMember.md | 12 +++---- .../v1.0/Complete-MgTeamChannelMigration.md | 4 +-- .../examples/v1.0/Complete-MgTeamMigration.md | 4 +-- src/Teams/Teams/examples/v1.0/Copy-MgTeam.md | 4 +-- .../examples/v1.0/Get-MgAppCatalogTeamApp.md | 20 ++++++------ .../Get-MgAppCatalogTeamAppDefinitionBot.md | 4 +-- src/Teams/Teams/examples/v1.0/Get-MgChat.md | 16 +++++----- .../examples/v1.0/Get-MgChatInstalledApp.md | 16 +++++----- .../Teams/examples/v1.0/Get-MgChatMember.md | 8 ++--- .../Teams/examples/v1.0/Get-MgChatMessage.md | 8 ++--- .../v1.0/Get-MgChatMessageHostedContent.md | 8 ++--- .../Teams/examples/v1.0/Get-MgChatTab.md | 12 +++---- src/Teams/Teams/examples/v1.0/Get-MgTeam.md | 4 +-- .../Teams/examples/v1.0/Get-MgTeamChannel.md | 20 ++++++------ .../v1.0/Get-MgTeamChannelFileFolder.md | 4 +-- .../examples/v1.0/Get-MgTeamChannelMember.md | 8 ++--- .../examples/v1.0/Get-MgTeamChannelMessage.md | 12 +++---- .../Get-MgTeamChannelMessageHostedContent.md | 4 +-- .../v1.0/Get-MgTeamChannelMessageReply.md | 4 +-- ...-MgTeamChannelMessageReplyHostedContent.md | 4 +-- .../v1.0/Get-MgTeamChannelSharedWithTeam.md | 8 ++--- ...gTeamChannelSharedWithTeamAllowedMember.md | 4 +-- .../examples/v1.0/Get-MgTeamChannelTab.md | 8 ++--- .../v1.0/Get-MgTeamIncomingChannel.md | 4 +-- .../examples/v1.0/Get-MgTeamInstalledApp.md | 20 ++++++------ .../Teams/examples/v1.0/Get-MgTeamMember.md | 16 +++++----- .../examples/v1.0/Get-MgTeamPrimaryChannel.md | 4 +-- .../Teams/examples/v1.0/Get-MgTeamSchedule.md | 4 +-- .../Get-MgTeamScheduleOfferShiftRequest.md | 8 ++--- .../v1.0/Get-MgTeamScheduleOpenShift.md | 8 ++--- ...et-MgTeamScheduleOpenShiftChangeRequest.md | 8 ++--- .../v1.0/Get-MgTeamScheduleSchedulingGroup.md | 8 ++--- .../examples/v1.0/Get-MgTeamScheduleShift.md | 8 ++--- ...et-MgTeamScheduleSwapShiftChangeRequest.md | 8 ++--- .../v1.0/Get-MgTeamScheduleTimeOff.md | 8 ++--- .../v1.0/Get-MgTeamScheduleTimeOffReason.md | 8 ++--- .../v1.0/Get-MgTeamScheduleTimeOffRequest.md | 8 ++--- .../Get-MgTeamworkWorkforceIntegration.md | 8 ++--- .../Teams/examples/v1.0/Get-MgUserChat.md | 12 +++---- .../examples/v1.0/Get-MgUserChatMember.md | 4 +-- .../examples/v1.0/Get-MgUserJoinedTeam.md | 4 +-- .../v1.0/Get-MgUserTeamworkAssociatedTeam.md | 4 +-- .../v1.0/Get-MgUserTeamworkInstalledApp.md | 16 +++++----- .../Get-MgUserTeamworkInstalledAppChat.md | 4 +-- .../examples/v1.0/Invoke-MgArchiveTeam.md | 4 +-- .../v1.0/Invoke-MgShareTeamSchedule.md | 4 +-- .../examples/v1.0/Invoke-MgUnarchiveTeam.md | 4 +-- .../examples/v1.0/New-MgAppCatalogTeamApp.md | 4 +-- src/Teams/Teams/examples/v1.0/New-MgChat.md | 24 +++++++------- .../examples/v1.0/New-MgChatInstalledApp.md | 4 +-- .../Teams/examples/v1.0/New-MgChatMember.md | 16 +++++----- .../Teams/examples/v1.0/New-MgChatMessage.md | 8 ++--- .../Teams/examples/v1.0/New-MgChatTab.md | 4 +-- src/Teams/Teams/examples/v1.0/New-MgTeam.md | 32 +++++++++---------- .../Teams/examples/v1.0/New-MgTeamChannel.md | 20 ++++++------ .../examples/v1.0/New-MgTeamChannelEmail.md | 4 +-- .../examples/v1.0/New-MgTeamChannelMember.md | 28 ++++++++-------- .../examples/v1.0/New-MgTeamChannelMessage.md | 32 +++++++++---------- .../v1.0/New-MgTeamChannelMessageReply.md | 8 ++--- .../examples/v1.0/New-MgTeamInstalledApp.md | 4 +-- .../Teams/examples/v1.0/New-MgTeamMember.md | 8 ++--- .../New-MgTeamScheduleOfferShiftRequest.md | 4 +-- .../v1.0/New-MgTeamScheduleOpenShift.md | 4 +-- ...ew-MgTeamScheduleOpenShiftChangeRequest.md | 4 +-- .../v1.0/New-MgTeamScheduleSchedulingGroup.md | 4 +-- .../examples/v1.0/New-MgTeamScheduleShift.md | 4 +-- ...ew-MgTeamScheduleSwapShiftChangeRequest.md | 4 +-- .../v1.0/New-MgTeamScheduleTimeOff.md | 4 +-- .../v1.0/New-MgTeamScheduleTimeOffReason.md | 4 +-- .../New-MgTeamworkWorkforceIntegration.md | 4 +-- .../v1.0/New-MgUserTeamworkInstalledApp.md | 4 +-- .../v1.0/Remove-MgAppCatalogTeamApp.md | 4 +-- .../v1.0/Remove-MgChatInstalledApp.md | 4 +-- .../examples/v1.0/Remove-MgChatMember.md | 4 +-- .../Teams/examples/v1.0/Remove-MgChatTab.md | 4 +-- .../examples/v1.0/Remove-MgTeamChannel.md | 4 +-- .../v1.0/Remove-MgTeamChannelEmail.md | 4 +-- .../v1.0/Remove-MgTeamChannelMember.md | 4 +-- .../Remove-MgTeamChannelSharedWithTeam.md | 4 +-- .../v1.0/Remove-MgTeamInstalledApp.md | 4 +-- .../examples/v1.0/Remove-MgTeamMember.md | 4 +-- .../v1.0/Remove-MgTeamScheduleOpenShift.md | 4 +-- .../Remove-MgTeamScheduleSchedulingGroup.md | 4 +-- .../v1.0/Remove-MgTeamScheduleShift.md | 4 +-- .../v1.0/Remove-MgTeamScheduleTimeOff.md | 4 +-- .../Remove-MgTeamScheduleTimeOffReason.md | 4 +-- .../Remove-MgTeamScheduleTimeOffRequest.md | 4 +-- .../Remove-MgTeamworkWorkforceIntegration.md | 4 +-- .../v1.0/Remove-MgUserTeamworkInstalledApp.md | 4 +-- .../v1.0/Send-MgChatActivityNotification.md | 20 ++++++------ .../v1.0/Send-MgTeamActivityNotification.md | 16 +++++----- .../Teams/examples/v1.0/Update-MgChat.md | 4 +-- .../v1.0/Update-MgChatInstalledApp.md | 4 +-- .../Teams/examples/v1.0/Update-MgChatTab.md | 4 +-- .../Teams/examples/v1.0/Update-MgTeam.md | 4 +-- .../examples/v1.0/Update-MgTeamChannel.md | 4 +-- .../v1.0/Update-MgTeamChannelMember.md | 4 +-- .../v1.0/Update-MgTeamChannelMessage.md | 4 +-- .../v1.0/Update-MgTeamInstalledApp.md | 4 +-- .../examples/v1.0/Update-MgTeamMember.md | 4 +-- .../v1.0/Update-MgTeamScheduleOpenShift.md | 4 +-- .../v1.0/Update-MgTeamScheduleShift.md | 4 +-- .../Update-MgTeamworkWorkforceIntegration.md | 4 +-- .../examples/v1.0/Clear-MgUserPresence.md | 4 +-- .../v1.0/Confirm-MgUserMemberGroup.md | 4 +-- .../v1.0/Confirm-MgUserMemberObject.md | 4 +-- .../examples/v1.0/Copy-MgUserMailFolder.md | 4 +-- .../examples/v1.0/Copy-MgUserMessage.md | 4 +-- .../v1.0/Copy-MgUserOnenoteNotebook.md | 4 +-- .../v1.0/Copy-MgUserOnenotePageToSection.md | 4 +-- .../Copy-MgUserOnenoteSectionToNotebook.md | 4 +-- ...Copy-MgUserOnenoteSectionToSectionGroup.md | 4 +-- ...e-MgUserAuthenticationPhoneMethodSmSign.md | 4 +-- ...e-MgUserAuthenticationPhoneMethodSmSign.md | 4 +-- .../v1.0/Export-MgUserPersonalData.md | 4 +-- .../examples/v1.0/Find-MgUserMeetingTime.md | 4 +-- .../v1.0/Get-MgUserDefaultCalendarSchedule.md | 4 +-- .../examples/v1.0/Get-MgUserMailTip.md | 4 +-- .../examples/v1.0/Get-MgUserMemberGroup.md | 4 +-- .../Get-MgUserOnenoteNotebookFromWebUrl.md | 4 +-- .../examples/v1.0/Invoke-MgAcceptUserEvent.md | 4 +-- .../Invoke-MgAcceptUserEventTentatively.md | 4 +-- .../Invoke-MgCreateOrGetUserOnlineMeeting.md | 4 +-- .../v1.0/Invoke-MgDeclineUserEvent.md | 4 +-- .../v1.0/Invoke-MgDismissUserEventReminder.md | 4 +-- .../v1.0/Invoke-MgForwardUserEvent.md | 4 +-- .../v1.0/Invoke-MgForwardUserMessage.md | 4 +-- .../examples/v1.0/Invoke-MgLicenseUser.md | 4 +-- .../v1.0/Invoke-MgReplyAllUserMessage.md | 4 +-- .../v1.0/Invoke-MgReplyUserMessage.md | 4 +-- .../v1.0/Invoke-MgSnoozeUserEventReminder.md | 4 +-- .../v1.0/Invoke-MgTranslateUserExchangeId.md | 4 +-- .../examples/v1.0/Move-MgUserMailFolder.md | 4 +-- .../examples/v1.0/Move-MgUserMessage.md | 4 +-- ...ew-MgUserMessageAttachmentUploadSession.md | 8 ++--- .../examples/v1.0/New-MgUserMessageForward.md | 4 +-- .../examples/v1.0/New-MgUserMessageReply.md | 4 +-- .../v1.0/New-MgUserMessageReplyAll.md | 4 +-- .../examples/v1.0/Revoke-MgUserSign.md | 4 +-- .../examples/v1.0/Send-MgUserMail.md | 12 +++---- .../examples/v1.0/Send-MgUserMessage.md | 4 +-- ...Send-MgUserTeamworkActivityNotification.md | 12 +++---- .../examples/v1.0/Set-MgUserPresence.md | 4 +-- .../examples/v1.0/Stop-MgUserEvent.md | 4 +-- .../examples/v1.0/Update-MgUserPassword.md | 4 +-- .../v1.0/Get-MgUserContactFolderDelta.md | 4 +-- .../examples/v1.0/Get-MgUserDelta.md | 4 +-- .../v1.0/Get-MgUserMailFolderMessageDelta.md | 4 +-- .../v1.0/Invoke-MgRecentUserActivity.md | 4 +-- .../Invoke-MgSupportedUserOutlookLanguage.md | 4 +-- .../examples/v1.0/Invoke-MgTimeUserOutlook.md | 4 +-- .../Users/examples/v1.0/Get-MgUserMemberOf.md | 4 +-- .../v1.0/Get-MgUserOutlookMasterCategory.md | 8 ++--- .../examples/v1.0/Get-MgUserOwnedDevice.md | 4 +-- .../examples/v1.0/Get-MgUserOwnedObject.md | 4 +-- .../v1.0/Get-MgUserRegisteredDevice.md | 4 +-- .../v1.0/Get-MgUserSettingShiftPreference.md | 4 +-- .../Users/examples/v1.0/Get-MgUserTodoList.md | 8 ++--- .../examples/v1.0/Get-MgUserTodoListTask.md | 8 ++--- .../Get-MgUserTodoListTaskChecklistItem.md | 8 ++--- .../Get-MgUserTodoListTaskLinkedResource.md | 8 ++--- .../v1.0/Get-MgUserTransitiveMemberOf.md | 4 +-- .../v1.0/New-MgUserOutlookMasterCategory.md | 4 +-- .../Users/examples/v1.0/New-MgUserTodoList.md | 4 +-- .../examples/v1.0/New-MgUserTodoListTask.md | 4 +-- .../New-MgUserTodoListTaskChecklistItem.md | 4 +-- .../New-MgUserTodoListTaskLinkedResource.md | 4 +-- .../Remove-MgUserOutlookMasterCategory.md | 4 +-- .../examples/v1.0/Remove-MgUserTodoList.md | 4 +-- .../v1.0/Remove-MgUserTodoListTask.md | 4 +-- .../Remove-MgUserTodoListTaskChecklistItem.md | 4 +-- ...Remove-MgUserTodoListTaskLinkedResource.md | 4 +-- .../Update-MgUserOutlookMasterCategory.md | 4 +-- .../Update-MgUserSettingShiftPreference.md | 4 +-- .../examples/v1.0/Update-MgUserTodoList.md | 4 +-- .../v1.0/Update-MgUserTodoListTask.md | 4 +-- .../Update-MgUserTodoListTaskChecklistItem.md | 4 +-- ...Update-MgUserTodoListTaskLinkedResource.md | 4 +-- 966 files changed, 2870 insertions(+), 2870 deletions(-) diff --git a/src/Applications/Applications/examples/v1.0/Add-MgApplicationKey.md b/src/Applications/Applications/examples/v1.0/Add-MgApplicationKey.md index aa9b63afd85..91a1eafe770 100644 --- a/src/Applications/Applications/examples/v1.0/Add-MgApplicationKey.md +++ b/src/Applications/Applications/examples/v1.0/Add-MgApplicationKey.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ KeyCredential = @{ @@ -12,8 +12,8 @@ $params = @{ } Add-MgApplicationKey -ApplicationId $applicationId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ KeyCredential = @{ diff --git a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalKey.md b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalKey.md index 385ddde73b0..4f511d58784 100644 --- a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalKey.md +++ b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalKey.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ KeyCredential = @{ @@ -12,8 +12,8 @@ $params = @{ } Add-MgServicePrincipalKey -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ KeyCredential = @{ diff --git a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalPassword.md b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalPassword.md index 4e5662bded9..a117554ebeb 100644 --- a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalPassword.md +++ b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalPassword.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ PasswordCredential = @{ diff --git a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalTokenSigningCertificate.md b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalTokenSigningCertificate.md index 97d77581a49..386f321fa20 100644 --- a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalTokenSigningCertificate.md +++ b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalTokenSigningCertificate.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ DisplayName = "CN=customDisplayName" diff --git a/src/Applications/Applications/examples/v1.0/Clear-MgApplicationVerifiedPublisher.md b/src/Applications/Applications/examples/v1.0/Clear-MgApplicationVerifiedPublisher.md index d4dcf74b9dd..52092130187 100644 --- a/src/Applications/Applications/examples/v1.0/Clear-MgApplicationVerifiedPublisher.md +++ b/src/Applications/Applications/examples/v1.0/Clear-MgApplicationVerifiedPublisher.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Clear-MgApplicationVerifiedPublisher -ApplicationId $applicationId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationDelta.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationDelta.md index c98f4fbd7fc..47288de616d 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationDelta.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationDelta.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationDelta ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationExtensionProperty.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationExtensionProperty.md index 1d837460cb0..a67ccb5cb35 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationExtensionProperty.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationExtensionProperty.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationExtensionProperty -ApplicationId $applicationId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationExtensionProperty -ApplicationId $applicationId -ExtensionPropertyId $extensionPropertyId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationFederatedIdentityCredential.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationFederatedIdentityCredential.md index af1d6208803..ae51fea6708 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationFederatedIdentityCredential.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationFederatedIdentityCredential.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -FederatedIdentityCredentialId $federatedIdentityCredentialId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationOwner.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationOwner.md index aebcc0861e0..cbc8d601426 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationOwner.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationOwner.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationOwner -ApplicationId $applicationId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTemplate.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTemplate.md index ea4b9d37e4f..fca7ba75998 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTemplate.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTemplate.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationTemplate -ApplicationTemplateId $applicationTemplateId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationTemplate ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenIssuancePolicy.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenIssuancePolicy.md index 1284b5c6881..f7f3923448f 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenIssuancePolicy.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenIssuancePolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationTokenIssuancePolicy -ApplicationId $applicationId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenLifetimePolicy.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenLifetimePolicy.md index 9f6ff33f152..d9cea8e7127 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenLifetimePolicy.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenLifetimePolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationTokenLifetimePolicy -ApplicationId $applicationId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalAppRoleAssignedTo.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalAppRoleAssignedTo.md index b7fe9c2614d..7b97bc2e6cd 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalAppRoleAssignedTo.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalAppRoleAssignedTo.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalClaimMappingPolicy.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalClaimMappingPolicy.md index 7aa66d8bffe..0a1bb4368df 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalClaimMappingPolicy.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalClaimMappingPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalClaimMappingPolicy -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalCreatedObject.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalCreatedObject.md index 19c15c44fd2..b6368f72419 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalCreatedObject.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalCreatedObject.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalCreatedObject -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelegatedPermissionClassification.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelegatedPermissionClassification.md index 99e4c0d51f1..01b27e7f7b9 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelegatedPermissionClassification.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelegatedPermissionClassification.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalDelegatedPermissionClassification -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelta.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelta.md index fb5d827e75c..4cbf55f435f 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelta.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelta.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalDelta ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalHomeRealmDiscoveryPolicy.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalHomeRealmDiscoveryPolicy.md index 0942e0b67d1..eb52aa9fb2f 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalHomeRealmDiscoveryPolicy.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalHomeRealmDiscoveryPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalHomeRealmDiscoveryPolicy -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalMemberOf.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalMemberOf.md index d6147a94132..faa5bad47da 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalMemberOf.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalMemberOf.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalMemberOf -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOauth2PermissionGrant.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOauth2PermissionGrant.md index 7210836fc17..9169710fd1e 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOauth2PermissionGrant.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOauth2PermissionGrant.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalOauth2PermissionGrant -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOwnedObject.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOwnedObject.md index 99398cdae10..ff5cef2ee4a 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOwnedObject.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOwnedObject.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalOwnedObject -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalTransitiveMemberOf.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalTransitiveMemberOf.md index b35ea68140a..9eee1c059e2 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalTransitiveMemberOf.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalTransitiveMemberOf.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalTransitiveMemberOf -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Invoke-MgInstantiateApplicationTemplate.md b/src/Applications/Applications/examples/v1.0/Invoke-MgInstantiateApplicationTemplate.md index aeca57de21b..ef7e16cd78a 100644 --- a/src/Applications/Applications/examples/v1.0/Invoke-MgInstantiateApplicationTemplate.md +++ b/src/Applications/Applications/examples/v1.0/Invoke-MgInstantiateApplicationTemplate.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ DisplayName = "Azure AD SAML Toolkit" diff --git a/src/Applications/Applications/examples/v1.0/New-MgApplicationExtensionProperty.md b/src/Applications/Applications/examples/v1.0/New-MgApplicationExtensionProperty.md index 98b6812a873..87270bfddcb 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgApplicationExtensionProperty.md +++ b/src/Applications/Applications/examples/v1.0/New-MgApplicationExtensionProperty.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ Name = "jobGroup" diff --git a/src/Applications/Applications/examples/v1.0/New-MgApplicationFederatedIdentityCredential.md b/src/Applications/Applications/examples/v1.0/New-MgApplicationFederatedIdentityCredential.md index 2cffb8db9e1..cdfc504765a 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgApplicationFederatedIdentityCredential.md +++ b/src/Applications/Applications/examples/v1.0/New-MgApplicationFederatedIdentityCredential.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ Name = "testing02" diff --git a/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenIssuancePolicyByRef.md b/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenIssuancePolicyByRef.md index 343f95e3c0e..574a0aa553b 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenIssuancePolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenIssuancePolicyByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/policies/tokenIssuancePolicies/cd3d9b57-0aee-4f25-8ee3-ac74ef5986a9" diff --git a/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenLifetimePolicyByRef.md b/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenLifetimePolicyByRef.md index a5e07453611..556c83ca5ef 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenLifetimePolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenLifetimePolicyByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies/cd3d9b57-0aee-4f25-8ee3-ac74ef5986a9" diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignedTo.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignedTo.md index 25094cf3061..f77634c2886 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignedTo.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignedTo.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ PrincipalId = "33ad69f9-da99-4bed-acd0-3f24235cb296" diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignment.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignment.md index b97073521bc..07c13eb18fb 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignment.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ PrincipalId = "9028d19c-26a9-4809-8e3f-20ff73e2d75e" diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalClaimMappingPolicyByRef.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalClaimMappingPolicyByRef.md index b0dd60a77a1..627c177b1a3 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalClaimMappingPolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalClaimMappingPolicyByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/policies/claimsMappingPolicies/cd3d9b57-0aee-4f25-8ee3-ac74ef5986a9" diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalDelegatedPermissionClassification.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalDelegatedPermissionClassification.md index b5ed4a0d559..66d96eb8573 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalDelegatedPermissionClassification.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalDelegatedPermissionClassification.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ PermissionId = "e1fe6dd8-ba31-4d61-89e7-88639da4683d" diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md index 173c2e0607e..3bbdaea5544 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies/cd3d9b57-0aee-4f25-8ee3-ac74ef5986a9" diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationExtensionProperty.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationExtensionProperty.md index 7b7f2e7971a..19d8a2f0471 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationExtensionProperty.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationExtensionProperty.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Remove-MgApplicationExtensionProperty -ApplicationId $applicationId -ExtensionPropertyId $extensionPropertyId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationFederatedIdentityCredential.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationFederatedIdentityCredential.md index 567c94b5553..3f9bc731079 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationFederatedIdentityCredential.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationFederatedIdentityCredential.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Remove-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -FederatedIdentityCredentialId $federatedIdentityCredentialId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationKey.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationKey.md index da942754d81..2815ac73016 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationKey.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationKey.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ KeyId = "f0b0b335-1d71-4883-8f98-567911bfdca6" diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationOwnerByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationOwnerByRef.md index f83d58670b0..8e3761ec688 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationOwnerByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationOwnerByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Remove-MgApplicationOwnerByRef -ApplicationId $applicationId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationPassword.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationPassword.md index 8ed96f04a35..7162ba1a537 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationPassword.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationPassword.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ KeyId = "f0b0b335-1d71-4883-8f98-567911bfdca6" diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenIssuancePolicyByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenIssuancePolicyByRef.md index 09f893ef1f5..c4a70ae4332 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenIssuancePolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenIssuancePolicyByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Remove-MgApplicationTokenIssuancePolicyByRef -ApplicationId $applicationId -TokenIssuancePolicyId $tokenIssuancePolicyId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenLifetimePolicyByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenLifetimePolicyByRef.md index 95f9b5c8f5c..dc8e0309b87 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenLifetimePolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenLifetimePolicyByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Remove-MgApplicationTokenLifetimePolicyByRef -ApplicationId $applicationId -TokenLifetimePolicyId $tokenLifetimePolicyId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgGroupAppRoleAssignment.md b/src/Applications/Applications/examples/v1.0/Remove-MgGroupAppRoleAssignment.md index 7b520e7845c..b0da17640d5 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgGroupAppRoleAssignment.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgGroupAppRoleAssignment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Remove-MgGroupAppRoleAssignment -GroupId $groupId -AppRoleAssignmentId $appRoleAssignmentId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipal.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipal.md index 8327de5bf3a..bd6c169d9a5 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipal.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipal.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Remove-MgServicePrincipal -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalAppRoleAssignedTo.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalAppRoleAssignedTo.md index 1b4291b0013..52ecba967d5 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalAppRoleAssignedTo.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalAppRoleAssignedTo.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Remove-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId $servicePrincipalId -AppRoleAssignmentId $appRoleAssignmentId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalClaimMappingPolicyByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalClaimMappingPolicyByRef.md index 8b2dff47d4c..8baf4dd80c1 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalClaimMappingPolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalClaimMappingPolicyByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Remove-MgServicePrincipalClaimMappingPolicyByRef -ServicePrincipalId $servicePrincipalId -ClaimsMappingPolicyId $claimsMappingPolicyId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalDelegatedPermissionClassification.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalDelegatedPermissionClassification.md index c8ce1de1ca9..62465105751 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalDelegatedPermissionClassification.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalDelegatedPermissionClassification.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Remove-MgServicePrincipalDelegatedPermissionClassification -ServicePrincipalId $servicePrincipalId -DelegatedPermissionClassificationId $delegatedPermissionClassificationId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md index f37e52b0f2b..1646a530d38 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef -ServicePrincipalId $servicePrincipalId -HomeRealmDiscoveryPolicyId $homeRealmDiscoveryPolicyId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalKey.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalKey.md index 7f5e50410f2..4568eb8e90b 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalKey.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalKey.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ KeyId = "f0b0b335-1d71-4883-8f98-567911bfdca6" diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalPassword.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalPassword.md index d40a0ffaee1..606b93d09f8 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalPassword.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalPassword.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ KeyId = "f0b0b335-1d71-4883-8f98-567911bfdca6" diff --git a/src/Applications/Applications/examples/v1.0/Set-MgApplicationVerifiedPublisher.md b/src/Applications/Applications/examples/v1.0/Set-MgApplicationVerifiedPublisher.md index b4a5c0db08b..ee9011fe509 100644 --- a/src/Applications/Applications/examples/v1.0/Set-MgApplicationVerifiedPublisher.md +++ b/src/Applications/Applications/examples/v1.0/Set-MgApplicationVerifiedPublisher.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ VerifiedPublisherId = "1234567" diff --git a/src/Applications/Applications/examples/v1.0/Update-MgApplicationFederatedIdentityCredential.md b/src/Applications/Applications/examples/v1.0/Update-MgApplicationFederatedIdentityCredential.md index e831e4e7f08..15fae20d092 100644 --- a/src/Applications/Applications/examples/v1.0/Update-MgApplicationFederatedIdentityCredential.md +++ b/src/Applications/Applications/examples/v1.0/Update-MgApplicationFederatedIdentityCredential.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Applications $params = @{ Name = "testing02" diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusiness.md index e7584e7ebc6..82a3bde40d8 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusiness.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusiness -BookingBusinessId $bookingBusinessId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusiness ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusiness -Query "Adventure" ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessAppointment.md index 0fb7c5f2392..648b7cffa7f 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessAppointment.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId -BookingAppointmentId $bookingAppointmentId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCalendarView.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCalendarView.md index 6d98e88ec3d..311dfb67721 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCalendarView.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCalendarView.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessCalendarView -BookingBusinessId $bookingBusinessId -Start "2018-04-30T00:00:00Z" -End "2018-05-10T00:00:00Z" ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomQuestion.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomQuestion.md index c85b6eceecd..f8aa23e5d3a 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomQuestion.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomQuestion.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessCustomQuestion -BookingBusinessId $bookingBusinessId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessCustomQuestion -BookingBusinessId $bookingBusinessId -BookingCustomQuestionId $bookingCustomQuestionId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomer.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomer.md index 21250af5dd1..88a5af53931 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomer.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomer.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessCustomer -BookingBusinessId $bookingBusinessId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessCustomer -BookingBusinessId $bookingBusinessId -BookingCustomerBaseId $bookingCustomerBaseId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessService.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessService.md index 5f0932028dd..8181d81ada1 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessService.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessService.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessService -BookingBusinessId $bookingBusinessId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessService -BookingBusinessId $bookingBusinessId -BookingServiceId $bookingServiceId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessStaffMember.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessStaffMember.md index 8c9b4c32a2f..bb78224a648 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessStaffMember.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessStaffMember.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessStaffMember -BookingBusinessId $bookingBusinessId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessStaffMember -BookingBusinessId $bookingBusinessId -BookingStaffMemberBaseId $bookingStaffMemberBaseId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingCurrency.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingCurrency.md index 2dce17bf565..4bec3d73c93 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingCurrency.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingCurrency.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingCurrency -BookingCurrencyId $bookingCurrencyId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingCurrency ``` diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusiness.md index a5e4ec77591..c04f87c9d63 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusiness.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings $params = @{ DisplayName = "Fourth Coffee" diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessAppointment.md index dc90690ecad..28b1464caa4 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessAppointment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingAppointment" diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomQuestion.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomQuestion.md index 80a2c8d2640..16153915002 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomQuestion.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomQuestion.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingCustomQuestion" diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomer.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomer.md index 24159a57282..0707cb8117d 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomer.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomer.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingCustomer" diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessService.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessService.md index c65bc0742aa..59cbd90ea3a 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessService.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessService.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingService" diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessStaffMember.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessStaffMember.md index 0729f7013a1..f5896858c61 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessStaffMember.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessStaffMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingStaffMember" diff --git a/src/Bookings/Bookings/examples/v1.0/Publish-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Publish-MgBookingBusiness.md index c59bed845d3..7a92e4cebee 100644 --- a/src/Bookings/Bookings/examples/v1.0/Publish-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Publish-MgBookingBusiness.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings Publish-MgBookingBusiness -BookingBusinessId $bookingBusinessId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusiness.md index 3e98655f184..6396da37c7b 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusiness.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusiness -BookingBusinessId $bookingBusinessId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessAppointment.md index f9ff6e8c553..714198c516f 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessAppointment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId -BookingAppointmentId $bookingAppointmentId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomQuestion.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomQuestion.md index 21ba072e871..5f2e0166323 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomQuestion.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomQuestion.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusinessCustomQuestion -BookingBusinessId $bookingBusinessId -BookingCustomQuestionId $bookingCustomQuestionId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomer.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomer.md index fecaa75061e..367c0022974 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomer.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomer.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusinessCustomer -BookingBusinessId $bookingBusinessId -BookingCustomerBaseId $bookingCustomerBaseId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessService.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessService.md index 503f733f570..f34f34d7f81 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessService.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessService.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusinessService -BookingBusinessId $bookingBusinessId -BookingServiceId $bookingServiceId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessStaffMember.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessStaffMember.md index 66fc98a9f36..9595e5a620d 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessStaffMember.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessStaffMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusinessStaffMember -BookingBusinessId $bookingBusinessId -BookingStaffMemberBaseId $bookingStaffMemberBaseId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Stop-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/Stop-MgBookingBusinessAppointment.md index 0727a4ecba6..bb29fd4e044 100644 --- a/src/Bookings/Bookings/examples/v1.0/Stop-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/Stop-MgBookingBusinessAppointment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings $params = @{ CancellationMessage = "Your appointment has been successfully cancelled. Please call us again." diff --git a/src/Bookings/Bookings/examples/v1.0/Unpublish-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Unpublish-MgBookingBusiness.md index e73a7ed48aa..8695e0d9401 100644 --- a/src/Bookings/Bookings/examples/v1.0/Unpublish-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Unpublish-MgBookingBusiness.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings Unpublish-MgBookingBusiness -BookingBusinessId $bookingBusinessId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusiness.md index d0614fafbfb..d825cc8bc21 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusiness.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings $params = @{ Email = "admin@fabrikam.com" diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessAppointment.md index 0b9f731f327..17bb24e0cd9 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessAppointment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingAppointment" diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomQuestion.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomQuestion.md index c318f00955c..91df2de6d1e 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomQuestion.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomQuestion.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingCustomQuestion" diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomer.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomer.md index 2d44497b40f..87d54ec6140 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomer.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomer.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingCustomer" diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessService.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessService.md index 5aed34d824c..8e1901d2dee 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessService.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessService.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingService" diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessStaffMember.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessStaffMember.md index 7394628c474..53ccc89ce56 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessStaffMember.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessStaffMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingStaffMember" diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEvent.md b/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEvent.md index 810d53a43ef..ead5d17fa6d 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEvent.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar Get-MgGroupEvent -GroupId $groupId -EventId $eventId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Calendar Get-MgGroupEvent -GroupId $groupId ``` diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEventExtension.md b/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEventExtension.md index cef924c9308..a332f5c3872 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEventExtension.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEventExtension.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar Get-MgGroupEventExtension -GroupId $groupId -EventId $eventId -ExtensionId $extensionId ``` diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgPlace.md b/src/Calendar/Calendar/examples/v1.0/Get-MgPlace.md index 4d73f2c71e9..70ac7a35202 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgPlace.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgPlace.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar Get-MgPlace -PlaceId $placeId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Calendar Get-MgPlace -PlaceId $placeId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Calendar Get-MgPlace -PlaceId $placeId ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Calendar Get-MgPlace -PlaceId $placeId ``` diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendar.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendar.md index 3edf125f12c..0e225174435 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendar.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserCalendar -UserId $userId diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroup.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroup.md index 293d8165da5..fb627f3c378 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroup.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroup.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserCalendarGroup -UserId $userId -CalendarGroupId $calendarGroupId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserCalendarGroup -UserId $userId diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroupCalendar.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroupCalendar.md index 1417884a275..1a20e999abd 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroupCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroupCalendar.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserCalendarGroupCalendar -UserId $userId -CalendarGroupId $calendarGroupId diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarPermission.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarPermission.md index e46324aeb8c..7d2aeb38115 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarPermission.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarPermission.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar Get-MgUserCalendarPermission -UserId $userId -CalendarPermissionId $calendarPermissionId ``` diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarView.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarView.md index fc16a89246c..5f38b45d681 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarView.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarView.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserCalendarView -UserId $userId -Startdatetime "2017-01-01T19:00:00-08:00" -Enddatetime "2017-01-07T19:00:00-08:00" diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserDefaultCalendar.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserDefaultCalendar.md index bb578ee2c27..253aa62ff6c 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserDefaultCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserDefaultCalendar.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserDefaultCalendar -UserId $userId diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEvent.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEvent.md index 04b87ed5672..b5d7c2741d3 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEvent.md @@ -1,17 +1,17 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserEvent -UserId $userId -EventId $eventId -Property "subject,body,bodyPreview,organizer,attendees,start,end,location,locations" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserEvent -UserId $userId -EventId $eventId -Property "subject,body,bodyPreview,organizer,attendees,start,end,location,hideAttendees" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserEvent -UserId $userId -Property "subject,body,bodyPreview,organizer,attendees,start,end,location" diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventAttachment.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventAttachment.md index 86f0d576a02..adaf398b609 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventAttachment.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventAttachment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserEventAttachment -UserId $userId -EventId $eventId diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventInstance.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventInstance.md index 92326b645ac..e787d497d50 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventInstance.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventInstance.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserEventInstance -UserId $userId -EventId $eventId -Startdatetime "2019-04-08T09:00:00.0000000" -Enddatetime "2019-04-30T09:00:00.0000000" -Property "subject,bodyPreview,seriesMasterId,type,recurrence,start,end" diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgGroupEvent.md b/src/Calendar/Calendar/examples/v1.0/New-MgGroupEvent.md index bbe032dc4e8..7cd8d3f32e6 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgGroupEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgGroupEvent.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ Subject = "Let's go for lunch" diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendar.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendar.md index 6062dd5ccd9..58fc2e5ac0a 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendar.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ Name = "Volunteer" diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarEvent.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarEvent.md index 28dc76880ab..48ad01fc53a 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarEvent.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ Subject = "Let's go for lunch" @@ -32,8 +32,8 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserCalendarEvent -UserId $userId -CalendarId $calendarId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ Subject = "Let's go for lunch" diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroup.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroup.md index 4a3f6243670..ed52acc81b3 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroup.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ Name = "Personal events" diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroupCalendar.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroupCalendar.md index 9f5259dc99d..4d5c1556356 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroupCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroupCalendar.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ Name = "Marketing calendar" diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserEvent.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserEvent.md index da1ebab2b88..c2b47abe83f 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserEvent.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ Subject = "Plan summer company picnic" @@ -62,8 +62,8 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserEvent -UserId $userId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ Subject = "Let's go for lunch" @@ -97,8 +97,8 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserEvent -UserId $userId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ Subject = "Let's go for lunch" @@ -133,8 +133,8 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserEvent -UserId $userId -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ Subject = "Let's go for lunch" diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserEventAttachment.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserEventAttachment.md index b2fd15b3494..d8e6c4a8f77 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserEventAttachment.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserEventAttachment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ "@odata.type" = "#microsoft.graph.fileAttachment" @@ -9,8 +9,8 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserEventAttachment -UserId $userId -EventId $eventId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ "@odata.type" = "#microsoft.graph.itemAttachment" @@ -23,8 +23,8 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserEventAttachment -UserId $userId -EventId $eventId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ "@odata.type" = "#Microsoft.OutlookServices.ItemAttachment" diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgGroupEvent.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgGroupEvent.md index e9eadac38be..b4edfece33c 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgGroupEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgGroupEvent.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar Remove-MgGroupEvent -GroupId $groupId -EventId $eventId ``` diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarGroup.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarGroup.md index 71bc0df2835..925d2942748 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarGroup.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Remove-MgUserCalendarGroup -UserId $userId -CalendarGroupId $calendarGroupId diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarPermission.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarPermission.md index fd98633c40d..a52d95affe4 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarPermission.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarPermission.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar Remove-MgUserCalendarPermission -UserId $userId -CalendarPermissionId $calendarPermissionId ``` diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEvent.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEvent.md index 2aa40e404dd..ea4d0fe0f56 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEvent.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Remove-MgUserEvent -UserId $userId -EventId $eventId diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEventAttachment.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEventAttachment.md index 6c957b3e624..48a334d53ee 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEventAttachment.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEventAttachment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Remove-MgUserEventAttachment -UserId $userId -EventId $eventId -AttachmentId $attachmentId diff --git a/src/Calendar/Calendar/examples/v1.0/Update-MgPlace.md b/src/Calendar/Calendar/examples/v1.0/Update-MgPlace.md index 014bcf3436c..cc53295aa2e 100644 --- a/src/Calendar/Calendar/examples/v1.0/Update-MgPlace.md +++ b/src/Calendar/Calendar/examples/v1.0/Update-MgPlace.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ "@odata.type" = "microsoft.graph.room" @@ -11,8 +11,8 @@ $params = @{ } Update-MgPlace -PlaceId $placeId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ "@odata.type" = "microsoft.graph.roomList" diff --git a/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarGroup.md b/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarGroup.md index 995555a9ad8..6c60b664403 100644 --- a/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarGroup.md +++ b/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ Name = "name-value" diff --git a/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarPermission.md b/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarPermission.md index 3d6c62af099..e87bd435a7d 100644 --- a/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarPermission.md +++ b/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarPermission.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ Role = "write" diff --git a/src/Calendar/Calendar/examples/v1.0/Update-MgUserEvent.md b/src/Calendar/Calendar/examples/v1.0/Update-MgUserEvent.md index 34de3ba7d61..a6fff025a48 100644 --- a/src/Calendar/Calendar/examples/v1.0/Update-MgUserEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Update-MgUserEvent.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Calendar $params = @{ OriginalStartTimeZone = "originalStartTimeZone-value" diff --git a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Get-MgSubscription.md b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Get-MgSubscription.md index 893bb4a1e38..762aab13dee 100644 --- a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Get-MgSubscription.md +++ b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Get-MgSubscription.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.ChangeNotifications Get-MgSubscription -SubscriptionId $subscriptionId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.ChangeNotifications Get-MgSubscription ``` diff --git a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/New-MgSubscription.md b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/New-MgSubscription.md index 3dc873c5a39..f260dd1ed35 100644 --- a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/New-MgSubscription.md +++ b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/New-MgSubscription.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.ChangeNotifications $params = @{ ChangeType = "created" diff --git a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Remove-MgSubscription.md b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Remove-MgSubscription.md index a425a3f2605..cd6e605e30b 100644 --- a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Remove-MgSubscription.md +++ b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Remove-MgSubscription.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.ChangeNotifications Remove-MgSubscription -SubscriptionId $subscriptionId ``` diff --git a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Update-MgSubscription.md b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Update-MgSubscription.md index 9670e6fa613..c54a4fb8787 100644 --- a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Update-MgSubscription.md +++ b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Update-MgSubscription.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.ChangeNotifications $params = @{ ExpirationDateTime = [System.DateTime]::Parse("2016-11-22T18:23:45.9356913Z") diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCall.md index b8a20f78fab..4cc83921001 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCall.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCall -CallId $callId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCall -CallId $callId ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallParticipant.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallParticipant.md index 9fc6cab2839..37a54363977 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallParticipant.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallParticipant.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participantId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallParticipant -CallId $callId ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecord.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecord.md index 865174c3d34..130a2e4ca90 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecord.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecord.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecord -CallRecordId $callRecordId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecord -CallRecordId $callRecordId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecord -CallRecordId $callRecordId -ExpandProperty "sessions(`$expand=segments)" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecord -CallRecordId $callRecordId ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecordSession.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecordSession.md index 182609f947a..64f8a94483d 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecordSession.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecordSession.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecordSession -CallRecordId $callRecordId -ExpandProperty "segments" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecordSession -CallRecordId $callRecordId ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationOnlineMeeting.md index 2b4a96d56fe..ba3572b25d1 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationOnlineMeeting.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationOnlineMeeting -Filter "VideoTeleconferenceId eq '123456789'" ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresence.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresence.md index 754568af942..57c7dd1f252 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresence.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresence.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationPresence -PresenceId $presenceId ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresenceByUserId.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresenceByUserId.md index 568f007e945..67bc61b1773 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresenceByUserId.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresenceByUserId.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Ids = @( diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeeting.md index c59456fd4b9..6d236a52273 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeeting.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserOnlineMeeting -UserId $userId -Filter "JoinWebUrl eq 'https://teams.microsoft.com/l/meetup-join/19:meeting_MGQ4MDQyNTEtNTQ2NS00YjQxLTlkM2EtZWVkODYxODYzMmY2@thread.v2/0?context" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserOnlineMeeting -UserId $userId -OnlineMeetingId $onlineMeetingId diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReport.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReport.md index d7902e0e0ae..b7938f6971f 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReport.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReport.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserOnlineMeetingAttendanceReport -UserId $userId -OnlineMeetingId $onlineMeetingId -MeetingAttendanceReportId $meetingAttendanceReportId -ExpandProperty "attendanceRecords" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserOnlineMeetingAttendanceReport -UserId $userId -OnlineMeetingId $onlineMeetingId diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord.md index 9f5f1968d21..918af41d9cb 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord -UserId $userId -OnlineMeetingId $onlineMeetingId -MeetingAttendanceReportId $meetingAttendanceReportId diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserPresence.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserPresence.md index d2ce725be1c..81851941bca 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserPresence.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserPresence.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgUserPresence -UserId $userId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserPresence -UserId $userId diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgAnswerCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgAnswerCommunicationCall.md index 52e9b724639..be3f5435e45 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgAnswerCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgAnswerCommunicationCall.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ CallbackUri = "https://bot.contoso.com/api/calls" @@ -13,8 +13,8 @@ $params = @{ } Invoke-MgAnswerCommunicationCall -CallId $callId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ CallbackUri = "callbackUri-value" @@ -29,8 +29,8 @@ $params = @{ } Invoke-MgAnswerCommunicationCall -CallId $callId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ CallbackUri = "https://bot.contoso.com/api/calls" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgInviteCommunicationCallParticipant.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgInviteCommunicationCallParticipant.md index 6495a216a4c..d73757ab8be 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgInviteCommunicationCallParticipant.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgInviteCommunicationCallParticipant.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Participants = @( @@ -20,8 +20,8 @@ $params = @{ } Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Participants = @( @@ -40,8 +40,8 @@ $params = @{ } Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Participants = @( @@ -62,8 +62,8 @@ $params = @{ } Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Participants = @( @@ -85,8 +85,8 @@ $params = @{ } Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Participants = @( @@ -119,8 +119,8 @@ $params = @{ } Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` -###Example 6 -``` +### Example 6 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Participants = @( @@ -141,8 +141,8 @@ $params = @{ } Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` -###Example 7 -``` +### Example 7 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Participants = @( diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgKeepCommunicationCallAlive.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgKeepCommunicationCallAlive.md index 8c12a320dc2..ebcb2621260 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgKeepCommunicationCallAlive.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgKeepCommunicationCallAlive.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Invoke-MgKeepCommunicationCallAlive -CallId $callId ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality.md index f04a736cf2b..8c5fc6c0a06 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Quality = @{ diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCall.md index 7a3a3afc751..859e5942f1c 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCall.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ ClientContext = "clientContext-value" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCallParticipant.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCallParticipant.md index 753415d8584..5d4cb0069ec 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCallParticipant.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCallParticipant.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ ClientContext = "d45324c1-fcb5-430a-902c-f20af696537c" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgPlayCommunicationCallPrompt.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgPlayCommunicationCallPrompt.md index 00f98aeab05..8d90d59ee2f 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgPlayCommunicationCallPrompt.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgPlayCommunicationCallPrompt.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ ClientContext = "d45324c1-fcb5-430a-902c-f20af696537c" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRecordCommunicationCallResponse.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRecordCommunicationCallResponse.md index 7a7979cde1e..1e19c382307 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRecordCommunicationCallResponse.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRecordCommunicationCallResponse.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ BargeInAllowed = $true diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRedirectCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRedirectCommunicationCall.md index 4943653aaa6..2ea25a79ddd 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRedirectCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRedirectCommunicationCall.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Targets = @( @@ -19,8 +19,8 @@ $params = @{ } Invoke-MgRedirectCommunicationCall -CallId $callId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Targets = @( diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRejectCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRejectCommunicationCall.md index 47031bdab45..f7ee6fc05eb 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRejectCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRejectCommunicationCall.md @@ -1,13 +1,13 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Reason = "none" } Invoke-MgRejectCommunicationCall -CallId $callId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Reason = "busy" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgSubscribeCommunicationCallToTone.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgSubscribeCommunicationCallToTone.md index aadb8c55c1f..2142bd5515e 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgSubscribeCommunicationCallToTone.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgSubscribeCommunicationCallToTone.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ ClientContext = "fd1c7836-4d84-4e24-b6aa-23188688cc54" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgUnmuteCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgUnmuteCommunicationCall.md index 5a91ceaee61..28e722b1a9e 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgUnmuteCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgUnmuteCommunicationCall.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ ClientContext = "clientContext-value" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Move-MgCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Move-MgCommunicationCall.md index c8bd36ba340..cad7e644d03 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Move-MgCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Move-MgCommunicationCall.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ TransferTarget = @{ @@ -14,8 +14,8 @@ $params = @{ } Move-MgCommunicationCall -CallId $callId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ TransferTarget = @{ @@ -34,8 +34,8 @@ $params = @{ } Move-MgCommunicationCall -CallId $callId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ TransferTarget = @{ @@ -53,8 +53,8 @@ $params = @{ } Move-MgCommunicationCall -CallId $callId -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ TransferTarget = @{ @@ -75,8 +75,8 @@ $params = @{ } Move-MgCommunicationCall -CallId $callId -BodyParameter $params ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ TransferTarget = @{ diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgCommunicationCall.md index d74410803b0..a8e1a72c882 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgCommunicationCall.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ "@odata.type" = "#microsoft.graph.call" @@ -40,8 +40,8 @@ $params = @{ } New-MgCommunicationCall -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ "@odata.type" = "#microsoft.graph.call" @@ -68,8 +68,8 @@ $params = @{ } New-MgCommunicationCall -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ "@odata.type" = "#microsoft.graph.call" @@ -111,8 +111,8 @@ $params = @{ } New-MgCommunicationCall -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ "@odata.type" = "#microsoft.graph.call" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgUserOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgUserOnlineMeeting.md index 84ae2f49d64..21674fd1f9f 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgUserOnlineMeeting.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ StartDateTime = [System.DateTime]::Parse("2019-07-12T14:30:34.2444915-07:00") diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCall.md index a62e4a1a1c5..4f4f8618bcd 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCall.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Remove-MgCommunicationCall -CallId $callId ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCallParticipant.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCallParticipant.md index 4a0a1682d34..44e72f4e95c 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCallParticipant.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCallParticipant.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Remove-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participantId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Remove-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participantId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.CloudCommunications Remove-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participantId ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgUserOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgUserOnlineMeeting.md index eb3ac7a8811..c622558760f 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgUserOnlineMeeting.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Remove-MgUserOnlineMeeting -UserId $userId -OnlineMeetingId $onlineMeetingId diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Rename-MgCommunicationCallScreenSharingRole.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Rename-MgCommunicationCallScreenSharingRole.md index a89db177267..2592dd61e18 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Rename-MgCommunicationCallScreenSharingRole.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Rename-MgCommunicationCallScreenSharingRole.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Role = "viewer" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Start-MgCommunicationCallParticipantHoldMusic.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Start-MgCommunicationCallParticipantHoldMusic.md index 6283875213c..5cc2725e43e 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Start-MgCommunicationCallParticipantHoldMusic.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Start-MgCommunicationCallParticipantHoldMusic.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ CustomPrompt = @{ diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallMediaProcessing.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallMediaProcessing.md index df4eb99af43..2ffe9b6a427 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallMediaProcessing.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallMediaProcessing.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ ClientContext = "clientContext-value" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallParticipantHoldMusic.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallParticipantHoldMusic.md index b8ad615d7b9..54ce81169c1 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallParticipantHoldMusic.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallParticipantHoldMusic.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ ClientContext = "d45324c1-fcb5-430a-902c-f20af696537c" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgCommunicationCallRecordingStatus.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgCommunicationCallRecordingStatus.md index 94cf10981f6..82908b1ead6 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgCommunicationCallRecordingStatus.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgCommunicationCallRecordingStatus.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ ClientContext = "clientContext-value" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgUserOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgUserOnlineMeeting.md index 15c0817218f..6c87cdfdd2f 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgUserOnlineMeeting.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ LobbyBypassSettings = @{ @@ -9,8 +9,8 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserOnlineMeeting -UserId $userId -OnlineMeetingId $onlineMeetingId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ StartDateTime = [System.DateTime]::Parse("2020-09-09T14:33:30.8546353-07:00") diff --git a/src/CrossDeviceExperiences/CrossDeviceExperiences/examples/v1.0/Remove-MgUserActivity.md b/src/CrossDeviceExperiences/CrossDeviceExperiences/examples/v1.0/Remove-MgUserActivity.md index 0696129bcd8..be3d901bf47 100644 --- a/src/CrossDeviceExperiences/CrossDeviceExperiences/examples/v1.0/Remove-MgUserActivity.md +++ b/src/CrossDeviceExperiences/CrossDeviceExperiences/examples/v1.0/Remove-MgUserActivity.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.CrossDeviceExperiences # A UPN can also be used as -UserId. Remove-MgUserActivity -UserId $userId -UserActivityId $userActivityId diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignment.md index 15186e9f617..89e0fd2235b 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignment.md @@ -1,25 +1,25 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignment -Filter "roleDefinitionId eq '62e90394-69f5-4237-9190-012177145e10'" -ExpandProperty "principal" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignment -Filter " principalId eq '5bde3e51-d13b-4db1-9948-fe4b109d11a7'" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId -ExpandProperty "roleDefinition" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId -ExpandProperty "roleDefinition" ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentSchedule.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentSchedule.md index cb96aff118a..f4196981d70 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentSchedule.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentSchedule.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentSchedule -UnifiedRoleAssignmentScheduleId $unifiedRoleAssignmentScheduleId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentSchedule ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentSchedule -UnifiedRoleAssignmentScheduleId $unifiedRoleAssignmentScheduleId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance.md index 9ae202b0e9c..5181487e410 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance -UnifiedRoleAssignmentScheduleInstanceId $unifiedRoleAssignmentScheduleInstanceId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance -UnifiedRoleAssignmentScheduleInstanceId $unifiedRoleAssignmentScheduleInstanceId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md index 0d0b43f6a1b..aedf47c99d9 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md @@ -1,25 +1,25 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId -Property "principalId,action,roleDefinitionId" -ExpandProperty "roleDefinition,activatedUsing,principal,targetSchedule" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -Property "principalId,action,roleDefinitionId" -ExpandProperty "roleDefinition,activatedUsing,principal,targetSchedule" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleDefinition.md index 69db8f23ee3..642b4b86de9 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleDefinition.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId -ExpandProperty "inheritsPermissionsFrom" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleDefinition ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilitySchedule.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilitySchedule.md index 8ad6dec0d73..4f3a46c62b0 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilitySchedule.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilitySchedule.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilitySchedule -UnifiedRoleEligibilityScheduleId $unifiedRoleEligibilityScheduleId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilitySchedule ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilitySchedule -UnifiedRoleEligibilityScheduleId $unifiedRoleEligibilityScheduleId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance.md index d54f1e5c231..9eda1b9415c 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance -UnifiedRoleEligibilityScheduleInstanceId $unifiedRoleEligibilityScheduleInstanceId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance -UnifiedRoleEligibilityScheduleInstanceId $unifiedRoleEligibilityScheduleInstanceId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md index 796902f542a..12c71cdbc65 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -UnifiedRoleEligibilityScheduleRequestId $unifiedRoleEligibilityScheduleRequestId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -UnifiedRoleEligibilityScheduleRequestId $unifiedRoleEligibilityScheduleRequestId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleAssignment.md index 45e5d956f3f..bffba07f5e1 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleAssignment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementEntitlementManagementRoleAssignment -Filter "appScopeId eq '/AccessPackageCatalog/4cee616b-fdf9-4890-9d10-955e0ccb12bc'" -ExpandProperty "principal" ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleDefinition.md index a536c89a47d..3d68927dc57 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleDefinition.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementEntitlementManagementRoleDefinition ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignment.md index 8b149aac0ad..46ea7a4ebbb 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ "@odata.type" = "#microsoft.graph.unifiedRoleAssignment" @@ -9,8 +9,8 @@ $params = @{ } New-MgRoleManagementDirectoryRoleAssignment -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ "@odata.type" = "#microsoft.graph.unifiedRoleAssignment" @@ -20,8 +20,8 @@ $params = @{ } New-MgRoleManagementDirectoryRoleAssignment -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ "@odata.type" = "#microsoft.graph.unifiedRoleAssignment" diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md index ef85ddd0d4f..c0eb0b06338 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ Action = "adminAssign" @@ -16,8 +16,8 @@ $params = @{ } New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ Action = "selfActivate" diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleDefinition.md index 55c4c00a7d1..d26ebdb066e 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleDefinition.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ Description = "Update basic properties of application registrations" diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md index a42a9f26c48..f121548a03d 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ Action = "adminAssign" @@ -17,8 +17,8 @@ $params = @{ } New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ Action = "adminRemove" diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementEntitlementManagementRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementEntitlementManagementRoleAssignment.md index d043b78d47e..a27867ace23 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementEntitlementManagementRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementEntitlementManagementRoleAssignment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ PrincipalId = "679a9213-c497-48a4-830a-8d3d25d94ddc" diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleAssignment.md index 1e3705656ed..81ef44fea12 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleAssignment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Remove-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleDefinition.md index 8bb55d6585e..ff1775a4e94 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleDefinition.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Remove-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md index 89812bcc343..f185537c46e 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md index 781e41d879a..8677fc3bdc4 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -UnifiedRoleEligibilityScheduleRequestId $unifiedRoleEligibilityScheduleRequestId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Update-MgRoleManagementDirectoryRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Update-MgRoleManagementDirectoryRoleDefinition.md index 0273b3e9892..066e0e1d98d 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Update-MgRoleManagementDirectoryRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Update-MgRoleManagementDirectoryRoleDefinition.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ Description = "Update basic properties of application registrations" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintConnector.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintConnector.md index 2a058ec69b4..f953d0f90f4 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintConnector.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintConnector.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintConnector -PrintConnectorId $printConnectorId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintConnector ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintOperation.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintOperation.md index 371a148adfa..0dc80dc12b5 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintOperation.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintOperation.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintOperation -PrintOperationId $printOperationId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinter.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinter.md index 712614277fb..a605578e0c3 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinter.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinter.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinter -PrinterId $printerId -Property "id,displayName,capabilities" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinter -PrinterId $printerId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinter ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterConnector.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterConnector.md index 52d8b3e0ee7..82a113c219c 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterConnector.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterConnector.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinterConnector -PrinterId $printerId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterTaskTrigger.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterTaskTrigger.md index a15f04a566a..7f749ca4aa0 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterTaskTrigger.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterTaskTrigger.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinterTaskTrigger -PrinterId $printerId -PrintTaskTriggerId $printTaskTriggerId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinterTaskTrigger -PrinterId $printerId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintService.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintService.md index d188935a0ca..38b506a7fb7 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintService.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintService.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintService -PrintServiceId $printServiceId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintService ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintServiceEndpoint.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintServiceEndpoint.md index b46fc800f1a..7e4100e2895 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintServiceEndpoint.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintServiceEndpoint.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintServiceEndpoint -PrintServiceId $printServiceId -PrintServiceEndpointId $printServiceEndpointId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintServiceEndpoint -PrintServiceId $printServiceId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShare.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShare.md index 5cd4449b0ab..de2bca621a7 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShare.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShare.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintShare -PrinterShareId $printerShareId -Property "id,displayName,capabilities" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintShare -PrinterShareId $printerShareId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintShare ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedGroup.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedGroup.md index 37ebe8644b8..5858445d3f6 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedGroup.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintShareAllowedGroup -PrinterShareId $printerShareId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedUser.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedUser.md index e275b9d0f4a..7240a9485d8 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedUser.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedUser.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintShareAllowedUser -PrinterShareId $printerShareId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinition.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinition.md index 26fe53cd54d..d1cbc8bb1f5 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinition.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinition.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintTaskDefinition -PrintTaskDefinitionId $printTaskDefinitionId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintTaskDefinition ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinitionTask.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinitionTask.md index 6ddd4b30931..a66b2c7d66a 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinitionTask.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinitionTask.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintTaskDefinitionTask -PrintTaskDefinitionId $printTaskDefinitionId -PrintTaskId $printTaskId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintTaskDefinitionTask -PrintTaskDefinitionId $printTaskDefinitionId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintPrinterTaskTrigger.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintPrinterTaskTrigger.md index 628d442debc..c6eea7e5a00 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintPrinterTaskTrigger.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintPrinterTaskTrigger.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ Event = "jobStarted" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShare.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShare.md index 66064c00098..08a58da3fb0 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShare.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShare.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ DisplayName = "ShareName" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedGroupByRef.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedGroupByRef.md index 664ad32cb93..c2f891649ab 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedGroupByRef.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedGroupByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/groups/{groupId}" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedUserByRef.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedUserByRef.md index 70a21160639..918a47e2912 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedUserByRef.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedUserByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/users/{userId}" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintTaskDefinition.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintTaskDefinition.md index 3450da2b9a9..f3a9d79597f 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintTaskDefinition.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintTaskDefinition.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ DisplayName = "Test TaskDefinitionName" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintConnector.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintConnector.md index 2dfed546364..0a0c6fd65e8 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintConnector.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintConnector.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintConnector -PrintConnectorId $printConnectorId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinter.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinter.md index bed983190ec..96f73f7dfb3 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinter.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinter.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintPrinter -PrinterId $printerId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinterTaskTrigger.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinterTaskTrigger.md index 0b61069b06b..6d64058a748 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinterTaskTrigger.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinterTaskTrigger.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintPrinterTaskTrigger -PrinterId $printerId -PrintTaskTriggerId $printTaskTriggerId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShare.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShare.md index 14fce5c491d..17ea7599727 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShare.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShare.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintShare -PrinterShareId $printerShareId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedGroupByRef.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedGroupByRef.md index cf51695faf4..fc1e97c8f99 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedGroupByRef.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedGroupByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintShareAllowedGroupByRef -PrinterShareId $printerShareId -GroupId $groupId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedUserByRef.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedUserByRef.md index b350f092d1b..b84f151cec7 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedUserByRef.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedUserByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintShareAllowedUserByRef -PrinterShareId $printerShareId -UserId $userId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintTaskDefinition.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintTaskDefinition.md index ca6d20afa8f..4e81d9bc7a0 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintTaskDefinition.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintTaskDefinition.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintTaskDefinition -PrintTaskDefinitionId $printTaskDefinitionId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Restore-MgPrintPrinterFactoryDefault.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Restore-MgPrintPrinterFactoryDefault.md index d5dcac3d49b..fa063388434 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Restore-MgPrintPrinterFactoryDefault.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Restore-MgPrintPrinterFactoryDefault.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint Restore-MgPrintPrinterFactoryDefault -PrinterId $printerId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintConnector.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintConnector.md index 7547d00bb37..681999b7419 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintConnector.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintConnector.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ DisplayName = "ConnectorName" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintPrinter.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintPrinter.md index f348cc3933f..7e5ce7234c6 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintPrinter.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintPrinter.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ Name = "PrinterName" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintShare.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintShare.md index 7095519c64d..43b26922319 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintShare.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintShare.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ DisplayName = "PrinterShare Name" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinition.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinition.md index 39fa0bdd4c2..082b91a5924 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinition.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinition.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ DisplayName = "Test TaskDefinitionName" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinitionTask.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinitionTask.md index 378ebf36936..b278e07cccd 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinitionTask.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinitionTask.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ Status = @{ diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementHealthOverview.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementHealthOverview.md index 404e429fb80..4e797d9ec23 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementHealthOverview.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementHealthOverview.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementHealthOverview -ServiceHealthId $serviceHealthId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementHealthOverview -ServiceHealthId $serviceHealthId -ExpandProperty "issues" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementHealthOverview ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementHealthOverview -ExpandProperty "issues" ``` diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementIssue.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementIssue.md index d2808aa48e7..477215708a5 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementIssue.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementIssue.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementIssue -ServiceHealthIssueId $serviceHealthIssueId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementIssue ``` diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessage.md index b02cb45fb4a..a4c78d584f9 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessage.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessage -ServiceUpdateMessageId $serviceUpdateMessageId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessage ``` diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachment.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachment.md index a81a00e76fe..719d2282bea 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachment.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachment.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachment -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachment -ServiceUpdateMessageId $serviceUpdateMessageId ``` diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentArchive.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentArchive.md index 69c9f0ac378..1880dd9e7e9 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentArchive.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentArchive.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachmentArchive -ServiceUpdateMessageId $serviceUpdateMessageId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachmentArchive -ServiceUpdateMessageId $serviceUpdateMessageId -OutFile $outFileId ``` diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentContent.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentContent.md index 77522687309..b81ae2d3eeb 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentContent.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentContent.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachmentContent -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachmentContent -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId -OutFile $outFileId ``` diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgArchiveServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgArchiveServiceAnnouncementMessage.md index ee86cb610bc..990da59543e 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgArchiveServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgArchiveServiceAnnouncementMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ MessageIds = @( diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgFavoriteServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgFavoriteServiceAnnouncementMessage.md index b72e7a92c42..33e956e36db 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgFavoriteServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgFavoriteServiceAnnouncementMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ MessageIds = @( diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageRead.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageRead.md index 1c790ad31d0..39d860c4f50 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageRead.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageRead.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ MessageIds = @( diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageUnread.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageUnread.md index 25e955fc419..5a25b36003e 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageUnread.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageUnread.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ MessageIds = @( diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgReportServiceAnnouncementIssueIncident.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgReportServiceAnnouncementIssueIncident.md index 241766e8312..81e5182eca8 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgReportServiceAnnouncementIssueIncident.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgReportServiceAnnouncementIssueIncident.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Invoke-MgReportServiceAnnouncementIssueIncident -ServiceHealthIssueId $serviceHealthIssueId ``` diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnarchiveServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnarchiveServiceAnnouncementMessage.md index 53ae92eff05..9197303b944 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnarchiveServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnarchiveServiceAnnouncementMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ MessageIds = @( diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnfavoriteServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnfavoriteServiceAnnouncementMessage.md index 605aad82292..d013108d786 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnfavoriteServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnfavoriteServiceAnnouncementMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ MessageIds = @( diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Confirm-MgDirectoryObjectMemberGroup.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Confirm-MgDirectoryObjectMemberGroup.md index 1e5490ae722..9673276ad1c 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Confirm-MgDirectoryObjectMemberGroup.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Confirm-MgDirectoryObjectMemberGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DirectoryObjects $params = @{ GroupIds = @( diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObject.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObject.md index dcf9a0745c4..5e401e9f78b 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObject.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObject.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DirectoryObjects Get-MgDirectoryObject -DirectoryObjectId $directoryObjectId ``` diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectAvailableExtensionProperty.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectAvailableExtensionProperty.md index c204dc513a9..3783333a236 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectAvailableExtensionProperty.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectAvailableExtensionProperty.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DirectoryObjects Get-MgDirectoryObjectAvailableExtensionProperty ``` diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectById.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectById.md index 94c31283d87..a1cc54bd03a 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectById.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectById.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DirectoryObjects $params = @{ Ids = @( diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberGroup.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberGroup.md index 86841818f79..f72897e46c9 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberGroup.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DirectoryObjects $params = @{ SecurityEnabledOnly = $false diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberObject.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberObject.md index 8efe89c7b65..570d24b490a 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberObject.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberObject.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DirectoryObjects $params = @{ SecurityEnabledOnly = $true diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Remove-MgDirectoryObject.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Remove-MgDirectoryObject.md index 4e4325414e4..d57c95d139b 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Remove-MgDirectoryObject.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Remove-MgDirectoryObject.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DirectoryObjects Remove-MgDirectoryObject -DirectoryObjectId $directoryObjectId ``` diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Test-MgDirectoryObjectProperty.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Test-MgDirectoryObjectProperty.md index 49f3bbd38d8..8bdb66781c2 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Test-MgDirectoryObjectProperty.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Test-MgDirectoryObjectProperty.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.DirectoryObjects $params = @{ EntityType = "Group" diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClass.md b/src/Education/Education/examples/v1.0/Get-MgEducationClass.md index 7af04209a44..6fece1201c1 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClass.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClass.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClass -EducationClassId $educationClassId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClass ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignment.md index 64211a4957f..13ca9578d61 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignment.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignment -EducationClassId $educationClassId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignment -EducationClassId $educationClassId -ExpandProperty "resources" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategory.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategory.md index b81531504ab..be9f3c69ebb 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategory.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategory.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategory -EducationClassId $educationClassId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategory -EducationClassId $educationClassId -EducationCategoryId $educationCategoryId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategoryDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategoryDelta.md index f93bd51ce10..35af7c3c96b 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategoryDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategoryDelta.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Skiptoken "U43TyYWKlRvJ6wWxZOfJvkp22nMqShRw9f-GxBtG2FDy9b1hMDaAJGdLb7n2fh1IVSFtBcXz0jxjIEihcR91dS3R7i8Z2IMtxIn9rKbK9Jvurj6jCH-lDbSNatdesrK0PJ5zpZ_-i8HyqkdtLhWD9tewXVArIqQWJA7gJz8z4paG2q0MU9rixrQOTe7WIXikPiBTUPilHuUW-o1k7cvqke3K7llJbU3G7z_O7WGoVGE.l8-2OcBi9ZWAhwhPnXvJ-kyyk8GNb6-H4o6qofP5YBY" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Deltatoken "7ORzTfzlUEGDy6BRE3OC-3ePBbvLHCRe4aJ_hjaBKJxUHmn_ODgoM4xreLS7YRaxc-iACeqCQsT5Tb0u9vn6QXYflO6j0sRgRQlhcfR7DApZYl6uZqiXcR7H0G14btPqR761sKWNc0jgiczrHGF6dGfSQwsLzPT46og-84ArhOU.Jnxvkr08FE-QBvEYstYel3JZUrgwgTauo-GmpbdWeSA" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Deltatoken "7ORzTfzlUEGDy6BRE3OC-3ePBbvLHCRe4aJ_hjaBKJxUHmn_ODgoM4xreLS7YRaxc-iACeqCQsT5Tb0u9vn6QXYflO6j0sRgRQlhcfR7DApZYl6uZqiXcR7H0G14btPqR761sKWNc0jgiczrHGF6dGfSQwsLzPT46og-84ArhOU.Jnxvkr08FE-QBvEYstYel3JZUrgwgTauo-GmpbdWeSA" -OutFile $outFileId ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Top 3 ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDefault.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDefault.md index cc63e5955f7..bdeb03595ed 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDefault.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDefault.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentDefault -EducationClassId $educationClassId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDelta.md index 6f1a395b8bd..f349cd0f3a9 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDelta.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentDelta -EducationClassId $educationClassId -Deltatoken "7ORzTfzlUEGDy6BRE3OC-3ePBbvLHCRe4aJ_hjaBKJxUHmn_ODgoM4xreLS7YRaxROmLjac48n-iXm5j6n5aQwlsnC-2OvL3lI0Z8M4klERNmJQjnBn7MHqwXZ6L8GlI3VPnya3E-p1bisiZX97jLvQUAopseIYhvnD6v7fiYrk.fVsHempT6X2CiBh6aN9Ex5nVJ71adKdcf-mdke8OHKs" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentDelta -EducationClassId $educationClassId -Skiptoken "U43TyYWKlRvJ6wWxZOfJvkp22nMqShRw9f-GxBtG2FDy9b1hMDaAJGdLb7n2fh1IdHoweKQs1czM4Ry1LVsNqwIFXftTcRHvgSCbcszvbJHEWDCO3QO7K7zwCM8DdXNepZOa1gqldecjIUM0NFRbGQoQ5yR6RmGnMgtko8TDMOyMH_yg1my82PTXA_t4Nj-DhMDZWvuNTd_lbLeTngc7mIJPMCR2gHN9CSKsW_kw850.UM9tUqwOu5Ln1pnxaP6KdMmfJHszGqY3EKPlQkOiyGs" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentDelta -EducationClassId $educationClassId -Top 2 ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentResource.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentResource.md index bc48f59f18a..2230546aab2 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentResource.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentResource.md @@ -1,35 +1,35 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` -###Example 6 -``` +### Example 6 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` -###Example 7 -``` +### Example 7 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentRubric.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentRubric.md index e7dd0bb7701..084839ee5bc 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentRubric.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentRubric.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentRubric -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSetting.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSetting.md index 1b53f6bd99b..7aaf0d0132f 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSetting.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSetting.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSetting -EducationClassId $educationClassId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmission.md index 1c0841e65f6..80d4845d6db 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmission.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -ExpandProperty "*" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -ExpandProperty "outcomes" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionOutcome.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionOutcome.md index 267afe7d0a5..116b6e16c6c 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionOutcome.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionOutcome.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionOutcome -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionResource.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionResource.md index bfa1f24d584..263c1f56070 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionResource.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionResource.md @@ -1,35 +1,35 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` -###Example 6 -``` +### Example 6 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` -###Example 7 -``` +### Example 7 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionSubmittedResource.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionSubmittedResource.md index 3be7b3ad7dc..50aaa7e795f 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionSubmittedResource.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionSubmittedResource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionSubmittedResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassDelta.md index f9dbdc6b26d..e93e0aa99e2 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassDelta.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassDelta ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassMember.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassMember.md index ec8a6cb6784..6e948f1e75d 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassMember.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassMember -EducationClassId $educationClassId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassSchool.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassSchool.md index db709d1536b..2a0fc45ac4c 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassSchool.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassSchool.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassSchool -EducationClassId $educationClassId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassTeacher.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassTeacher.md index 8f914eef1b5..3d39f3b2624 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassTeacher.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassTeacher.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassTeacher -EducationClassId $educationClassId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationMeAssignment.md b/src/Education/Education/examples/v1.0/Get-MgEducationMeAssignment.md index 8b135b6c463..a6287623384 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationMeAssignment.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationMeAssignment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationMeAssignment ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationMeClass.md b/src/Education/Education/examples/v1.0/Get-MgEducationMeClass.md index ec3fd694dd9..6b8e6d4ebb3 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationMeClass.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationMeClass.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationMeClass ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationMeRubric.md b/src/Education/Education/examples/v1.0/Get-MgEducationMeRubric.md index fe11d4f9b94..c059c13a1f8 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationMeRubric.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationMeRubric.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationMeRubric -EducationRubricId $educationRubricId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationMeRubric ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationMeSchool.md b/src/Education/Education/examples/v1.0/Get-MgEducationMeSchool.md index b134c653003..cf02332d30e 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationMeSchool.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationMeSchool.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationMeSchool ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationSchool.md b/src/Education/Education/examples/v1.0/Get-MgEducationSchool.md index 630a6bfe850..59a64f1b16b 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationSchool.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationSchool.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationSchool -EducationSchoolId $educationSchoolId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationSchool ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolClass.md b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolClass.md index b638053c92b..e36c67bd3fe 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolClass.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolClass.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationSchoolClass -EducationSchoolId $educationSchoolId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolDelta.md index ae748a5b1ac..3325f8a805e 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolDelta.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationSchoolDelta ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolUser.md b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolUser.md index d60a920e7c4..9c1e2d47b62 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolUser.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolUser.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationSchoolUser -EducationSchoolId $educationSchoolId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationUser.md b/src/Education/Education/examples/v1.0/Get-MgEducationUser.md index b4f1cb286c7..67d44a65112 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationUser.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationUser.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationUser -EducationUserId $educationUserId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationUser ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationUserAssignment.md b/src/Education/Education/examples/v1.0/Get-MgEducationUserAssignment.md index e60d9f97bb7..0a23d642707 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationUserAssignment.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationUserAssignment.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationUserAssignment -EducationUserId $educationUserId -ExpandProperty "submissions" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationUserAssignment -EducationUserId $educationUserId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationUserDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationUserDelta.md index 7882c512fae..a04cdde49b3 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationUserDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationUserDelta.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationUserDelta ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationUserTaughtClass.md b/src/Education/Education/examples/v1.0/Get-MgEducationUserTaughtClass.md index 4445eb2f79e..dab8b063e12 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationUserTaughtClass.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationUserTaughtClass.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationUserTaughtClass -EducationUserId $educationUserId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education Get-MgEducationUserTaughtClass -EducationUserId $educationUserId -OutFile $outFileId ``` diff --git a/src/Education/Education/examples/v1.0/Invoke-MgReassignEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Invoke-MgReassignEducationClassAssignmentSubmission.md index aed32b709bc..ab741131192 100644 --- a/src/Education/Education/examples/v1.0/Invoke-MgReassignEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Invoke-MgReassignEducationClassAssignmentSubmission.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Invoke-MgReassignEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education Invoke-MgReassignEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` diff --git a/src/Education/Education/examples/v1.0/Invoke-MgReturnEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Invoke-MgReturnEducationClassAssignmentSubmission.md index 51b992b6910..e9572ac98bb 100644 --- a/src/Education/Education/examples/v1.0/Invoke-MgReturnEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Invoke-MgReturnEducationClassAssignmentSubmission.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Invoke-MgReturnEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` diff --git a/src/Education/Education/examples/v1.0/Invoke-MgUnsubmitEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Invoke-MgUnsubmitEducationClassAssignmentSubmission.md index 568ea1c886d..ceb6caf4720 100644 --- a/src/Education/Education/examples/v1.0/Invoke-MgUnsubmitEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Invoke-MgUnsubmitEducationClassAssignmentSubmission.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Invoke-MgUnsubmitEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClass.md b/src/Education/Education/examples/v1.0/New-MgEducationClass.md index d46ccb538dc..ea80165b68d 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClass.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClass.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.type" = "#microsoft.graph.educationClass" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignment.md index 6c51c8be273..076decd0108 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ DueDateTime = [System.DateTime]::Parse("2021-09-07T00:00:00Z") diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategory.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategory.md index dd67f439257..e9437a6114f 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategory.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategory.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ DisplayName = "Quizzes" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategoryByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategoryByRef.md index f126dc32273..d58ae7287ac 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategoryByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategoryByRef.md @@ -1,13 +1,13 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignmentCategories/ec98f158-341d-4fea-9f8c-14a250d489ac" } New-MgEducationClassAssignmentCategoryByRef -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignmentCategories/ec98f158-341d-4fea-9f8c-14a250d489ac" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentResource.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentResource.md index 752fd34ad6a..9b3b75992da 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentResource.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentResource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ DistributeForStudentWork = $false @@ -11,8 +11,8 @@ $params = @{ } New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ DistributeForStudentWork = $false @@ -23,8 +23,8 @@ $params = @{ } New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ DistributeForStudentWork = $false @@ -37,8 +37,8 @@ $params = @{ } New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ DistributeForStudentWork = $false @@ -50,8 +50,8 @@ $params = @{ } New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ DistributeForStudentWork = $false @@ -63,8 +63,8 @@ $params = @{ } New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` -###Example 6 -``` +### Example 6 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ DistributeForStudentWork = $false diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentSubmissionResource.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentSubmissionResource.md index 233f6349b61..f7cfa188a20 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentSubmissionResource.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentSubmissionResource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ Resource = @{ @@ -10,8 +10,8 @@ $params = @{ } New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ Resource = @{ @@ -22,8 +22,8 @@ $params = @{ } New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ Resource = @{ @@ -34,8 +34,8 @@ $params = @{ } New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ Resource = @{ @@ -46,8 +46,8 @@ $params = @{ } New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ Resource = @{ @@ -58,8 +58,8 @@ $params = @{ } New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params ``` -###Example 6 -``` +### Example 6 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ Resource = @{ diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassMemberByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationClassMemberByRef.md index 16f084157ca..af40aabd56b 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassMemberByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassMemberByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/education/users/13015" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassTeacherByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationClassTeacherByRef.md index 96745bf2b1a..a2277793d69 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassTeacherByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassTeacherByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/education/users/14011" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationMeRubric.md b/src/Education/Education/examples/v1.0/New-MgEducationMeRubric.md index 4f1da5b2e1e..990bbfeb56e 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationMeRubric.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationMeRubric.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ DisplayName = "Example Credit Rubric" @@ -68,8 +68,8 @@ $params = @{ } New-MgEducationMeRubric -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ DisplayName = "Example Points Rubric" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationSchool.md b/src/Education/Education/examples/v1.0/New-MgEducationSchool.md index 527a81056c4..f42b6d8d376 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationSchool.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationSchool.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.type" = "#microsoft.graph.educationSchool" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationSchoolClassByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationSchoolClassByRef.md index 8e4cbd5815f..7730998f02e 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationSchoolClassByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationSchoolClassByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/education/classes/11006" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationSchoolUserByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationSchoolUserByRef.md index c1387106586..cbff41d3f34 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationSchoolUserByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationSchoolUserByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/education/users/14008" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationUser.md b/src/Education/Education/examples/v1.0/New-MgEducationUser.md index b9e5d701ec6..c8ec57c7e0e 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationUser.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationUser.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.type" = "#microsoft.graph.educationUser" diff --git a/src/Education/Education/examples/v1.0/Publish-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/Publish-MgEducationClassAssignment.md index 5608c5b4727..088efea9cfa 100644 --- a/src/Education/Education/examples/v1.0/Publish-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/Publish-MgEducationClassAssignment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Publish-MgEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClass.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClass.md index a394df2d598..1f716e1152d 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClass.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClass.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClass -EducationClassId $educationClassId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignment.md index 541af643858..3201b2912ad 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategory.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategory.md index e96614a85b7..06a400b1a4d 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategory.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategory.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignmentCategory -EducationClassId $educationClassId -EducationCategoryId $educationCategoryId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategoryByRef.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategoryByRef.md index ca77157721f..23ef8ed83d8 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategoryByRef.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategoryByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignmentCategoryByRef -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationCategoryId $educationCategoryId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentResource.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentResource.md index a20d42d0520..104d51149b2 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentResource.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentResource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentRubricByRef.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentRubricByRef.md index 1c0a68851d9..c354470239c 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentRubricByRef.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentRubricByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignmentRubricByRef -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentSubmissionResource.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentSubmissionResource.md index 36d01782e56..6850770cd95 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentSubmissionResource.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentSubmissionResource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationMeRubric.md b/src/Education/Education/examples/v1.0/Remove-MgEducationMeRubric.md index 0c8be93183e..6ec78cf1837 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationMeRubric.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationMeRubric.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Remove-MgEducationMeRubric -EducationRubricId $educationRubricId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationSchool.md b/src/Education/Education/examples/v1.0/Remove-MgEducationSchool.md index 3b1c41bff92..874f846eda4 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationSchool.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationSchool.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Remove-MgEducationSchool -EducationSchoolId $educationSchoolId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationUser.md b/src/Education/Education/examples/v1.0/Remove-MgEducationUser.md index 1019b246d10..b9fa418cdaf 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationUser.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationUser.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Remove-MgEducationUser -EducationUserId $educationUserId ``` diff --git a/src/Education/Education/examples/v1.0/Set-MgEducationClassAssignmentRubricByRef.md b/src/Education/Education/examples/v1.0/Set-MgEducationClassAssignmentRubricByRef.md index dae2116dabd..a1532732bc0 100644 --- a/src/Education/Education/examples/v1.0/Set-MgEducationClassAssignmentRubricByRef.md +++ b/src/Education/Education/examples/v1.0/Set-MgEducationClassAssignmentRubricByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/education/me/rubrics/ceb3863e-6912-4ea9-ac41-3c2bb7b6672d" diff --git a/src/Education/Education/examples/v1.0/Submit-MgEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Submit-MgEducationClassAssignmentSubmission.md index a4c5c1baa94..78779d45f2d 100644 --- a/src/Education/Education/examples/v1.0/Submit-MgEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Submit-MgEducationClassAssignmentSubmission.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education Submit-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClass.md b/src/Education/Education/examples/v1.0/Update-MgEducationClass.md index ef8e208021e..7943cf64b55 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClass.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClass.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ Description = "History - World History 1" diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignment.md index 0bccad3e4d8..3d1ce832ce9 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ DisplayName = "Reading and review test 09.03 #5" diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentDefault.md b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentDefault.md index 0e6e0bf4c0a..86e07efc7e6 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentDefault.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentDefault.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ AddedStudentAction = "assignIfOpen" diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSetting.md b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSetting.md index 83521834a40..ca32733fec1 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSetting.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSetting.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ SubmissionAnimationDisabled = $true diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSubmissionOutcome.md b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSubmissionOutcome.md index 8428822867f..864d7723abb 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSubmissionOutcome.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSubmissionOutcome.md @@ -1,13 +1,13 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.type" = "#microsoft.graph.educationFeedbackOutcome" } Update-MgEducationClassAssignmentSubmissionOutcome -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationOutcomeId $educationOutcomeId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.type" = "#microsoft.graph.educationRubricOutcome" @@ -18,8 +18,8 @@ $params = @{ } Update-MgEducationClassAssignmentSubmissionOutcome -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationOutcomeId $educationOutcomeId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.type" = "#microsoft.graph.educationPointsOutcome" diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationMeRubric.md b/src/Education/Education/examples/v1.0/Update-MgEducationMeRubric.md index 60b1a7342fd..42e487c3175 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationMeRubric.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationMeRubric.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ DisplayName = "Example Credit Rubric after display name patch" diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationSchool.md b/src/Education/Education/examples/v1.0/Update-MgEducationSchool.md index 880e9a84990..a064593449a 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationSchool.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationSchool.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ DisplayName = "Fabrikam Arts High School" diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationUser.md b/src/Education/Education/examples/v1.0/Update-MgEducationUser.md index 232b65a7856..87234708806 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationUser.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationUser.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Education $params = @{ DisplayName = "Rogelio Cazares" diff --git a/src/Files/Files/examples/v1.0/Get-MgDrive.md b/src/Files/Files/examples/v1.0/Get-MgDrive.md index fab4aef6cab..6870a9d9b41 100644 --- a/src/Files/Files/examples/v1.0/Get-MgDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgDrive.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Files Get-MgDrive -DriveId $driveId ``` diff --git a/src/Files/Files/examples/v1.0/Get-MgDriveItemChild.md b/src/Files/Files/examples/v1.0/Get-MgDriveItemChild.md index be270ac3c54..ccbfe43f9e0 100644 --- a/src/Files/Files/examples/v1.0/Get-MgDriveItemChild.md +++ b/src/Files/Files/examples/v1.0/Get-MgDriveItemChild.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Files Get-MgDriveItemChild -DriveId $driveId -DriveItemId $driveItemId ``` diff --git a/src/Files/Files/examples/v1.0/Get-MgGroupDefaultDrive.md b/src/Files/Files/examples/v1.0/Get-MgGroupDefaultDrive.md index 3e9c9f8f1df..81e08c6f5c5 100644 --- a/src/Files/Files/examples/v1.0/Get-MgGroupDefaultDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgGroupDefaultDrive.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Files Get-MgGroupDefaultDrive -GroupId $groupId ``` diff --git a/src/Files/Files/examples/v1.0/Get-MgGroupDrive.md b/src/Files/Files/examples/v1.0/Get-MgGroupDrive.md index b7d1650fca3..b3fbf105883 100644 --- a/src/Files/Files/examples/v1.0/Get-MgGroupDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgGroupDrive.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Files Get-MgGroupDrive -GroupId $groupId ``` diff --git a/src/Files/Files/examples/v1.0/Get-MgShareDriveItem.md b/src/Files/Files/examples/v1.0/Get-MgShareDriveItem.md index 9dece84510a..de5c64b264c 100644 --- a/src/Files/Files/examples/v1.0/Get-MgShareDriveItem.md +++ b/src/Files/Files/examples/v1.0/Get-MgShareDriveItem.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Files Get-MgShareDriveItem -SharedDriveItemId $sharedDriveItemId -ExpandProperty "children" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Files Get-MgShareDriveItem -SharedDriveItemId $sharedDriveItemId ``` diff --git a/src/Files/Files/examples/v1.0/Get-MgShareSharedDriveItemSharedDriveItem.md b/src/Files/Files/examples/v1.0/Get-MgShareSharedDriveItemSharedDriveItem.md index e9fbb0965a5..fb7bf79a199 100644 --- a/src/Files/Files/examples/v1.0/Get-MgShareSharedDriveItemSharedDriveItem.md +++ b/src/Files/Files/examples/v1.0/Get-MgShareSharedDriveItemSharedDriveItem.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Files Get-MgShareSharedDriveItemSharedDriveItem -SharedDriveItemId $sharedDriveItemId ``` diff --git a/src/Files/Files/examples/v1.0/Get-MgUserDefaultDrive.md b/src/Files/Files/examples/v1.0/Get-MgUserDefaultDrive.md index 498ad5fb2fe..5a967968cec 100644 --- a/src/Files/Files/examples/v1.0/Get-MgUserDefaultDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgUserDefaultDrive.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Files Get-MgUserDefaultDrive -UserId $userId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Files # A UPN can also be used as -UserId. Get-MgUserDefaultDrive -UserId $userId diff --git a/src/Files/Files/examples/v1.0/Get-MgUserDrive.md b/src/Files/Files/examples/v1.0/Get-MgUserDrive.md index bb564bfecb9..769790a593a 100644 --- a/src/Files/Files/examples/v1.0/Get-MgUserDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgUserDrive.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Files # A UPN can also be used as -UserId. Get-MgUserDrive -UserId $userId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Files Get-MgUserDrive -UserId $userId ``` diff --git a/src/Files/Files/examples/v1.0/Grant-MgSharePermission.md b/src/Files/Files/examples/v1.0/Grant-MgSharePermission.md index 658087df1d4..1934b9df4cd 100644 --- a/src/Files/Files/examples/v1.0/Grant-MgSharePermission.md +++ b/src/Files/Files/examples/v1.0/Grant-MgSharePermission.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Files $params = @{ Recipients = @( diff --git a/src/Files/Files/examples/v1.0/Invoke-MgCheckinDriveItem.md b/src/Files/Files/examples/v1.0/Invoke-MgCheckinDriveItem.md index 85606061111..2f9632e1fdb 100644 --- a/src/Files/Files/examples/v1.0/Invoke-MgCheckinDriveItem.md +++ b/src/Files/Files/examples/v1.0/Invoke-MgCheckinDriveItem.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Files $params = @{ Comment = "Updating the latest guidelines" diff --git a/src/Files/Files/examples/v1.0/Invoke-MgCheckoutDriveItem.md b/src/Files/Files/examples/v1.0/Invoke-MgCheckoutDriveItem.md index 0dc67e4adae..e567156d49b 100644 --- a/src/Files/Files/examples/v1.0/Invoke-MgCheckoutDriveItem.md +++ b/src/Files/Files/examples/v1.0/Invoke-MgCheckoutDriveItem.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Files Invoke-MgCheckoutDriveItem -DriveId $driveId -DriveItemId $driveItemId ``` diff --git a/src/Files/Files/examples/v1.0/Restore-MgDriveItemVersion.md b/src/Files/Files/examples/v1.0/Restore-MgDriveItemVersion.md index d029216194e..6f7f6cd0e47 100644 --- a/src/Files/Files/examples/v1.0/Restore-MgDriveItemVersion.md +++ b/src/Files/Files/examples/v1.0/Restore-MgDriveItemVersion.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Files Restore-MgDriveItemVersion -DriveId $driveId -DriveItemId $driveItemId -DriveItemVersionId $driveItemVersionId ``` diff --git a/src/Groups/Groups/examples/v1.0/Add-MgGroupFavorite.md b/src/Groups/Groups/examples/v1.0/Add-MgGroupFavorite.md index 34527356592..e12d6ccd193 100644 --- a/src/Groups/Groups/examples/v1.0/Add-MgGroupFavorite.md +++ b/src/Groups/Groups/examples/v1.0/Add-MgGroupFavorite.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Add-MgGroupFavorite -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupAcceptedSender.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupAcceptedSender.md index 7644fd65823..3699c804d50 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupAcceptedSender.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupAcceptedSender.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupAcceptedSender -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupConversation.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupConversation.md index 6e67784d7c9..4eba22bc88d 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupConversation.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupConversation.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupConversation -GroupId $groupId -ConversationId $conversationId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupConversation -GroupId $groupId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupConversation -GroupId $groupId -ConversationId $conversationId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupConversationThread.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupConversationThread.md index 9aee00cc81c..abcc46f439f 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupConversationThread.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupConversationThread.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupConversationThread -GroupId $groupId -ConversationId $conversationId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupDelta.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupDelta.md index d812b8ecced..9c8ce98afaa 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupDelta.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupDelta.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupDelta ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicy.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicy.md index e7c7119b5a8..d8369504bfd 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicy.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicy.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupLifecyclePolicy -GroupLifecyclePolicyId $groupLifecyclePolicyId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupLifecyclePolicy ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicyByGroup.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicyByGroup.md index d82b10d4a09..72e24439c37 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicyByGroup.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicyByGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupLifecyclePolicyByGroup -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupMemberOf.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupMemberOf.md index 93dd64f3737..fcb1266ddb6 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupMemberOf.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupMemberOf.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupMemberOf -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupPermissionGrant.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupPermissionGrant.md index 2583ff8356f..ed3e24bb0e7 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupPermissionGrant.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupPermissionGrant.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupPermissionGrant -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupPhoto.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupPhoto.md index 213ebf358ff..3445c0fe94c 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupPhoto.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupPhoto.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupPhoto -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupRejectedSender.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupRejectedSender.md index 24c1c1e0f40..c6dce036c0e 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupRejectedSender.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupRejectedSender.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupRejectedSender -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupThread.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupThread.md index e94dc275224..749535c9985 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupThread.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThread -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPost.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPost.md index cd071dbc071..ee952b47501 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPost.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPost.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThreadPost -GroupId $groupId -ConversationThreadId $conversationThreadId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostAttachment.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostAttachment.md index 452a7b9cc6c..1b329ad1ece 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostAttachment.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostAttachment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThreadPostAttachment -GroupId $groupId -ConversationThreadId $conversationThreadId -PostId $postId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostExtension.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostExtension.md index 985a15bdb9c..f10f25a3cbc 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostExtension.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostExtension.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThreadPostExtension -GroupId $groupId -ConversationThreadId $conversationThreadId -PostId $postId -ExtensionId $extensionId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMember.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMember.md index 3999affc1ce..4e36ba2e4f3 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMember.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupTransitiveMember -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMemberOf.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMemberOf.md index 4654953a4b5..803a1de3e00 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMemberOf.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMemberOf.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Get-MgGroupTransitiveMemberOf -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgForwardGroupThreadPost.md b/src/Groups/Groups/examples/v1.0/Invoke-MgForwardGroupThreadPost.md index c457653018c..8b806ce8ad0 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgForwardGroupThreadPost.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgForwardGroupThreadPost.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ Comment = "comment-value" diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgGraphGroup.md b/src/Groups/Groups/examples/v1.0/Invoke-MgGraphGroup.md index 18ddd979530..ecb8c11437d 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgGraphGroup.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgGraphGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Invoke-MgGraphGroup -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgRenewGroup.md b/src/Groups/Groups/examples/v1.0/Invoke-MgRenewGroup.md index dcd124925b9..09d7c9044af 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgRenewGroup.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgRenewGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Invoke-MgRenewGroup -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThread.md b/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThread.md index 0513ce5b321..dc83003b135 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThread.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ Post = @{ @@ -11,8 +11,8 @@ $params = @{ } Invoke-MgReplyGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ Post = @{ @@ -31,8 +31,8 @@ $params = @{ } Invoke-MgReplyGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ Post = @{ @@ -54,8 +54,8 @@ $params = @{ } Invoke-MgReplyGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ Post = @{ diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThreadPost.md b/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThreadPost.md index d96389b7728..9598e6f1a51 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThreadPost.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThreadPost.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ Post = @{ diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgSubscribeGroupByMail.md b/src/Groups/Groups/examples/v1.0/Invoke-MgSubscribeGroupByMail.md index 2e460c73281..311524dcd25 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgSubscribeGroupByMail.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgSubscribeGroupByMail.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Invoke-MgSubscribeGroupByMail -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupAcceptedSenderByRef.md b/src/Groups/Groups/examples/v1.0/New-MgGroupAcceptedSenderByRef.md index 1896d7c37b4..47be20ac9bc 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupAcceptedSenderByRef.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupAcceptedSenderByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/users/alexd@contoso.com" diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupConversation.md b/src/Groups/Groups/examples/v1.0/New-MgGroupConversation.md index 8057629ac64..a8461f4e755 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupConversation.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupConversation.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ Topic = "Take your wellness days and rest" diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupConversationThread.md b/src/Groups/Groups/examples/v1.0/New-MgGroupConversationThread.md index af7bd80bed2..5a099de6958 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupConversationThread.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupConversationThread.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ Topic = "Take your wellness days and rest" diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupLifecyclePolicy.md b/src/Groups/Groups/examples/v1.0/New-MgGroupLifecyclePolicy.md index 1c5a0fe630a..672b7773f93 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupLifecyclePolicy.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupLifecyclePolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ GroupLifetimeInDays = 100 diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupMemberByRef.md b/src/Groups/Groups/examples/v1.0/New-MgGroupMemberByRef.md index efc0141f3ff..7e3e2e7c5c6 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupMemberByRef.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupMemberByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/directoryObjects/{id}" diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupRejectedSenderByRef.md b/src/Groups/Groups/examples/v1.0/New-MgGroupRejectedSenderByRef.md index c5af7343d75..3a41dc6df61 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupRejectedSenderByRef.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupRejectedSenderByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/users/alexd@contoso.com" diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupThread.md b/src/Groups/Groups/examples/v1.0/New-MgGroupThread.md index b1355915b01..f9ea04d55d9 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupThread.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ Topic = "New Conversation Thread Topic" diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupConversation.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupConversation.md index abc66c2632c..66fbffecce4 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupConversation.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupConversation.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupConversation -GroupId $groupId -ConversationId $conversationId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupConversation -GroupId $groupId -ConversationId $conversationId ``` diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupFavorite.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupFavorite.md index 07f74040a53..0dec0a542f5 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupFavorite.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupFavorite.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupFavorite -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupLifecyclePolicy.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupLifecyclePolicy.md index b450c415ef8..c03a94a7d5d 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupLifecyclePolicy.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupLifecyclePolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupLifecyclePolicy -GroupLifecyclePolicyId $groupLifecyclePolicyId ``` diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupMemberByRef.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupMemberByRef.md index 97fe79427ff..b4929c5045c 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupMemberByRef.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupMemberByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupMemberByRef -GroupId $groupId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupOwnerByRef.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupOwnerByRef.md index 0913c4c21a6..e219bc7bf38 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupOwnerByRef.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupOwnerByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupOwnerByRef -GroupId $groupId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupThread.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupThread.md index 8aef64283b4..10b2c8ba2e7 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupThread.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId ``` diff --git a/src/Groups/Groups/examples/v1.0/Reset-MgGroupUnseenCount.md b/src/Groups/Groups/examples/v1.0/Reset-MgGroupUnseenCount.md index 0ad2d1f4817..5c0a624455c 100644 --- a/src/Groups/Groups/examples/v1.0/Reset-MgGroupUnseenCount.md +++ b/src/Groups/Groups/examples/v1.0/Reset-MgGroupUnseenCount.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups Reset-MgGroupUnseenCount -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Set-MgGroupLicense.md b/src/Groups/Groups/examples/v1.0/Set-MgGroupLicense.md index 617f34fb048..9ee2ffd183e 100644 --- a/src/Groups/Groups/examples/v1.0/Set-MgGroupLicense.md +++ b/src/Groups/Groups/examples/v1.0/Set-MgGroupLicense.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ AddLicenses = @( @@ -22,8 +22,8 @@ $params = @{ } Set-MgGroupLicense -GroupId $groupId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ AddLicenses = @( diff --git a/src/Groups/Groups/examples/v1.0/Test-MgGroupProperty.md b/src/Groups/Groups/examples/v1.0/Test-MgGroupProperty.md index 85f23366fa5..a2739b7bbdb 100644 --- a/src/Groups/Groups/examples/v1.0/Test-MgGroupProperty.md +++ b/src/Groups/Groups/examples/v1.0/Test-MgGroupProperty.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ DisplayName = "Myprefix_test_mysuffix" diff --git a/src/Groups/Groups/examples/v1.0/Update-MgGroupLifecyclePolicy.md b/src/Groups/Groups/examples/v1.0/Update-MgGroupLifecyclePolicy.md index 569d2b8d2ad..fbf29e22aa8 100644 --- a/src/Groups/Groups/examples/v1.0/Update-MgGroupLifecyclePolicy.md +++ b/src/Groups/Groups/examples/v1.0/Update-MgGroupLifecyclePolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ GroupLifetimeInDays = 180 diff --git a/src/Groups/Groups/examples/v1.0/Update-MgGroupThread.md b/src/Groups/Groups/examples/v1.0/Update-MgGroupThread.md index f10d30c1ceb..e2a392d3be7 100644 --- a/src/Groups/Groups/examples/v1.0/Update-MgGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/Update-MgGroupThread.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ OriginalStartTimeZone = "originalStartTimeZone-value" diff --git a/src/Groups/Groups/examples/v1.0/Update-MgGroupThreadPostExtension.md b/src/Groups/Groups/examples/v1.0/Update-MgGroupThreadPostExtension.md index 82de3695b66..2c481c6b70a 100644 --- a/src/Groups/Groups/examples/v1.0/Update-MgGroupThreadPostExtension.md +++ b/src/Groups/Groups/examples/v1.0/Update-MgGroupThreadPostExtension.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Groups $params = @{ "@odata.type" = "Microsoft.OutlookServices.OpenTypeExtension" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Confirm-MgDomain.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Confirm-MgDomain.md index 1ee7d030d42..333e2912118 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Confirm-MgDomain.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Confirm-MgDomain.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Confirm-MgDomain -DomainId $domainId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDelta.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDelta.md index 1c8540f1a83..b0959c6b286 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDelta.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDelta.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContactDelta ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDirectReport.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDirectReport.md index db6e6eb6974..8dbb53ee975 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDirectReport.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDirectReport.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContactDirectReport -OrgContactId $orgContactId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactManager.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactManager.md index 09e50fd660d..8b77227bb4e 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactManager.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactManager.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContactManager -OrgContactId $orgContactId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactMemberOf.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactMemberOf.md index 9eab4f752b1..5b3de72fbf6 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactMemberOf.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactMemberOf.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContactMemberOf -OrgContactId $orgContactId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactTransitiveMemberOf.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactTransitiveMemberOf.md index f44af50f390..956f668130c 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactTransitiveMemberOf.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactTransitiveMemberOf.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContactTransitiveMemberOf -OrgContactId $orgContactId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContract.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContract.md index 4b0afd387b3..4d035db3146 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContract.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContract.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContract -ContractId $contractId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContract ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDevice.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDevice.md index 4dad12cbcf6..9ea061c28aa 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDevice.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDevice.md @@ -1,35 +1,35 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -Search "displayName:Android" -CountVariable CountVar -ConsistencyLevel eventual ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -DeviceId $deviceId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -DeviceId $deviceId -Property "id,extensionAttributes" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -Filter "extensionAttributes/extensionAttribute1 eq 'BYOD-Device'" -CountVariable CountVar -ConsistencyLevel eventual ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice ``` -###Example 6 -``` +### Example 6 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -Property "id,extensionAttributes" ``` -###Example 7 -``` +### Example 7 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -Filter "startswith(displayName, 'a')" -CountVariable CountVar -Top 1 -Sort "displayName" -ConsistencyLevel eventual ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceMemberOf.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceMemberOf.md index c78a81e4583..e7e77938dc6 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceMemberOf.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceMemberOf.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDeviceMemberOf -DeviceId $deviceId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredOwner.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredOwner.md index c53147386bf..7b7e3ab4e94 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredOwner.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredOwner.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDeviceRegisteredOwner -DeviceId $deviceId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredUser.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredUser.md index 5d35fa550c0..0c13aa48955 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredUser.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredUser.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDeviceRegisteredUser -DeviceId $deviceId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceTransitiveMemberOf.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceTransitiveMemberOf.md index f766521fc61..d302cdb445d 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceTransitiveMemberOf.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceTransitiveMemberOf.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDeviceTransitiveMemberOf -DeviceId $deviceId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnit.md index 6f346c1326d..be02bdc0d69 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnit.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnit -AdministrativeUnitId $administrativeUnitId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnit ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMember.md index 5dba57583dd..5201718f2b3 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnitMember -AdministrativeUnitId $administrativeUnitId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMemberByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMemberByRef.md index fdbeab6351d..b8ff1f6e9ef 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMemberByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMemberByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnitMemberByRef -AdministrativeUnitId $administrativeUnitId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitScopedRoleMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitScopedRoleMember.md index 55c08516566..749987644b4 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitScopedRoleMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitScopedRoleMember.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnitScopedRoleMember -AdministrativeUnitId $administrativeUnitId -ScopedRoleMembershipId $scopedRoleMembershipId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnitScopedRoleMember -AdministrativeUnitId $administrativeUnitId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryFederationConfiguration.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryFederationConfiguration.md index e80ffb5a66e..14a4c00deeb 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryFederationConfiguration.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryFederationConfiguration.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryFederationConfiguration -IdentityProviderBaseId $identityProviderBaseId -Filter "domains/any(x: x/id eq 'contoso.com')" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryFederationConfiguration -IdentityProviderBaseId $identityProviderBaseId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleDelta.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleDelta.md index ce43e0f9ae4..2d1902ba9b2 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleDelta.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleDelta.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryRoleDelta ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleScopedMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleScopedMember.md index 056b76dcd36..e2bd8c52d4d 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleScopedMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleScopedMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryRoleScopedMember -DirectoryRoleId $directoryRoleId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleTemplate.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleTemplate.md index afc76cfb24a..b5cd1a94ef5 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleTemplate.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleTemplate.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryRoleTemplate -DirectoryRoleTemplateId $directoryRoleTemplateId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryRoleTemplate ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainNameReference.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainNameReference.md index d1be1ec8ed5..af1dbea3ff6 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainNameReference.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainNameReference.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDomainNameReference -DomainId $domainId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainServiceConfigurationRecord.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainServiceConfigurationRecord.md index 252a57b52cd..ac65b819f86 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainServiceConfigurationRecord.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainServiceConfigurationRecord.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDomainServiceConfigurationRecord -DomainId $domainId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainVerificationDnsRecord.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainVerificationDnsRecord.md index db17d92164a..b809ae36ac5 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainVerificationDnsRecord.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainVerificationDnsRecord.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDomainVerificationDnsRecord -DomainId $domainId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganization.md index 888da5ceaa6..80768881c5d 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganization.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganization -OrganizationId $organizationId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganization ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBranding.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBranding.md index f7f4bb2c131..c90e2436d0b 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBranding.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBranding.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBranding -OrganizationId $organizationId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBranding -OrganizationId $organizationId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBranding -OrganizationId $organizationId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalization.md index ee2bc998015..7a5a12789af 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalization.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBrandingLocalization -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBrandingLocalization -OrganizationId $organizationId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalizationBannerLogo.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalizationBannerLogo.md index 78dedf8b4ed..7af9390fdb2 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalizationBannerLogo.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalizationBannerLogo.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBrandingLocalizationBannerLogo -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBrandingLocalizationBannerLogo -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBrandingLocalizationBannerLogo -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId -OutFile $outFileId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Invoke-MgForceDomainDelete.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Invoke-MgForceDomainDelete.md index af2ca623e9c..b5b83a0435c 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Invoke-MgForceDomainDelete.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Invoke-MgForceDomainDelete.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ DisableUserAccounts = $true diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDevice.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDevice.md index 0227faad172..94d74c185bd 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDevice.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDevice.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ AccountEnabled = $false diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredOwnerByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredOwnerByRef.md index add6d5db9fb..50872763d7f 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredOwnerByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredOwnerByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/directoryObjects/{id}" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredUserByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredUserByRef.md index c4118303d6e..1a65697521a 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredUserByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredUserByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/directoryObjects/{id}" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnit.md index d6ecde862be..423ffacbaa5 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnit.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ DisplayName = "Seattle District Technical Schools" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitMemberByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitMemberByRef.md index 105f638fef8..2e3cf6f591a 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitMemberByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitMemberByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/groups/{id}" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitScopedRoleMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitScopedRoleMember.md index fe8f7007fe1..f24ac3bfc86 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitScopedRoleMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitScopedRoleMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ RoleId = "roleId-value" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryFederationConfiguration.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryFederationConfiguration.md index 862b282661f..1e6f041d73c 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryFederationConfiguration.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryFederationConfiguration.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ "@odata.type" = "microsoft.graph.samlOrWsFedExternalDomainFederation" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryRole.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryRole.md index ee0a63f81ba..6e3611cda4f 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryRole.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryRole.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ RoleTemplateId = "fe930be7-5e62-47db-91af-98c3a49a38b1" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDomain.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDomain.md index db69cded91d..d34f48ea7c4 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDomain.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDomain.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ Id = "contoso.com" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgOrganizationBrandingLocalization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgOrganizationBrandingLocalization.md index bb39518dfc2..ffced58046e 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgOrganizationBrandingLocalization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgOrganizationBrandingLocalization.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ BackgroundColor = "#00000F" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDevice.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDevice.md index 15a20f3db1c..5011401a3f9 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDevice.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDevice.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDevice -DeviceId $deviceId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDeviceRegisteredOwnerByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDeviceRegisteredOwnerByRef.md index c49a0e6a01b..0bc3013e80a 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDeviceRegisteredOwnerByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDeviceRegisteredOwnerByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDeviceRegisteredOwnerByRef -DeviceId $deviceId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnit.md index f089771ce80..dea1d746b37 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnit.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryAdministrativeUnit -AdministrativeUnitId $administrativeUnitId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitMemberByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitMemberByRef.md index aa0751b6ec7..535eedffa8d 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitMemberByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitMemberByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryAdministrativeUnitMemberByRef -AdministrativeUnitId $administrativeUnitId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitScopedRoleMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitScopedRoleMember.md index 52537432b3f..0ce3cf694df 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitScopedRoleMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitScopedRoleMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryAdministrativeUnitScopedRoleMember -AdministrativeUnitId $administrativeUnitId -ScopedRoleMembershipId $scopedRoleMembershipId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryDeletedItem.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryDeletedItem.md index 4f7f08f2468..0b0bf1458b1 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryDeletedItem.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryDeletedItem.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryDeletedItem -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryFederationConfiguration.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryFederationConfiguration.md index 08095e43324..a384339ad43 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryFederationConfiguration.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryFederationConfiguration.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryFederationConfiguration -IdentityProviderBaseId $identityProviderBaseId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryRoleMemberByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryRoleMemberByRef.md index 2c31e462dad..aff72b9dbb2 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryRoleMemberByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryRoleMemberByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryRoleMemberByRef -DirectoryRoleId $directoryRoleId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDomain.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDomain.md index a969eae3d08..56ec6f1a644 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDomain.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDomain.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDomain -DomainId $domainId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgOrganizationBrandingLocalization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgOrganizationBrandingLocalization.md index 1c66b7edbf9..97ed23aa0a8 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgOrganizationBrandingLocalization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgOrganizationBrandingLocalization.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgOrganizationBrandingLocalization -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Restore-MgDirectoryDeletedItem.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Restore-MgDirectoryDeletedItem.md index c01fa812ef4..b0176d85346 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Restore-MgDirectoryDeletedItem.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Restore-MgDirectoryDeletedItem.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Restore-MgDirectoryDeletedItem -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDevice.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDevice.md index 9271187289f..19745d3f18e 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDevice.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDevice.md @@ -1,12 +1,12 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ } Update-MgDevice -DeviceId $deviceId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ AccountEnabled = $false diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDirectoryAdministrativeUnit.md index 6074593d50a..d8937a28605 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDirectoryAdministrativeUnit.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ DisplayName = "Greater Seattle District Technical Schools" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDomain.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDomain.md index bca90a06da5..e69d257fa86 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDomain.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDomain.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ IsDefault = $true diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganization.md index a0be74a473a..e93fbd6ae00 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganization.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ MarketingNotificationEmails = @( diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBranding.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBranding.md index 31cdb393207..1d45db05b5e 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBranding.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBranding.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ SignInPageText = "Default" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBrandingLocalization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBrandingLocalization.md index 9140f41b6a9..ef585cf14f4 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBrandingLocalization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBrandingLocalization.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ BackgroundColor = "#00000F" @@ -7,8 +7,8 @@ $params = @{ } Update-MgOrganizationBrandingLocalization -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ SignInPageText = "Welcome to Contoso France." diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md index 56d8a0e835e..f534d1a7f57 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackage.md index 67e840de2ba..f0d27fa8dc4 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackage.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackage -AccessPackageId $accessPackageId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackage -AccessPackageId $accessPackageId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackage ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement.md index d275618e370..e54690b019f 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement -AccessPackageId $accessPackageId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage.md index 3688d2a7122..9043fbabebb 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage -ApprovalId $approvalId -ApprovalStageId $approvalStageId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage -ApprovalId $approvalId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignment.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignment.md index 51f3dda42dc..b5e93300fac 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignment.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignment.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignment -AccessPackageAssignmentId $accessPackageAssignmentId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignment -AccessPackageAssignmentId $accessPackageAssignmentId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignment ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentPolicy.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentPolicy.md index 14df80010c5..e13f6a5881d 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentPolicy.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentPolicy.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignmentPolicy -AccessPackageAssignmentPolicyId $accessPackageAssignmentPolicyId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignmentPolicy ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentRequest.md index 775739e3bf8..41dd292fdc4 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentRequest.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignmentRequest ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementCatalog.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementCatalog.md index 41582dfbca3..0fe385ace98 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementCatalog.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementCatalog.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementCatalog -AccessPackageCatalogId $accessPackageCatalogId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementCatalog ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementConnectedOrganization.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementConnectedOrganization.md index b5cbe463678..58a574d2e96 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementConnectedOrganization.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementConnectedOrganization.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementConnectedOrganization -ConnectedOrganizationId $connectedOrganizationId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementConnectedOrganization ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementSetting.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementSetting.md index 193763c4990..eac63df616e 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementSetting.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementSetting.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementSetting ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinition.md index bb042016330..d0cdecfa790 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinition.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinition -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinition -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinition -Filter "contains(scope/microsoft.graph.accessReviewQueryScope/query, './members')" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinition -Top 100 -Skip 0 ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstance.md index 8b4685157f4..f3103e0d248 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstance.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer.md index 0e20a0b583c..ab40617d068 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md index 51ef4f61e97..45b072d7450 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md index 3ad77ece2c7..c3a9db88ef9 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md index 621b63f4bd2..073a29df038 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinition.md index 02bca7f9354..6a419298ca2 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinition.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewHistoryDefinition -AccessReviewHistoryDefinitionId $accessReviewHistoryDefinitionId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewHistoryDefinition ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance.md index 7908cbdfe75..00066239028 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance -AccessReviewHistoryDefinitionId $accessReviewHistoryDefinitionId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequest.md index 694a8c138ab..11af42188bf 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequest.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequest -AppConsentRequestId $appConsentRequestId -Filter "userConsentRequests/any(u:u/status eq 'InProgress')" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequest -AppConsentRequestId $appConsentRequestId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequest ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequest -Filter "userConsentRequests/any (u:u/status eq 'InProgress')" ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest.md index 3cb8c6a371f..044e428f72b 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest -AppConsentRequestId $appConsentRequestId -UserConsentRequestId $userConsentRequestId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest -AppConsentRequestId $appConsentRequestId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest -AppConsentRequestId $appConsentRequestId -UserConsentRequestId $userConsentRequestId -Filter " (status eq 'Completed')" ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreement.md index 013806de090..0aba9b0f099 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreement.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId -ExpandProperty "files" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceTermOfUseAgreement ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId -ExpandProperty "files" ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreementFile.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreementFile.md index 3e657fc38f2..945bc31f991 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreementFile.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreementFile.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceTermOfUseAgreementFile -AgreementId $agreementId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgUserAgreementAcceptance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgUserAgreementAcceptance.md index a2935072333..e02182fcff0 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgUserAgreementAcceptance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgUserAgreementAcceptance.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance # A UPN can also be used as -UserId. Get-MgUserAgreementAcceptance -UserId $userId diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md index a99e291cf92..76e697936ce 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md index 7906af2cc19..3baf7de009b 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ Decision = "Approve" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAccessPackage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAccessPackage.md index 1df13792843..84be30c6e6d 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAccessPackage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAccessPackage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "sales reps" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentPolicy.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentPolicy.md index 90fd07ac578..87c28f8db9a 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentPolicy.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "policy for external access requests" @@ -116,8 +116,8 @@ $params = @{ } New-MgEntitlementManagementAssignmentPolicy -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "New Policy" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentRequest.md index 443aa1da264..be6d6d71dda 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentRequest.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ RequestType = "AdminAdd" @@ -11,8 +11,8 @@ $params = @{ } New-MgEntitlementManagementAssignmentRequest -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ RequestType = "AdminAdd" @@ -24,8 +24,8 @@ $params = @{ } New-MgEntitlementManagementAssignmentRequest -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ RequestType = "AdminRemove" @@ -35,8 +35,8 @@ $params = @{ } New-MgEntitlementManagementAssignmentRequest -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ RequestType = "userAdd" @@ -46,8 +46,8 @@ $params = @{ } New-MgEntitlementManagementAssignmentRequest -BodyParameter $params ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ RequestType = "userAdd" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementCatalog.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementCatalog.md index e5950625563..69f4f870f64 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementCatalog.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementCatalog.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "sales" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganization.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganization.md index 7da3f63e48b..c331095fb22 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganization.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganization.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Connected organization name" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md index dd0cd3f6b7f..2d35f0a5d1c 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/users/{id}" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md index 689353c75d3..37f5bf3e9be 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/users/{id}" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewDefinition.md index 7d89db4d2b9..256f0be7cbb 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewDefinition.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Review employee access to LinkedIn" @@ -61,8 +61,8 @@ $params = @{ } New-MgIdentityGovernanceAccessReviewDefinition -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Group Multi-stage Access Review" @@ -133,8 +133,8 @@ $params = @{ } New-MgIdentityGovernanceAccessReviewDefinition -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Review inactive guests on teams" @@ -187,8 +187,8 @@ $params = @{ } New-MgIdentityGovernanceAccessReviewDefinition -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Test create" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinition.md index d3027417f12..b701ea1f26a 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinition.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Last quarter's group reviews April 2021" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md index 08c396414b2..2cab5af9752 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri -AccessReviewHistoryDefinitionId $accessReviewHistoryDefinitionId -AccessReviewHistoryInstanceId $accessReviewHistoryInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceTermOfUseAgreement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceTermOfUseAgreement.md index 31e7269ce2c..5db703ed208 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceTermOfUseAgreement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceTermOfUseAgreement.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Contoso ToU for guest users" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAccessPackage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAccessPackage.md index 4579eb858c0..5aeb765cbee 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAccessPackage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAccessPackage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementAccessPackage -AccessPackageId $accessPackageId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentPolicy.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentPolicy.md index a55444c1b78..bcebcafeae3 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentPolicy.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementAssignmentPolicy -AccessPackageAssignmentPolicyId $accessPackageAssignmentPolicyId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentRequest.md index 61c4848393b..727d1abb239 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentRequest.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementCatalog.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementCatalog.md index 3007cf3ef8b..5f65ece4123 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementCatalog.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementCatalog.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementCatalog -AccessPackageCatalogId $accessPackageCatalogId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganization.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganization.md index a268127d5cd..ce18e12ed38 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganization.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganization.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementConnectedOrganization -ConnectedOrganizationId $connectedOrganizationId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md index dc4a1a141a8..af31477811f 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef -ConnectedOrganizationId $connectedOrganizationId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md index 2b93eb32048..348b87c18aa 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef -ConnectedOrganizationId $connectedOrganizationId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceAccessReviewDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceAccessReviewDefinition.md index f5ddfa4f75d..91f85d45ede 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceAccessReviewDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceAccessReviewDefinition.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgIdentityGovernanceAccessReviewDefinition -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceTermOfUseAgreement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceTermOfUseAgreement.md index 56a875b0865..38c865be699 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceTermOfUseAgreement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceTermOfUseAgreement.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md index 0f8abdf5165..80322bb4639 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder.md index 9b9354d6513..6f20653b577 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgEntitlementManagementAssignmentRequest.md index 3b368aadddc..c95d19d097b 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgEntitlementManagementAssignmentRequest.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Stop-MgEntitlementManagementAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstance.md index c8e7346958a..1f03df5cc33 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstance.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Stop-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md index 1d04471e2ef..721bc6f83b2 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementAccessPackage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementAccessPackage.md index 3815c72f460..73e8365ac83 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementAccessPackage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementAccessPackage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Access Package New Name" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementCatalog.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementCatalog.md index 38173d3e788..e29a591b854 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementCatalog.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementCatalog.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Catalog One" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementConnectedOrganization.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementConnectedOrganization.md index 5df04d2fef2..eaf5b0dcda6 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementConnectedOrganization.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementConnectedOrganization.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Connected organization new name" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementSetting.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementSetting.md index 8c698048e8c..09d12c8aad0 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementSetting.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementSetting.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ ExternalUserLifecycleAction = "None" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstance.md index 9889e1fae72..56659c50fe2 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstance.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ Scope = @{ diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md index 9bcc25487a1..05a1db9da07 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ "@odata.type" = "#microsoft.graph.accessReviewStage" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md index df5b515f646..4f301cadbf4 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ Decision = "Approve" @@ -7,8 +7,8 @@ $params = @{ } Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ Decision = "Approve" @@ -16,8 +16,8 @@ $params = @{ } Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ Decision = "Approve" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceTermOfUseAgreement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceTermOfUseAgreement.md index 813710f4e90..274f6b3742b 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceTermOfUseAgreement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceTermOfUseAgreement.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "All Contoso volunteers - Terms of use" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Confirm-MgRiskyUserCompromised.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Confirm-MgRiskyUserCompromised.md index 69adbdf3fcf..d7075154d90 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Confirm-MgRiskyUserCompromised.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Confirm-MgRiskyUserCompromised.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ UserIds = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgDataPolicyOperation.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgDataPolicyOperation.md index dc3a42ef787..b950aa60866 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgDataPolicyOperation.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgDataPolicyOperation.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgDataPolicyOperation -DataPolicyOperationId $dataPolicyOperationId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityApiConnector.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityApiConnector.md index fd3677dc63a..ef20055d161 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityApiConnector.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityApiConnector.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityApiConnector ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlow.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlow.md index bfadf561561..be4c80f6b8a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlow.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlow.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlow -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlow -ExpandProperty "identityProviders" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlow ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowIdentityProvider.md index 997c96fbef5..1ce1780eed9 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowIdentityProvider.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowIdentityProvider -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguage.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguage.md index 2c87b133661..371f3ec7569 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguage.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguage.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowLanguage -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowLanguage -B2xIdentityUserFlowId $b2xIdentityUserFlowId -UserFlowLanguageConfigurationId $userFlowLanguageConfigurationId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageDefaultPageContent.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageDefaultPageContent.md index ab3e177a076..6170c996b0b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageDefaultPageContent.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageDefaultPageContent.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowLanguageDefaultPageContent -B2xIdentityUserFlowId $b2xIdentityUserFlowId -UserFlowLanguageConfigurationId $userFlowLanguageConfigurationId -UserFlowLanguagePageId $userFlowLanguagePageId -OutFile $outFileId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageOverridePage.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageOverridePage.md index ed4aa1c2473..b464fb12895 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageOverridePage.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageOverridePage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowLanguageOverridePage -B2xIdentityUserFlowId $b2xIdentityUserFlowId -UserFlowLanguageConfigurationId $userFlowLanguageConfigurationId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignment.md index 9c1f10ef96a..b779f2b9b38 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignment.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -IdentityUserFlowAttributeAssignmentId $identityUserFlowAttributeAssignmentId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -ExpandProperty "userAttribute" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -IdentityUserFlowAttributeAssignmentId $identityUserFlowAttributeAssignmentId -ExpandProperty "userAttribute" ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md index 4dbaec97d32..c433b92fb6a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityProvider.md index 7c88249b191..8c7a76989f6 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityProvider.md @@ -1,40 +1,40 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider -IdentityProviderId $identityProviderId ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider ``` -###Example 6 -``` +### Example 6 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider -OutFile $outFileId ``` -###Example 7 -``` +### Example 7 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId ``` -###Example 8 -``` +### Example 8 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityUserFlowAttribute.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityUserFlowAttribute.md index e566b69e27d..24fae7780ef 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityUserFlowAttribute.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityUserFlowAttribute.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityUserFlowAttribute -IdentityUserFlowAttributeId $identityUserFlowAttributeId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityUserFlowAttribute ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionBitlockerRecoveryKey.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionBitlockerRecoveryKey.md index d87f95914c2..6766990ddec 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionBitlockerRecoveryKey.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionBitlockerRecoveryKey.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $bitlockerRecoveryKeyId -Property "key" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $bitlockerRecoveryKeyId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionBitlockerRecoveryKey -Filter "deviceId eq '1ab40ab2-32a8-4b00-b6b5-ba724e407de9'" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionBitlockerRecoveryKey ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionThreatAssessmentRequest.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionThreatAssessmentRequest.md index 1e204b6e7d7..1bd7c7319b9 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionThreatAssessmentRequest.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionThreatAssessmentRequest.md @@ -1,30 +1,30 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId -ExpandProperty "results" ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest ``` -###Example 6 -``` +### Example 6 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrant.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrant.md index 7033006a142..17ee267ab5b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrant.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrant.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgOauth2PermissionGrant -OAuth2PermissionGrantId $oAuth2PermissionGrantId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgOauth2PermissionGrant ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrantDelta.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrantDelta.md index 54d401bf618..6fb180910df 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrantDelta.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrantDelta.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgOauth2PermissionGrantDelta ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOrganizationCertificateBasedAuthConfiguration.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOrganizationCertificateBasedAuthConfiguration.md index 419f52e07e8..a5de0b630b5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOrganizationCertificateBasedAuthConfiguration.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOrganizationCertificateBasedAuthConfiguration.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgOrganizationCertificateBasedAuthConfiguration -OrganizationId $organizationId -CertificateBasedAuthConfigurationId $certificateBasedAuthConfigurationId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgOrganizationCertificateBasedAuthConfiguration -OrganizationId $organizationId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyActivityBasedTimeoutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyActivityBasedTimeoutPolicy.md index 192636c4e97..9222ad25a83 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyActivityBasedTimeoutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyActivityBasedTimeoutPolicy.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyActivityBasedTimeoutPolicy ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyActivityBasedTimeoutPolicy -ActivityBasedTimeoutPolicyId $activityBasedTimeoutPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAdminConsentRequestPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAdminConsentRequestPolicy.md index 79b6b5d09f9..bc65160e45b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAdminConsentRequestPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAdminConsentRequestPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAdminConsentRequestPolicy ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationFlowPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationFlowPolicy.md index 841ea4f8ae0..e21422bf2f8 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationFlowPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationFlowPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationFlowPolicy ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicy.md index 6289d72822a..4a7924d6b37 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationMethodPolicy ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md index 367887abb0d..bcdd1d78511 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyClaimMappingPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyClaimMappingPolicy.md index d81efff7b70..1dd6d634705 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyClaimMappingPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyClaimMappingPolicy.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyClaimMappingPolicy ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyClaimMappingPolicy -ClaimsMappingPolicyId $claimsMappingPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicy.md index 7d214000834..6bb7a34c22b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyCrossTenantAccessPolicy ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyDefault.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyDefault.md index eead1f543c6..d662c5a59f0 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyDefault.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyDefault.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyCrossTenantAccessPolicyDefault ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyPartner.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyPartner.md index 7a6b1e8fba8..926ee1b747b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyPartner.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyPartner.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyCrossTenantAccessPolicyPartner -CrossTenantAccessPolicyConfigurationPartnerTenantId $crossTenantAccessPolicyConfigurationPartnerTenantId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyCrossTenantAccessPolicyPartner ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyFeatureRolloutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyFeatureRolloutPolicy.md index d4d9193c378..a60b143329e 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyFeatureRolloutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyFeatureRolloutPolicy.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyFeatureRolloutPolicy ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyFeatureRolloutPolicy -FeatureRolloutPolicyId $featureRolloutPolicyId -ExpandProperty "appliesTo" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyFeatureRolloutPolicy -FeatureRolloutPolicyId $featureRolloutPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md index a2c82698671..cc691ddece6 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyHomeRealmDiscoveryPolicy ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyHomeRealmDiscoveryPolicy -HomeRealmDiscoveryPolicyId $homeRealmDiscoveryPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md index 5905cbb9f48..f04672b4f69 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicy.md index 960071b1149..cae50e7a734 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicy.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyPermissionGrantPolicy -PermissionGrantPolicyId $permissionGrantPolicyId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyPermissionGrantPolicy ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyExclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyExclude.md index 5e1b7b5276a..af31615c408 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyExclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyExclude.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyPermissionGrantPolicyExclude -PermissionGrantPolicyId $permissionGrantPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyInclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyInclude.md index 52a4eddcc10..ec1740c8faa 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyInclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyInclude.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyPermissionGrantPolicyInclude -PermissionGrantPolicyId $permissionGrantPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicy.md index 71f96e08e44..ceb3487b80e 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicy.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicy -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId -ExpandProperty "effectiveRules,rules" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicy -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicy -Filter "scopeId eq '/' and scopeType eq 'Directory'" -ExpandProperty "rules" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicy -Filter "scopeId eq '/' and scopeType eq 'DirectoryRole'" ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyAssignment.md index da12343aafd..976d3b80788 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyAssignment.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyAssignment -UnifiedRoleManagementPolicyAssignmentId $unifiedRoleManagementPolicyAssignmentId -ExpandProperty "policy(`$expand=rules)" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyAssignment -UnifiedRoleManagementPolicyAssignmentId $unifiedRoleManagementPolicyAssignmentId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyAssignment -Filter "scopeId eq '/' and scopeType eq 'DirectoryRole' and roleDefinitionId eq '62e90394-69f5-4237-9190-012177145e10'" -ExpandProperty "policy(`$expand=rules)" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyAssignment -Filter "scopeId eq '/' and scopeType eq 'Directory'" ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyRule.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyRule.md index 7a3deb8b757..fe42e59397a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyRule.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyRule.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyRule -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId -UnifiedRoleManagementPolicyRuleId $unifiedRoleManagementPolicyRuleId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyRule -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenIssuancePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenIssuancePolicy.md index 33c3d84bd6d..4ecba283513 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenIssuancePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenIssuancePolicy.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyTokenIssuancePolicy -TokenIssuancePolicyId $tokenIssuancePolicyId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyTokenIssuancePolicy ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenLifetimePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenLifetimePolicy.md index f4b034c3a8b..a4b9411aff4 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenLifetimePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenLifetimePolicy.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyTokenLifetimePolicy ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyTokenLifetimePolicy -TokenLifetimePolicyId $tokenLifetimePolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskDetection.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskDetection.md index 55783ce891a..fe9425e208d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskDetection.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskDetection.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskDetection -RiskDetectionId $riskDetectionId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskDetection ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUser.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUser.md index c37372fd418..e2f03b57111 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUser.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUser.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskyUser -RiskyUserId $riskyUserId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskyUser ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUserHistory.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUserHistory.md index a42477b9500..ece968596e9 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUserHistory.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUserHistory.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskyUserHistory -RiskyUserId $riskyUserId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskyUserHistory -RiskyUserId $riskyUserId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationEmailMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationEmailMethod.md index c88128994f2..9414284cfb7 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationEmailMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationEmailMethod.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationEmailMethod -UserId $userId -EmailAuthenticationMethodId $emailAuthenticationMethodId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationEmailMethod -UserId $userId diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationFido2Method.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationFido2Method.md index 86f65aa2a23..8b4e7b12459 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationFido2Method.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationFido2Method.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationFido2Method -UserId $userId -Fido2AuthenticationMethodId $fido2AuthenticationMethodId diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationMicrosoftAuthenticatorMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationMicrosoftAuthenticatorMethod.md index 2c6716a38fd..6198396516c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationMicrosoftAuthenticatorMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationMicrosoftAuthenticatorMethod.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationMicrosoftAuthenticatorMethod -UserId $userId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationOperation.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationOperation.md index 2996a7ca8b8..0121dc717a6 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationOperation.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationOperation.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationOperation -UserId $userId -LongRunningOperationId $longRunningOperationId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPasswordMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPasswordMethod.md index e898d45d411..0c84dbcf482 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPasswordMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPasswordMethod.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationPasswordMethod -UserId $userId -PasswordAuthenticationMethodId $passwordAuthenticationMethodId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationPasswordMethod -UserId $userId diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPhoneMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPhoneMethod.md index ae6758fb85b..4c71e5276ab 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPhoneMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPhoneMethod.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationPhoneMethod -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationPhoneMethod -UserId $userId diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationSoftwareOathMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationSoftwareOathMethod.md index bef21010fd6..342bcc950d3 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationSoftwareOathMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationSoftwareOathMethod.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationSoftwareOathMethod -UserId $userId -SoftwareOathAuthenticationMethodId $softwareOathAuthenticationMethodId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationSoftwareOathMethod -UserId $userId diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationTemporaryAccessPassMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationTemporaryAccessPassMethod.md index fc1db8f3614..996c9b813df 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationTemporaryAccessPassMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationTemporaryAccessPassMethod.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationTemporaryAccessPassMethod -UserId $userId -TemporaryAccessPassAuthenticationMethodId $temporaryAccessPassAuthenticationMethodId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationTemporaryAccessPassMethod -UserId $userId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationWindowHelloForBusinessMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationWindowHelloForBusinessMethod.md index 48068da237f..3a21ff51437 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationWindowHelloForBusinessMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationWindowHelloForBusinessMethod.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationWindowHelloForBusinessMethod -UserId $userId -WindowsHelloForBusinessAuthenticationMethodId $windowsHelloForBusinessAuthenticationMethodId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationWindowHelloForBusinessMethod -UserId $userId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgAvailableIdentityProviderType.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgAvailableIdentityProviderType.md index 681d9682ed5..dd238e022d3 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgAvailableIdentityProviderType.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgAvailableIdentityProviderType.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Invoke-MgAvailableIdentityProviderType ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Invoke-MgAvailableIdentityProviderType ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Invoke-MgAvailableIdentityProviderType -OutFile $outFileId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgDismissRiskyUser.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgDismissRiskyUser.md index 923b12d0559..093e06078cc 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgDismissRiskyUser.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgDismissRiskyUser.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ UserIds = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgUploadIdentityApiConnectorClientCertificate.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgUploadIdentityApiConnectorClientCertificate.md index aa8697369ab..f9cf48005ea 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgUploadIdentityApiConnectorClientCertificate.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgUploadIdentityApiConnectorClientCertificate.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Pkcs12Value = "eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ...kDJ04sJShkkgjL9Bm49plA" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityApiConnector.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityApiConnector.md index e72f68bf822..c4a5b11235b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityApiConnector.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityApiConnector.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "Test API" @@ -12,8 +12,8 @@ $params = @{ } New-MgIdentityApiConnector -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "Test API" @@ -26,8 +26,8 @@ $params = @{ } New-MgIdentityApiConnector -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "Test API" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlow.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlow.md index df03dc036ba..0a9a5cfe82c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlow.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlow.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Id = "UserFlowWithAPIConnector" @@ -16,8 +16,8 @@ $params = @{ } New-MgIdentityB2XUserFlow -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Id = "Partner" @@ -33,8 +33,8 @@ $params = @{ } New-MgIdentityB2XUserFlow -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Id = "Partner" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlowUserAttributeAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlowUserAttributeAssignment.md index 401773c1a95..54b0bd11e87 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlowUserAttributeAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlowUserAttributeAssignment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ IsOptional = $false diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityProvider.md index 31d847fec29..dba51b443ab 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityProvider.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "microsoft.graph.appleManagedIdentityProvider" @@ -11,8 +11,8 @@ $params = @{ } New-MgIdentityProvider -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "microsoft.graph.socialIdentityProvider" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityUserFlowAttribute.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityUserFlowAttribute.md index 3138064ddba..e49ac549cc1 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityUserFlowAttribute.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityUserFlowAttribute.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "Hobby" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgInformationProtectionThreatAssessmentRequest.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgInformationProtectionThreatAssessmentRequest.md index 1ab159bd887..39a09bff64c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgInformationProtectionThreatAssessmentRequest.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgInformationProtectionThreatAssessmentRequest.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.emailFileAssessmentRequest" @@ -10,8 +10,8 @@ $params = @{ } New-MgInformationProtectionThreatAssessmentRequest -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.fileAssessmentRequest" @@ -22,8 +22,8 @@ $params = @{ } New-MgInformationProtectionThreatAssessmentRequest -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.mailAssessmentRequest" @@ -34,8 +34,8 @@ $params = @{ } New-MgInformationProtectionThreatAssessmentRequest -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.urlAssessmentRequest" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgOauth2PermissionGrant.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgOauth2PermissionGrant.md index 1f6418365a4..e20f6adcec9 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgOauth2PermissionGrant.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgOauth2PermissionGrant.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ ClientId = "ef969797-201d-4f6b-960c-e9ed5f31dab5" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyActivityBasedTimeoutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyActivityBasedTimeoutPolicy.md index 32c4166085d..2ab9e0321c8 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyActivityBasedTimeoutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyActivityBasedTimeoutPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyClaimMappingPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyClaimMappingPolicy.md index 0efe4cfe03b..7352db7acfe 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyClaimMappingPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyClaimMappingPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyCrossTenantAccessPolicyPartner.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyCrossTenantAccessPolicyPartner.md index f93685d5b0d..47ce8af5ba0 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyCrossTenantAccessPolicyPartner.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyCrossTenantAccessPolicyPartner.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ TenantId = "3d0f5dec-5d3d-455c-8016-e2af1ae4d31a" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicy.md index eee6fc109d1..e03bc5665ad 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "PassthroughAuthentication rollout policy" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicyApplyToByRef.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicyApplyToByRef.md index e7f1791495a..a9bfb6fbce7 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicyApplyToByRef.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicyApplyToByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/directoryObjects/2441b489-4f12-4882-b039-8f6006bd66da" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md index 29e18975503..fe3e8ecf9cd 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicy.md index 8d737b6f889..ce1b434f9bb 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Id = "my-custom-consent-policy" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyExclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyExclude.md index 54b70bd67fe..19760e67d2d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyExclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyExclude.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ PermissionType = "delegated" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyInclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyInclude.md index 0b09ed0492b..0fcb85af701 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyInclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyInclude.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ PermissionType = "delegated" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenIssuancePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenIssuancePolicy.md index 3eca66780e6..138d793e713 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenIssuancePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenIssuancePolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenLifetimePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenLifetimePolicy.md index d71491ed12b..5415f5ff656 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenLifetimePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenLifetimePolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationEmailMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationEmailMethod.md index 225014a6398..1b58d931d5b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationEmailMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationEmailMethod.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ EmailAddress = "kim@contoso.com" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationPhoneMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationPhoneMethod.md index 65b6e11d51c..794520cef38 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationPhoneMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationPhoneMethod.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ PhoneNumber = "+1 2065555555" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationTemporaryAccessPassMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationTemporaryAccessPassMethod.md index 1414cf82a48..aa54c1fd5d3 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationTemporaryAccessPassMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationTemporaryAccessPassMethod.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ StartDateTime = [System.DateTime]::Parse("2022-06-05T00:00:00.000Z") diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityApiConnector.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityApiConnector.md index f25cf328070..f441e383f2b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityApiConnector.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityApiConnector.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlow.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlow.md index dbef5d6cd12..a128b780187 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlow.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlow.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityB2XUserFlow -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlowUserAttributeAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlowUserAttributeAssignment.md index 2b1e497c6ad..a16ed6fe010 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlowUserAttributeAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlowUserAttributeAssignment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -IdentityUserFlowAttributeAssignmentId $identityUserFlowAttributeAssignmentId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityProvider.md index 08d218d152c..9c5318d9e40 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityProvider.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityUserFlowAttribute.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityUserFlowAttribute.md index 51f38ee9ef5..58d93e9ae4a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityUserFlowAttribute.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityUserFlowAttribute.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityUserFlowAttribute -IdentityUserFlowAttributeId $identityUserFlowAttributeId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgOauth2PermissionGrant.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgOauth2PermissionGrant.md index 33026a3c0da..07cb4f13f51 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgOauth2PermissionGrant.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgOauth2PermissionGrant.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgOauth2PermissionGrant -OAuth2PermissionGrantId $oAuth2PermissionGrantId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyActivityBasedTimeoutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyActivityBasedTimeoutPolicy.md index 4733541ea1e..0a07a4e1283 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyActivityBasedTimeoutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyActivityBasedTimeoutPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyActivityBasedTimeoutPolicy -ActivityBasedTimeoutPolicyId $activityBasedTimeoutPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md index 7f829cf38fa..842f81363e8 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyClaimMappingPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyClaimMappingPolicy.md index 65faff6e3e3..2dc41b07875 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyClaimMappingPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyClaimMappingPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyClaimMappingPolicy -ClaimsMappingPolicyId $claimsMappingPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyCrossTenantAccessPolicyPartner.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyCrossTenantAccessPolicyPartner.md index 48afedc4da9..9a805a74594 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyCrossTenantAccessPolicyPartner.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyCrossTenantAccessPolicyPartner.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyCrossTenantAccessPolicyPartner -CrossTenantAccessPolicyConfigurationPartnerTenantId $crossTenantAccessPolicyConfigurationPartnerTenantId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicy.md index 71dd3afdfd1..3f159e203cd 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyFeatureRolloutPolicy -FeatureRolloutPolicyId $featureRolloutPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md index 9e8ad3300f9..3d3cda8f27b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyFeatureRolloutPolicyApplyToByRef -FeatureRolloutPolicyId $featureRolloutPolicyId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyHomeRealmDiscoveryPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyHomeRealmDiscoveryPolicy.md index cf3c5f05dc7..3435b7c5b1b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyHomeRealmDiscoveryPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyHomeRealmDiscoveryPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyHomeRealmDiscoveryPolicy -HomeRealmDiscoveryPolicyId $homeRealmDiscoveryPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicy.md index 42b7dbd7cd5..2b1c9ab0400 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyPermissionGrantPolicy -PermissionGrantPolicyId $permissionGrantPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyExclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyExclude.md index c4101606bc3..912d0e8e4e9 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyExclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyExclude.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyPermissionGrantPolicyExclude -PermissionGrantPolicyId $permissionGrantPolicyId -PermissionGrantConditionSetId $permissionGrantConditionSetId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyInclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyInclude.md index 2277107f16b..62c808fa010 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyInclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyInclude.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyPermissionGrantPolicyInclude -PermissionGrantPolicyId $permissionGrantPolicyId -PermissionGrantConditionSetId $permissionGrantConditionSetId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenIssuancePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenIssuancePolicy.md index 339c14580e8..e1526b82d47 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenIssuancePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenIssuancePolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyTokenIssuancePolicy -TokenIssuancePolicyId $tokenIssuancePolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenLifetimePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenLifetimePolicy.md index 6b8a01da40d..4190f828bc2 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenLifetimePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenLifetimePolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyTokenLifetimePolicy -TokenLifetimePolicyId $tokenLifetimePolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationEmailMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationEmailMethod.md index b957f5df910..32d2b7c92f8 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationEmailMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationEmailMethod.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationEmailMethod -UserId $userId -EmailAuthenticationMethodId $emailAuthenticationMethodId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationFido2Method.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationFido2Method.md index 54e7a822a9e..c8501c5ad62 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationFido2Method.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationFido2Method.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationFido2Method -UserId $userId -Fido2AuthenticationMethodId $fido2AuthenticationMethodId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod.md index f8d6d015904..904d20b2b37 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod -UserId $userId -MicrosoftAuthenticatorAuthenticationMethodId $microsoftAuthenticatorAuthenticationMethodId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationPhoneMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationPhoneMethod.md index 045dd1edb0b..573e07cd4f5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationPhoneMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationPhoneMethod.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Remove-MgUserAuthenticationPhoneMethod -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationSoftwareOathMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationSoftwareOathMethod.md index e2049be4223..310be3c721f 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationSoftwareOathMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationSoftwareOathMethod.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationSoftwareOathMethod -UserId $userId -SoftwareOathAuthenticationMethodId $softwareOathAuthenticationMethodId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationTemporaryAccessPassMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationTemporaryAccessPassMethod.md index acd0d42b5ae..a7ff328f33d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationTemporaryAccessPassMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationTemporaryAccessPassMethod.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationTemporaryAccessPassMethod -UserId $userId -TemporaryAccessPassAuthenticationMethodId $temporaryAccessPassAuthenticationMethodId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationWindowHelloForBusinessMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationWindowHelloForBusinessMethod.md index 264c9e8ad21..049aca7545f 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationWindowHelloForBusinessMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationWindowHelloForBusinessMethod.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationWindowHelloForBusinessMethod -UserId $userId -WindowsHelloForBusinessAuthenticationMethodId $windowsHelloForBusinessAuthenticationMethodId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md index df50679d5c5..eee5a3f89ad 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowLanguageOverridePageContent.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowLanguageOverridePageContent.md index bd7410077b0..c279c85ed9e 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowLanguageOverridePageContent.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowLanguageOverridePageContent.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ LocalizedStrings = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md index 35a480c4a29..2177a9167d6 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ NewAssignmentOrder = @{ diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityApiConnector.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityApiConnector.md index 5703b88fc37..976e367a37e 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityApiConnector.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityApiConnector.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ AuthenticationConfiguration = @{ @@ -10,8 +10,8 @@ $params = @{ } Update-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "New Test API" @@ -24,8 +24,8 @@ $params = @{ } Update-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ AuthenticationConfiguration = @{ diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityB2XUserFlowUserAttributeAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityB2XUserFlowUserAttributeAssignment.md index 0c156cc3a9d..316d4bef11c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityB2XUserFlowUserAttributeAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityB2XUserFlowUserAttributeAssignment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ UserInputType = "textBox" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityProvider.md index 77614c2355c..ba487d9c509 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityProvider.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.socialIdentityProvider" @@ -7,16 +7,16 @@ $params = @{ } Update-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ ClientSecret = "1111111111111" } Update-MgIdentityProvider -IdentityProviderId $identityProviderId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.socialIdentityProvider" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityUserFlowAttribute.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityUserFlowAttribute.md index 6c16efb4f23..2fb92849746 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityUserFlowAttribute.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityUserFlowAttribute.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Description = "Your new hobby" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgOauth2PermissionGrant.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgOauth2PermissionGrant.md index 4803ec2cd10..2351251d972 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgOauth2PermissionGrant.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgOauth2PermissionGrant.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Scope = "User.ReadBasic.All Group.ReadWrite.All" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyActivityBasedTimeoutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyActivityBasedTimeoutPolicy.md index ac1def269b9..559c2f5f54a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyActivityBasedTimeoutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyActivityBasedTimeoutPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationFlowPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationFlowPolicy.md index 926b0e6af33..e98d6cca8c0 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationFlowPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationFlowPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ SelfServiceSignUp = @{ diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicy.md index 08d527fbae2..394dc22893c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.context" = "https://graph.microsoft.com/v1.0/$metadata#authenticationMethodsPolicy" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md index 0527fa974ee..5ea41be65bf 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.emailAuthenticationMethodConfiguration" @@ -7,8 +7,8 @@ $params = @{ } Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.fido2AuthenticationMethodConfiguration" @@ -17,8 +17,8 @@ $params = @{ } Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration" @@ -26,8 +26,8 @@ $params = @{ } Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyClaimMappingPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyClaimMappingPolicy.md index 4e352117d63..b0765a611b4 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyClaimMappingPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyClaimMappingPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "UpdateClaimsPolicy" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicy.md index bea6cbbc529..b8ac98af3ae 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "CrossTenantAccessPolicy" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyDefault.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyDefault.md index 866dd1e706b..c6a0c571c8e 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyDefault.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyDefault.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ B2bCollaborationOutbound = @{ diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyPartner.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyPartner.md index 09603654d0c..377bee39382 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyPartner.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyPartner.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ InboundTrust = @{ diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyFeatureRolloutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyFeatureRolloutPolicy.md index fe5c6fb6d27..3a4c6ea1410 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyFeatureRolloutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyFeatureRolloutPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "PasswordHashSync Rollout Policy" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyHomeRealmDiscoveryPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyHomeRealmDiscoveryPolicy.md index 9935d336517..ba41a93d1ce 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyHomeRealmDiscoveryPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyHomeRealmDiscoveryPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md index dbc6649302b..37f4225a70d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ IsEnabled = $false diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyPermissionGrantPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyPermissionGrantPolicy.md index ed589577b82..632343a64e5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyPermissionGrantPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyPermissionGrantPolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "Custom permission grant policy" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyRoleManagementPolicyRule.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyRoleManagementPolicyRule.md index ea6e0396a53..ad2735afa02 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyRoleManagementPolicyRule.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyRoleManagementPolicyRule.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.unifiedRoleManagementPolicyExpirationRule" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenIssuancePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenIssuancePolicy.md index 0fcce2323aa..f1480824f40 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenIssuancePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenIssuancePolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenLifetimePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenLifetimePolicy.md index 4e69054a4ca..653208d70a9 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenLifetimePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenLifetimePolicy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationEmailMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationEmailMethod.md index 787adcf162c..fbe17de5237 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationEmailMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationEmailMethod.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ EmailAddress = "kim@contoso.com" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationPhoneMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationPhoneMethod.md index 05c2865bd82..2af86b7fe12 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationPhoneMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationPhoneMethod.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ PhoneNumber = "+1 2065555554" diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserInferenceClassificationOverride.md b/src/Mail/Mail/examples/v1.0/Get-MgUserInferenceClassificationOverride.md index dba7c7e8a2c..5b2e11edf56 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserInferenceClassificationOverride.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserInferenceClassificationOverride.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserInferenceClassificationOverride -UserId $userId diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolder.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolder.md index 9b8a0bad089..d4284255d15 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolder.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolder.md @@ -1,17 +1,17 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolder -UserId $userId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderChildFolder.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderChildFolder.md index e3c099fb352..3f82fe798f4 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderChildFolder.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderChildFolder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolderChildFolder -UserId $userId -MailFolderId $mailFolderId diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessage.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessage.md index 0a77b7c8cc3..9f8ac847c95 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessage.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolderMessage -UserId $userId -MailFolderId $mailFolderId diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessageRule.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessageRule.md index 092387c76a4..7584487d170 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessageRule.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessageRule.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolderMessageRule -UserId $userId -MailFolderId $mailFolderId -MessageRuleId $messageRuleId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolderMessageRule -UserId $userId -MailFolderId $mailFolderId diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md index f87370a93d1..d0ec234b4ca 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md @@ -1,29 +1,29 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessage -UserId $userId -MessageId $messageId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessage -UserId $userId -MessageId $messageId -Property "internetMessageHeaders" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessage -UserId $userId -MessageId $messageId -Property "subject,body,bodyPreview,uniqueBody" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessage -UserId $userId -MessageId $messageId ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessage -UserId $userId -Property "sender,subject" diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMessageAttachment.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMessageAttachment.md index d20fd122b5a..3a335b2e2f2 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMessageAttachment.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMessageAttachment.md @@ -1,41 +1,41 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId -ExpandProperty "microsoft.graph.itemattachment/item" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId -ExpandProperty "microsoft.graph.itemattachment/item" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId ``` -###Example 6 -``` +### Example 6 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId ``` -###Example 7 -``` +### Example 7 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMessageExtension.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMessageExtension.md index 59953d9adfb..cad8751b65a 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMessageExtension.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMessageExtension.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageExtension -UserId $userId -MessageId $messageId -ExtensionId $extensionId diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserInferenceClassificationOverride.md b/src/Mail/Mail/examples/v1.0/New-MgUserInferenceClassificationOverride.md index 0ed4d5c20b6..81373fc0b8f 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserInferenceClassificationOverride.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserInferenceClassificationOverride.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail $params = @{ ClassifyAs = "focused" diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolder.md b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolder.md index e7a9c5773ba..86428b05183 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolder.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail $params = @{ DisplayName = "Clutter" diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderChildFolder.md b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderChildFolder.md index 858ed9e7bef..1e6bd43d9ba 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderChildFolder.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderChildFolder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail $params = @{ DisplayName = "displayName-value" @@ -8,8 +8,8 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserMailFolderChildFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Mail $params = @{ "@odata.type" = "microsoft.graph.mailSearchFolder" diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessage.md b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessage.md index e5bb1205a81..cf469e90e30 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessage.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail $params = @{ ReceivedDateTime = [System.DateTime]::Parse("datetime-value") diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessageRule.md b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessageRule.md index a733053b018..8d56de19ddd 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessageRule.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessageRule.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail $params = @{ DisplayName = "From partner" diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMessage.md b/src/Mail/Mail/examples/v1.0/New-MgUserMessage.md index b53ba1c8c35..8f6c2d8c122 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMessage.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail $params = @{ Subject = "Did you see last night's game?" @@ -19,8 +19,8 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserMessage -UserId $userId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Mail $params = @{ Subject = "9/8/2018: concert" diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMessageAttachment.md b/src/Mail/Mail/examples/v1.0/New-MgUserMessageAttachment.md index 99dd5df562a..8f34b7dc6a2 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMessageAttachment.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMessageAttachment.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail $params = @{ "@odata.type" = "microsoft.graph.fileAttachment" @@ -12,8 +12,8 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserMessageAttachment -UserId $userId -MessageId $messageId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Mail $params = @{ "@odata.type" = "#microsoft.graph.fileAttachment" diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserInferenceClassificationOverride.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserInferenceClassificationOverride.md index ed294bcdd39..7d66082cbe3 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserInferenceClassificationOverride.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserInferenceClassificationOverride.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserInferenceClassificationOverride -UserId $userId -InferenceClassificationOverrideId $inferenceClassificationOverrideId diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolder.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolder.md index ec6e8d57233..5a735e9b969 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolder.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolderMessageRule.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolderMessageRule.md index a9cd2ed738d..7708ad05483 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolderMessageRule.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolderMessageRule.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserMailFolderMessageRule -UserId $userId -MailFolderId $mailFolderId -MessageRuleId $messageRuleId diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserMessage.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserMessage.md index 604829873e3..6fdb890c241 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserMessage.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserMessage.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserMessage -UserId $userId -MessageId $messageId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserMessage -UserId $userId -MessageId $messageId diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserMessageExtension.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserMessageExtension.md index f1b19817b69..42ae5bf6c33 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserMessageExtension.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserMessageExtension.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserMessageExtension -UserId $userId -MessageId $messageId -ExtensionId $extensionId diff --git a/src/Mail/Mail/examples/v1.0/Update-MgUserInferenceClassificationOverride.md b/src/Mail/Mail/examples/v1.0/Update-MgUserInferenceClassificationOverride.md index 4f2ca514ca8..dd1b0310b36 100644 --- a/src/Mail/Mail/examples/v1.0/Update-MgUserInferenceClassificationOverride.md +++ b/src/Mail/Mail/examples/v1.0/Update-MgUserInferenceClassificationOverride.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail $params = @{ ClassifyAs = "focused" diff --git a/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolder.md b/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolder.md index d4bdbbad49d..bdf1316e581 100644 --- a/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolder.md +++ b/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail $params = @{ DisplayName = "displayName-value" @@ -7,8 +7,8 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Mail $params = @{ "@odata.type" = "microsoft.graph.mailSearchFolder" diff --git a/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolderMessageRule.md b/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolderMessageRule.md index cb8e3310ece..605f003e950 100644 --- a/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolderMessageRule.md +++ b/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolderMessageRule.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail $params = @{ DisplayName = "Important from partner" diff --git a/src/Mail/Mail/examples/v1.0/Update-MgUserMessage.md b/src/Mail/Mail/examples/v1.0/Update-MgUserMessage.md index e4611e6302c..b11ce2d33fc 100644 --- a/src/Mail/Mail/examples/v1.0/Update-MgUserMessage.md +++ b/src/Mail/Mail/examples/v1.0/Update-MgUserMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Mail $params = @{ IsRead = $true @@ -7,8 +7,8 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Mail $params = @{ Subject = "subject-value" diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebook.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebook.md index 832398fd235..05c1ab754b7 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebook.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebook.md @@ -1,17 +1,17 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteNotebook -UserId $userId -NotebookId $notebookId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteNotebook -UserId $userId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteNotebook -UserId $userId -NotebookId $notebookId diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSection.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSection.md index 24eedc7ea7d..31d46778861 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSection.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSection.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteNotebookSection -UserId $userId -NotebookId $notebookId diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSectionGroup.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSectionGroup.md index 8512235d96c..44daad71305 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSectionGroup.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSectionGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteNotebookSectionGroup -UserId $userId -NotebookId $notebookId diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteOperation.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteOperation.md index c1412c058ea..38cdba5f8b3 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteOperation.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteOperation.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteOperation -UserId $userId -OnenoteOperationId $onenoteOperationId diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSection.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSection.md index 947f2ea7b6e..c6cdfe2ceb6 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSection.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSection.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteSection -UserId $userId -OnenoteSectionId $onenoteSectionId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteSection -UserId $userId diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroup.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroup.md index 2660c80da98..05d799a901f 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroup.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteSectionGroup -UserId $userId diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroupSection.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroupSection.md index 06fadf6f875..8186bb09d2a 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroupSection.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroupSection.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteSectionGroupSection -UserId $userId -SectionGroupId $sectionGroupId diff --git a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebook.md b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebook.md index 31b74b8a1ee..eea843256b6 100644 --- a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebook.md +++ b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebook.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Notes $params = @{ DisplayName = "My Private notebook" diff --git a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSection.md b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSection.md index b134aa6757a..d2477327e1e 100644 --- a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSection.md +++ b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSection.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Notes $params = @{ DisplayName = "Section name" diff --git a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSectionGroup.md b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSectionGroup.md index d414b08ba7b..a895e33f346 100644 --- a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSectionGroup.md +++ b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSectionGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Notes $params = @{ DisplayName = "Section group name" diff --git a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteSectionGroupSection.md b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteSectionGroupSection.md index 61b698a4c10..ca20d69074c 100644 --- a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteSectionGroupSection.md +++ b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteSectionGroupSection.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Notes $params = @{ DisplayName = "Section name" diff --git a/src/Notes/Notes/examples/v1.0/Remove-MgUserOnenotePage.md b/src/Notes/Notes/examples/v1.0/Remove-MgUserOnenotePage.md index 122974f0ba3..9e2eaeb93f1 100644 --- a/src/Notes/Notes/examples/v1.0/Remove-MgUserOnenotePage.md +++ b/src/Notes/Notes/examples/v1.0/Remove-MgUserOnenotePage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Remove-MgUserOnenotePage -UserId $userId -OnenotePageId $onenotePageId diff --git a/src/People/People/examples/v1.0/Get-MgUserPerson.md b/src/People/People/examples/v1.0/Get-MgUserPerson.md index d357857e615..9174033463b 100644 --- a/src/People/People/examples/v1.0/Get-MgUserPerson.md +++ b/src/People/People/examples/v1.0/Get-MgUserPerson.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.People # A UPN can also be used as -UserId. Get-MgUserPerson -UserId $userId diff --git a/src/People/People/examples/v1.0/Get-MgUserUsedInsight.md b/src/People/People/examples/v1.0/Get-MgUserUsedInsight.md index bd864a26326..f083d68161b 100644 --- a/src/People/People/examples/v1.0/Get-MgUserUsedInsight.md +++ b/src/People/People/examples/v1.0/Get-MgUserUsedInsight.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.People # A UPN can also be used as -UserId. Get-MgUserUsedInsight -UserId $userId -Sort "LastUsed/LastAccessedDateTime desc" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.People # A UPN can also be used as -UserId. Get-MgUserUsedInsight -UserId $userId diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContact.md index 9c642f1504f..ee5f7efbb0b 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContact.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContact -UserId $userId -ContactId $contactId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContact -UserId $userId diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolder.md index 82123776fab..f2d0284baf1 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolder.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContactFolder -UserId $userId -ContactFolderId $contactFolderId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContactFolder -UserId $userId diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderChildFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderChildFolder.md index 4313c6e97eb..dc99ff6715a 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderChildFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderChildFolder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContactFolderChildFolder -UserId $userId -ContactFolderId $contactFolderId diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderContact.md index f0e476adf46..97d2545d40d 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderContact.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContactFolderContact -UserId $userId -ContactFolderId $contactFolderId diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContact.md index 786a4f81cc1..8410ad0f243 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContact.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ GivenName = "Pavel" diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolder.md index ad1957f5874..c8ffb03b89d 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ ParentFolderId = "AQMkADIxYjJiYgEzLTFmNjYALTRjYTMtODA1NC0wZDkxZGNmOTcxNTQALgAAA8RJzXYaLKZPlmn0ge0edZkBADa3qi2IMXRNg6RwQSHe_F8AAAIBDgAAAA==" diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderChildFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderChildFolder.md index a98f12f461d..40b12df6671 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderChildFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderChildFolder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ DisplayName = "Family" diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderContact.md index eb6f8ebca6a..6708559bdc9 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderContact.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ ParentFolderId = "parentFolderId-value" diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContact.md index 4d272501798..e076f8a8289 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContact.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Remove-MgUserContact -UserId $userId -ContactId $contactId diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContactFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContactFolder.md index deb857260fb..148d3205dc8 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContactFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContactFolder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Remove-MgUserContactFolder -UserId $userId -ContactFolderId $contactFolderId diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContact.md index 875b3be2bf2..3ab70f92d82 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContact.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ HomeAddress = @{ diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContactFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContactFolder.md index 2273cb95a91..3eef6f035de 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContactFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContactFolder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ ParentFolderId = "parentFolderId-value" diff --git a/src/Planner/Planner/examples/v1.0/Get-MgGroupPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Get-MgGroupPlannerPlan.md index 0f4cff71c16..a98ed179ad1 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgGroupPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgGroupPlannerPlan.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner Get-MgGroupPlannerPlan -GroupId $groupId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlanner.md b/src/Planner/Planner/examples/v1.0/Get-MgPlanner.md index f0b5e60a9bc..0224144bd8b 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlanner.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlanner.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner Get-MgPlanner ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucket.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucket.md index 37154f4f0fd..dc477fd5cdf 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucket.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucket.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerBucket ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerBucket -PlannerBucketId $plannerBucketId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucketTask.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucketTask.md index 8e500ea7667..1c663f51123 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucketTask.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucketTask.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerBucketTask -PlannerBucketId $plannerBucketId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlan.md index fea21d72ec0..9991c60b5d7 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlan.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerPlan -PlannerPlanId $plannerPlanId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerPlan ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanBucket.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanBucket.md index 999294be657..49bec75952a 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanBucket.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanBucket.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerPlanBucket -PlannerPlanId $plannerPlanId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanDetail.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanDetail.md index 543a75e3e48..210e561949e 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanDetail.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanDetail.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerPlanDetail -PlannerPlanId $plannerPlanId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanTask.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanTask.md index cecde547587..18f430d8011 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanTask.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanTask.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerPlanTask -PlannerPlanId $plannerPlanId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTask.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTask.md index 58dbed30ce4..8c096d04310 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTask.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTask -PlannerTaskId $plannerTaskId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTask ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskAssignedToTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskAssignedToTaskBoardFormat.md index 9e17fd2c51a..68df60e31af 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskAssignedToTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskAssignedToTaskBoardFormat.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTaskAssignedToTaskBoardFormat -PlannerTaskId $plannerTaskId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskBucketTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskBucketTaskBoardFormat.md index 8ebb6bcebfe..e0d88d31403 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskBucketTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskBucketTaskBoardFormat.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTaskBucketTaskBoardFormat -PlannerTaskId $plannerTaskId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskDetail.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskDetail.md index 877689d4227..eeddf87decd 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskDetail.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskDetail.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTaskDetail -PlannerTaskId $plannerTaskId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskProgressTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskProgressTaskBoardFormat.md index 00661a0daa1..ec360648cee 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskProgressTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskProgressTaskBoardFormat.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTaskProgressTaskBoardFormat -PlannerTaskId $plannerTaskId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerPlan.md index ec0504b5222..fc97294181e 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerPlan.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner # A UPN can also be used as -UserId. Get-MgUserPlannerPlan -UserId $userId diff --git a/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerTask.md b/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerTask.md index 8dec8f81ae5..6a3808d068c 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerTask.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner # A UPN can also be used as -UserId. Get-MgUserPlannerTask -UserId $userId diff --git a/src/Planner/Planner/examples/v1.0/New-MgPlannerBucket.md b/src/Planner/Planner/examples/v1.0/New-MgPlannerBucket.md index 9519551e7c7..05dda00a05c 100644 --- a/src/Planner/Planner/examples/v1.0/New-MgPlannerBucket.md +++ b/src/Planner/Planner/examples/v1.0/New-MgPlannerBucket.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner $params = @{ Name = "Advertising" diff --git a/src/Planner/Planner/examples/v1.0/New-MgPlannerPlan.md b/src/Planner/Planner/examples/v1.0/New-MgPlannerPlan.md index 48c00e689ff..52cbacaed2a 100644 --- a/src/Planner/Planner/examples/v1.0/New-MgPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/New-MgPlannerPlan.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner $params = @{ Owner = "ebf3b108-5234-4e22-b93d-656d7dae5874" diff --git a/src/Planner/Planner/examples/v1.0/New-MgPlannerTask.md b/src/Planner/Planner/examples/v1.0/New-MgPlannerTask.md index 2e30c4285fe..69c062bade2 100644 --- a/src/Planner/Planner/examples/v1.0/New-MgPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/New-MgPlannerTask.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner $params = @{ PlanId = "xqQg5FS2LkCp935s-FIFm2QAFkHM" diff --git a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerBucket.md b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerBucket.md index 2968ae85863..97060b273a3 100644 --- a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerBucket.md +++ b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerBucket.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner Remove-MgPlannerBucket -PlannerBucketId $plannerBucketId-If-Match W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc=" ``` diff --git a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerPlan.md index 3e6d17db0d5..8948cabd2c0 100644 --- a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerPlan.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner Remove-MgPlannerPlan -PlannerPlanId $plannerPlanId-If-Match W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc=" ``` diff --git a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerTask.md b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerTask.md index d0e8b34b633..1ec81169e97 100644 --- a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerTask.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner Remove-MgPlannerTask -PlannerTaskId $plannerTaskId-If-Match W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc=" ``` diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerBucket.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerBucket.md index bbac40a4378..e0ff0844663 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerBucket.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerBucket.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner $params = @{ Name = "Development" diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlan.md index cd691e60a80..597926d6514 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlan.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner $params = @{ Title = "title-value" diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlanDetail.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlanDetail.md index 10d6caab661..68f7fb0b5b0 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlanDetail.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlanDetail.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner $params = @{ SharedWith = @{ diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTask.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTask.md index 67ce75aac3c..52af9c33d08 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTask.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner $params = @{ Assignments = @{ diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskAssignedToTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskAssignedToTaskBoardFormat.md index bd8abcdc7ba..4c0b8c88fd7 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskAssignedToTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskAssignedToTaskBoardFormat.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner $params = @{ OrderHintsByAssignee = @{ diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskBucketTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskBucketTaskBoardFormat.md index 13eb27399de..c948a794933 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskBucketTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskBucketTaskBoardFormat.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner $params = @{ OrderHint = "A6673H Ejkl!" diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskDetail.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskDetail.md index 7775a8926d9..c60c06865fc 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskDetail.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskDetail.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner $params = @{ PreviewType = "noPreview" diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskProgressTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskProgressTaskBoardFormat.md index 9867433abe3..c7a1b6d051a 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskProgressTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskProgressTaskBoardFormat.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Planner $params = @{ OrderHint = "A6673H Ejkl!" diff --git a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogDirectoryAudit.md b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogDirectoryAudit.md index 50d2c483b08..a53cd9d1933 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogDirectoryAudit.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogDirectoryAudit.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogDirectoryAudit -DirectoryAuditId $directoryAuditId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogDirectoryAudit ``` diff --git a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogProvisioning.md b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogProvisioning.md index 74d3d08a18d..1b5ab113835 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogProvisioning.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogProvisioning.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogProvisioning ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogProvisioning ``` diff --git a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogSignIn.md b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogSignIn.md index ec8816353dd..6e6b9956758 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogSignIn.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogSignIn.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogSignIn -SignInId $signInId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogSignIn -Filter "startsWith(appDisplayName,'Graph')" -Top 10 ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogSignIn ``` diff --git a/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByPrinter.md b/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByPrinter.md index 0a9198ce115..c714d49e802 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByPrinter.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByPrinter.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Reports Get-MgReportDailyPrintUsageByPrinter -PrintUsageByPrinterId $printUsageByPrinterId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Reports Get-MgReportDailyPrintUsageByPrinter ``` diff --git a/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByUser.md b/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByUser.md index e23309320d6..2c915071165 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByUser.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByUser.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Reports Get-MgReportDailyPrintUsageByUser -PrintUsageByUserId $printUsageByUserId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Reports Get-MgReportDailyPrintUsageByUser ``` diff --git a/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByPrinter.md b/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByPrinter.md index f8eb4bad521..c5af1250780 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByPrinter.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByPrinter.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Reports Get-MgReportMonthlyPrintUsageByPrinter ``` diff --git a/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByUser.md b/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByUser.md index 0006ea6859f..cd453d38d30 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByUser.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByUser.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Reports Get-MgReportMonthlyPrintUsageByUser ``` diff --git a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Get-MgSchemaExtension.md b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Get-MgSchemaExtension.md index 25d93e5f3ba..1afdcdca6e2 100644 --- a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Get-MgSchemaExtension.md +++ b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Get-MgSchemaExtension.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.SchemaExtensions Get-MgSchemaExtension -SchemaExtensionId $schemaExtensionId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.SchemaExtensions Get-MgSchemaExtension -Filter "id eq 'graphlearn_test'" ``` diff --git a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/New-MgSchemaExtension.md b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/New-MgSchemaExtension.md index 3ca0130c65a..621712f6793 100644 --- a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/New-MgSchemaExtension.md +++ b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/New-MgSchemaExtension.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.SchemaExtensions $params = @{ Id = "graphlearn_courses" @@ -24,8 +24,8 @@ $params = @{ } New-MgSchemaExtension -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.SchemaExtensions $params = @{ Id = "courses" @@ -50,8 +50,8 @@ $params = @{ } New-MgSchemaExtension -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.SchemaExtensions $params = @{ Id = "courses" diff --git a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Remove-MgSchemaExtension.md b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Remove-MgSchemaExtension.md index 71471d78f3c..06490fe5694 100644 --- a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Remove-MgSchemaExtension.md +++ b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Remove-MgSchemaExtension.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.SchemaExtensions Remove-MgSchemaExtension -SchemaExtensionId $schemaExtensionId ``` diff --git a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Update-MgSchemaExtension.md b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Update-MgSchemaExtension.md index 8b12ffcb251..50a5c2a5368 100644 --- a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Update-MgSchemaExtension.md +++ b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Update-MgSchemaExtension.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.SchemaExtensions $params = @{ Owner = "ef4cb9a8-97c3-4ca7-854b-5cb5ced376fa" @@ -24,8 +24,8 @@ $params = @{ } Update-MgSchemaExtension -SchemaExtensionId $schemaExtensionId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.SchemaExtensions $params = @{ Owner = "ef4cb9a8-97c3-4ca7-854b-5cb5ced376fa" diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnection.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnection.md index a7684d25fce..a51608ad906 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnection.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnection.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnection -ExternalConnectionId $externalConnectionId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnection ``` diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionGroup.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionGroup.md index 2b73c3c0666..33ea6a98318 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionGroup.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnectionGroup -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId ``` diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionItem.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionItem.md index 167370591be..c195949ded4 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionItem.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionItem.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnectionItem -ExternalConnectionId $externalConnectionId -ExternalItemId $externalItemId ``` diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionOperation.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionOperation.md index 0606de1d924..69162ecb857 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionOperation.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionOperation.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnectionOperation -ExternalConnectionId $externalConnectionId -ConnectionOperationId $connectionOperationId ``` diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionSchema.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionSchema.md index 9f9c28e076a..909a7715aec 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionSchema.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionSchema.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnectionSchema -ExternalConnectionId $externalConnectionId ``` diff --git a/src/Search/Search/examples/v1.0/New-MgExternalConnection.md b/src/Search/Search/examples/v1.0/New-MgExternalConnection.md index 5f605e321cb..6419a6cb0de 100644 --- a/src/Search/Search/examples/v1.0/New-MgExternalConnection.md +++ b/src/Search/Search/examples/v1.0/New-MgExternalConnection.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Search $params = @{ Id = "contosohr" diff --git a/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroup.md b/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroup.md index 214167830f4..75653ab7f39 100644 --- a/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroup.md +++ b/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Search $params = @{ Id = "31bea3d537902000" diff --git a/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroupMember.md b/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroupMember.md index f9622def219..a55dda2589c 100644 --- a/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroupMember.md +++ b/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroupMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Search $params = @{ Id = "e5477431-1038-484e-bf69-1dfedb97a110" @@ -7,8 +7,8 @@ $params = @{ } New-MgExternalConnectionGroupMember -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Search $params = @{ Id = "e811976d-83df-4cbd-8b9b-5215b18aa874" @@ -16,8 +16,8 @@ $params = @{ } New-MgExternalConnectionGroupMember -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Search $params = @{ Id = "1431b9c38ee647f6a" diff --git a/src/Search/Search/examples/v1.0/Remove-MgExternalConnection.md b/src/Search/Search/examples/v1.0/Remove-MgExternalConnection.md index f8e2ff5acd4..61fa06bfc6c 100644 --- a/src/Search/Search/examples/v1.0/Remove-MgExternalConnection.md +++ b/src/Search/Search/examples/v1.0/Remove-MgExternalConnection.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Search Remove-MgExternalConnection -ExternalConnectionId $externalConnectionId ``` diff --git a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroup.md b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroup.md index 603b3882cd3..76118170771 100644 --- a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroup.md +++ b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Search Remove-MgExternalConnectionGroup -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId ``` diff --git a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroupMember.md b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroupMember.md index 5bd77ca08bd..e041359f8ed 100644 --- a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroupMember.md +++ b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroupMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Search Remove-MgExternalConnectionGroupMember -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId -IdentityId $identityId ``` diff --git a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionItem.md b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionItem.md index 1518d7fcb42..f2502bd9870 100644 --- a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionItem.md +++ b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionItem.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Search Remove-MgExternalConnectionItem -ExternalConnectionId $externalConnectionId -ExternalItemId $externalItemId ``` diff --git a/src/Search/Search/examples/v1.0/Update-MgExternalConnection.md b/src/Search/Search/examples/v1.0/Update-MgExternalConnection.md index 77f9ceba958..4a3629d755e 100644 --- a/src/Search/Search/examples/v1.0/Update-MgExternalConnection.md +++ b/src/Search/Search/examples/v1.0/Update-MgExternalConnection.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Search $params = @{ Name = "Contoso HR Service Tickets" diff --git a/src/Search/Search/examples/v1.0/Update-MgExternalConnectionGroup.md b/src/Search/Search/examples/v1.0/Update-MgExternalConnectionGroup.md index 407231ba97e..71badded947 100644 --- a/src/Search/Search/examples/v1.0/Update-MgExternalConnectionGroup.md +++ b/src/Search/Search/examples/v1.0/Update-MgExternalConnectionGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Search $params = @{ DisplayName = "Contoso Marketing" diff --git a/src/Search/Search/examples/v1.0/Update-MgExternalConnectionItem.md b/src/Search/Search/examples/v1.0/Update-MgExternalConnectionItem.md index 82c04fde1c3..bfa6c384583 100644 --- a/src/Search/Search/examples/v1.0/Update-MgExternalConnectionItem.md +++ b/src/Search/Search/examples/v1.0/Update-MgExternalConnectionItem.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Search $params = @{ Acl = @( diff --git a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseCustodianHold.md b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseCustodianHold.md index 89f7e7ebfd3..2b9cf3c16b4 100644 --- a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseCustodianHold.md +++ b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseCustodianHold.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Add-MgSecurityCaseEdiscoveryCaseCustodianHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security Add-MgSecurityCaseEdiscoveryCaseCustodianHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md index b8d304930a4..e18c297e3b5 100644 --- a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md +++ b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` diff --git a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag.md b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag.md index 7c66d06c373..c2c5a48a8d2 100644 --- a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag.md +++ b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ TagsToAdd = @( diff --git a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md index 313f635daac..3b0f8418e84 100644 --- a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md +++ b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ Search = @{ diff --git a/src/Security/Security/examples/v1.0/Close-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Close-MgSecurityCaseEdiscoveryCase.md index 66b123738c9..70f0a257c93 100644 --- a/src/Security/Security/examples/v1.0/Close-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Close-MgSecurityCaseEdiscoveryCase.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Close-MgSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityAlert.md b/src/Security/Security/examples/v1.0/Get-MgSecurityAlert.md index a395fdcbd0e..099f86e789b 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityAlert.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityAlert.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityAlert -AlertId $alertId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityAlert ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCase.md index d045fb8a3b8..f5b0a884e22 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCase.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCase ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodian.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodian.md index 3dcf3a425de..deb8bb0dc23 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodian.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodian.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation.md index 107d1f1ee34..054d934fca5 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md index 2ee646bee1e..f16924a66bd 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md index 54530e8c91c..a55ad7e4a35 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource.md index 910e10232d9..047ca92e68a 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md index 3a0ac821f7d..b8b37734650 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -ExpandProperty "dataSource" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -ExpandProperty "dataSource" -OutFile $outFileId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId -ExpandProperty "dataSource" ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseOperation.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseOperation.md index 7e6046827b6..0b6f069bccc 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseOperation.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseOperation.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseOperation -EdiscoveryCaseId $ediscoveryCaseId -CaseOperationId $caseOperationId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseOperation -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSet.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSet.md index 3d72911400a..d8fc64a2e74 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSet.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSet.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseReviewSet -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseReviewSet -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md index bffa2654397..becf267f19f 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -EdiscoveryReviewSetQueryId $ediscoveryReviewSetQueryId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearch.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearch.md index c07f209fa58..c330bc76b68 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearch.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearch.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearch -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearch -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource.md index 3ace457162d..cf16513303c 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -OutFile $outFileId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource.md index 4ecef13e00f..799e222ba62 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation.md index 65159d17af7..469d82783c8 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource.md index 058e9bd76fc..406f721fa84 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSetting.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSetting.md index dbd386724ec..8c9b9df5a2e 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSetting.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSetting.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSetting -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md index 64fb3174a99..b614e74f7d4 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseTag -EdiscoveryCaseId $ediscoveryCaseId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseTag -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewTagId $ediscoveryReviewTagId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScore.md b/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScore.md index 2b344b21682..15f8c758ab3 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScore.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScore.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecuritySecureScore -SecureScoreId $secureScoreId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecuritySecureScore -Top 1 ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScoreControlProfile.md b/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScoreControlProfile.md index a723733cf14..33965f940dc 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScoreControlProfile.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScoreControlProfile.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecuritySecureScoreControlProfile -SecureScoreControlProfileId $secureScoreControlProfileId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security Get-MgSecuritySecureScoreControlProfile ``` diff --git a/src/Security/Security/examples/v1.0/Initialize-MgSecurityCaseEdiscoveryCaseCustodian.md b/src/Security/Security/examples/v1.0/Initialize-MgSecurityCaseEdiscoveryCaseCustodian.md index 340865ab8fe..e6d27df293b 100644 --- a/src/Security/Security/examples/v1.0/Initialize-MgSecurityCaseEdiscoveryCaseCustodian.md +++ b/src/Security/Security/examples/v1.0/Initialize-MgSecurityCaseEdiscoveryCaseCustodian.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Initialize-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md b/src/Security/Security/examples/v1.0/Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md index d3114a823fe..07e67503d62 100644 --- a/src/Security/Security/examples/v1.0/Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md +++ b/src/Security/Security/examples/v1.0/Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md b/src/Security/Security/examples/v1.0/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md index 2cc263bdf39..02e16aa28c4 100644 --- a/src/Security/Security/examples/v1.0/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md +++ b/src/Security/Security/examples/v1.0/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` diff --git a/src/Security/Security/examples/v1.0/Invoke-MgReopenSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Invoke-MgReopenSecurityCaseEdiscoveryCase.md index 9bdeb1983c9..64ef4525245 100644 --- a/src/Security/Security/examples/v1.0/Invoke-MgReopenSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Invoke-MgReopenSecurityCaseEdiscoveryCase.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Invoke-MgReopenSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCase.md index f3366f2c6ca..3adb979e55f 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCase.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ DisplayName = "CONTOSO LITIGATION-005" diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodian.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodian.md index e37d0c78922..7392ef693e7 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodian.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodian.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ Email = "AdeleV@contoso.com" diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md index 042ae545c72..d7e83425c65 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ Site = @{ diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md index 7214007081a..65152c41329 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ Group = @{ @@ -9,8 +9,8 @@ $params = @{ } New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ "Group@odata.bind" = "https://graph.microsoft.com/v1.0/groups/93f90172-fe05-43ea-83cf-ff785a40d610" @@ -18,8 +18,8 @@ $params = @{ } New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ "Group@odata.bind" = "https://graph.microsoft.com/v1.0/groups/93f90172-fe05-43ea-83cf-ff785a40d610" diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md index 01bc610d8fb..57caf521d29 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ DataSource = @{ diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSet.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSet.md index 60dd5d15264..7a113a212cb 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSet.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSet.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ DisplayName = "My review set 2" diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md index e84c8d96cd9..4d651519dee 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ DisplayName = "My Query 1" diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseSearch.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseSearch.md index d469d41c407..c9479cb7c43 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseSearch.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseSearch.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ DisplayName = "My search 2" diff --git a/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseCustodian.md b/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseCustodian.md index e9128aa2120..7c625fdf424 100644 --- a/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseCustodian.md +++ b/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseCustodian.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Publish-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md b/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md index cae371326cd..580fb2205b6 100644 --- a/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md +++ b/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCase.md index eea2f54f644..8edb867a084 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCase.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseCustodianHold.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseCustodianHold.md index d2bd47984cc..492a1bcdc2f 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseCustodianHold.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseCustodianHold.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseCustodianHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md index d0cfa1eb62e..46eddab98c1 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md index 8b4a56c073f..472ede3153e 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -EdiscoveryReviewSetQueryId $ediscoveryReviewSetQueryId ``` diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseSearch.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseSearch.md index 1f136b1d8ff..4829d3dcffd 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseSearch.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseSearch.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseSearch -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseTag.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseTag.md index ba2d8cc0d37..fe8fa3e369b 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseTag.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseTag.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseTag -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewTagId $ediscoveryReviewTagId ``` diff --git a/src/Security/Security/examples/v1.0/Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault.md b/src/Security/Security/examples/v1.0/Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault.md index 7dc6023bd5d..af1feb0fb9b 100644 --- a/src/Security/Security/examples/v1.0/Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault.md +++ b/src/Security/Security/examples/v1.0/Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityAlert.md b/src/Security/Security/examples/v1.0/Update-MgSecurityAlert.md index 29c93824fab..37f6b1f6368 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityAlert.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityAlert.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ AssignedTo = "String" @@ -19,8 +19,8 @@ $params = @{ } Update-MgSecurityAlert -AlertId $alertId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ AssignedTo = "String" diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCase.md index d910c3709a8..d1580828f14 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCase.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ DisplayName = "My Case 1 - Renamed" diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseCustodianIndex.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseCustodianIndex.md index 6f921592d1a..77dccd9866f 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseCustodianIndex.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseCustodianIndex.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Update-MgSecurityCaseEdiscoveryCaseCustodianIndex -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md index 410299c7c21..27bf9d0ed55 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md index 3b27d34cd72..fd6a3fd5e5f 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ DisplayName = "My Query 1 (update)" diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSearch.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSearch.md index 6c942baac3d..404a5a57095 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSearch.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSearch.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ DisplayName = "Teams search" diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSetting.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSetting.md index 05759704908..8f657d1faed 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSetting.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSetting.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ "@odata.type" = "#microsoft.graph.security.ediscoveryCaseSettings" diff --git a/src/Security/Security/examples/v1.0/Update-MgSecuritySecureScoreControlProfile.md b/src/Security/Security/examples/v1.0/Update-MgSecuritySecureScoreControlProfile.md index cfdd82ceacc..1c2b5715d53 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecuritySecureScoreControlProfile.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecuritySecureScoreControlProfile.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ AssignedTo = "" @@ -14,8 +14,8 @@ $params = @{ } Update-MgSecuritySecureScoreControlProfile -SecureScoreControlProfileId $secureScoreControlProfileId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Security $params = @{ AssignedTo = "" diff --git a/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopy.md b/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopy.md index 7760ddb3749..dbca81af84b 100644 --- a/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopy.md +++ b/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopy.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ ContentType = "https://graph.microsoft.com/v1.0/sites/{site-id}/contentTypes/0x0101" diff --git a/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopyFromContentTypeHub.md b/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopyFromContentTypeHub.md index 595909e1d44..a6d507c2e65 100644 --- a/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopyFromContentTypeHub.md +++ b/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopyFromContentTypeHub.md @@ -1,21 +1,21 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ ContentTypeId = "0x0101" } Add-MgSiteListContentTypeCopyFromContentTypeHub -SiteId $siteId -ListId $listId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ ContentTypeId = "0x0101" } Add-MgSiteListContentTypeCopyFromContentTypeHub -SiteId $siteId -ListId $listId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ ContentTypeId = "0x0101" diff --git a/src/Sites/Sites/examples/v1.0/Copy-MgSiteContentTypeToDefaultContentLocation.md b/src/Sites/Sites/examples/v1.0/Copy-MgSiteContentTypeToDefaultContentLocation.md index e25b00e2c5d..522493abb38 100644 --- a/src/Sites/Sites/examples/v1.0/Copy-MgSiteContentTypeToDefaultContentLocation.md +++ b/src/Sites/Sites/examples/v1.0/Copy-MgSiteContentTypeToDefaultContentLocation.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ SourceFile = @{ diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSite.md b/src/Sites/Sites/examples/v1.0/Get-MgSite.md index 115edb774ef..1fe9bc23960 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSite.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSite.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSite -SiteId $siteId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSite -Search "{query}" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSite -Search "{query}" -OutFile $outFileId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteColumn.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteColumn.md index d96ff3ab847..0a566e41e4f 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteColumn.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteColumn.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteColumn -SiteId $siteId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteContentType.md index ee642f6195f..b0548c7736c 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteContentType.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteContentType -SiteId $siteId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteContentType -SiteId $siteId -OutFile $outFileId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteContentTypeColumn.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteContentTypeColumn.md index f6ae22c2c06..ddf248f6ee3 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteContentTypeColumn.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteContentTypeColumn.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteContentTypeColumn -SiteId $siteId -ContentTypeId $contentTypeId -ColumnDefinitionId $columnDefinitionId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteContentTypeColumn -SiteId $siteId -ContentTypeId $contentTypeId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteDefaultDrive.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteDefaultDrive.md index 38b8973c43a..f43ecf68739 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteDefaultDrive.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteDefaultDrive.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteDefaultDrive -SiteId $siteId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md index 0d3b3f5136e..3d448ad9706 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteDrive -SiteId $siteId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteList.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteList.md index 2295fe8b4d8..480cf7ffaa1 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteList.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteList.md @@ -1,30 +1,30 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId -ListId $listId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId -ListId $listId ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId -ListId $listId -Property "id,name,lastModifiedDateTime" -ExpandProperty "columns(select=name,description),items)" ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId -ListId $listId ``` -###Example 6 -``` +### Example 6 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId -ListId $listId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListColumn.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListColumn.md index 419462af2da..b01586ed665 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListColumn.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListColumn.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListColumn -SiteId $siteId -ListId $listId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentType.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentType.md index cb235b05033..8dd52485a92 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentType.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentType.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListContentType -SiteId $siteId -ListId $listId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentTypeCompatibleHubContentType.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentTypeCompatibleHubContentType.md index edfbf6a5450..df08f56cada 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentTypeCompatibleHubContentType.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentTypeCompatibleHubContentType.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListContentTypeCompatibleHubContentType -SiteId $siteId -ListId $listId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItem.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItem.md index 152b1184157..498cb5fcd07 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItem.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItem.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListItem -SiteId $siteId -ListId $listId -ListItemId $listItemId -ExpandProperty "fields" ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemDocumentSetVersion.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemDocumentSetVersion.md index 7838bc51584..8745b2e6916 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemDocumentSetVersion.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemDocumentSetVersion.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -DocumentSetVersionId $documentSetVersionId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemVersion.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemVersion.md index 0bb722a345f..0a88110d67b 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemVersion.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemVersion.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListItemVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListItemVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -ListItemVersionId $listItemVersionId -ExpandProperty "fields" ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSitePermission.md b/src/Sites/Sites/examples/v1.0/Get-MgSitePermission.md index 054adde64b3..07f016fae21 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSitePermission.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSitePermission.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSitePermission -SiteId $siteId -PermissionId $permissionId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSitePermission -SiteId $siteId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStore.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStore.md index e3d2239eccb..584bb8a6b85 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStore.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStore.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStore -SiteId $siteId -OutFile $outFileId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroup.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroup.md index 0f085e00b22..631f71241c9 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroup.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroup.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreGroup -SiteId $siteId -OutFile $outFileId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreGroup -SiteId $siteId -GroupId $groupId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreGroup -SiteId $siteId -GroupId $groupId -Property "*,parentSiteId" ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSet.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSet.md index b346c971ef1..a48437d4b96 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSet.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSet.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreGroupSet -SiteId $siteId -GroupId $groupId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSetTerm.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSetTerm.md index 4e72436674b..0872e0a0eeb 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSetTerm.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSetTerm.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreGroupSetTerm -SiteId $siteId -GroupId $groupId -SetId $setId -TermId $termId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSet.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSet.md index 48f95e21a59..4119a85e788 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSet.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSet.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreSet -SiteId $siteId -SetId $setId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetChild.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetChild.md index 87224133f78..35e12b1de64 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetChild.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetChild.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreSetChild -SiteId $siteId -SetId $setId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetRelation.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetRelation.md index 80acd3bc887..e45d6270493 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetRelation.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetRelation.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreSetRelation -SiteId $siteId -SetId $setId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSubSite.md b/src/Sites/Sites/examples/v1.0/Get-MgSubSite.md index 6a3a808ee9c..5d79d0b61bc 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSubSite.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSubSite.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Get-MgSubSite -SiteId $siteId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgUserFollowedSite.md b/src/Sites/Sites/examples/v1.0/Get-MgUserFollowedSite.md index ec464f93a01..a46e0825c32 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgUserFollowedSite.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgUserFollowedSite.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites # A UPN can also be used as -UserId. Get-MgUserFollowedSite -UserId $userId diff --git a/src/Sites/Sites/examples/v1.0/Join-MgSiteContentTypeWithHubSite.md b/src/Sites/Sites/examples/v1.0/Join-MgSiteContentTypeWithHubSite.md index 31c081a2221..2cb29fae941 100644 --- a/src/Sites/Sites/examples/v1.0/Join-MgSiteContentTypeWithHubSite.md +++ b/src/Sites/Sites/examples/v1.0/Join-MgSiteContentTypeWithHubSite.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ HubSiteUrls = @( diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteColumn.md b/src/Sites/Sites/examples/v1.0/New-MgSiteColumn.md index 6a6d06c3a5b..173d58cbd6f 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteColumn.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteColumn.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ Description = "test" diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/New-MgSiteContentType.md index 93c80afa0a5..817f191ee1c 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteContentType.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ Name = "docSet" diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteContentTypeColumn.md b/src/Sites/Sites/examples/v1.0/New-MgSiteContentTypeColumn.md index 57b3ee39c90..853b9f57cb6 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteContentTypeColumn.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteContentTypeColumn.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ "SourceColumn@odata.bind" = "https://graph.microsoft.com/v1.0/sites/root/columns/99ddcf45-e2f7-4f17-82b0-6fba34445103" diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteList.md b/src/Sites/Sites/examples/v1.0/New-MgSiteList.md index 8200c2a654e..2ab69a16f53 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteList.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteList.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ DisplayName = "Books" diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteListColumn.md b/src/Sites/Sites/examples/v1.0/New-MgSiteListColumn.md index 8a475fa884d..0321438d88a 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteListColumn.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteListColumn.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ Description = "test" diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteListItem.md b/src/Sites/Sites/examples/v1.0/New-MgSiteListItem.md index 5a2caafa6ea..3dfb6805baf 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteListItem.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteListItem.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ Fields = @{ diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteListItemDocumentSetVersion.md b/src/Sites/Sites/examples/v1.0/New-MgSiteListItemDocumentSetVersion.md index b8e06175e28..e39ff1b6152 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteListItemDocumentSetVersion.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteListItemDocumentSetVersion.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ Comment = "v1" diff --git a/src/Sites/Sites/examples/v1.0/New-MgSitePermission.md b/src/Sites/Sites/examples/v1.0/New-MgSitePermission.md index 02e2b76cf6d..6a0ba332377 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSitePermission.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSitePermission.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ Roles = @( diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreGroup.md b/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreGroup.md index 869453fee7f..10a9fed0bcf 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreGroup.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ DisplayName = "myGroup" diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreSetChild.md b/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreSetChild.md index c90bd1c9df1..c72edaddc4a 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreSetChild.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreSetChild.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ Labels = @( diff --git a/src/Sites/Sites/examples/v1.0/Publish-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Publish-MgSiteContentType.md index cb2fcd908f8..593afdd3460 100644 --- a/src/Sites/Sites/examples/v1.0/Publish-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Publish-MgSiteContentType.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Publish-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId ``` diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentType.md index 81179f03694..9c13eac286c 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentType.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId ``` diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentTypeColumn.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentTypeColumn.md index c9063990266..6d0b71a4130 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentTypeColumn.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentTypeColumn.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteContentTypeColumn -SiteId $siteId -ContentTypeId $contentTypeId -ColumnDefinitionId $columnDefinitionId ``` diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItem.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItem.md index 0053edfd143..557b69c122f 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItem.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItem.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteListItem -SiteId $siteId -ListId $listId -ListItemId $listItemId ``` diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItemDocumentSetVersion.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItemDocumentSetVersion.md index d2de8fed9a5..24c1b5ee959 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItemDocumentSetVersion.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItemDocumentSetVersion.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -DocumentSetVersionId $documentSetVersionId ``` diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSitePermission.md b/src/Sites/Sites/examples/v1.0/Remove-MgSitePermission.md index 9705b223617..861aa2ebb78 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSitePermission.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSitePermission.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Remove-MgSitePermission -SiteId $siteId -PermissionId $permissionId ``` diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreGroup.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreGroup.md index b7fbb5ff453..753ab023046 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreGroup.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteTermStoreGroup -SiteId $siteId -GroupId $groupId ``` diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSet.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSet.md index b28805fb328..1c794218884 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSet.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSet.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteTermStoreSet -SiteId $siteId -SetId $setId ``` diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSetTerm.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSetTerm.md index ec746c7826c..41d429a7e4a 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSetTerm.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSetTerm.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteTermStoreSetTerm -SiteId $siteId -SetId $setId -TermId $termId ``` diff --git a/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemDocumentSetVersion.md b/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemDocumentSetVersion.md index c121870c7c2..10ecb11b1d6 100644 --- a/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemDocumentSetVersion.md +++ b/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemDocumentSetVersion.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Restore-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -DocumentSetVersionId $documentSetVersionId ``` diff --git a/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemVersion.md b/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemVersion.md index 03e41ae7af1..776aebbbbb2 100644 --- a/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemVersion.md +++ b/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemVersion.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Restore-MgSiteListItemVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -ListItemVersionId $listItemVersionId ``` diff --git a/src/Sites/Sites/examples/v1.0/Test-MgSiteContentTypePublished.md b/src/Sites/Sites/examples/v1.0/Test-MgSiteContentTypePublished.md index 49c0c4b7dc1..acb06e5249f 100644 --- a/src/Sites/Sites/examples/v1.0/Test-MgSiteContentTypePublished.md +++ b/src/Sites/Sites/examples/v1.0/Test-MgSiteContentTypePublished.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Test-MgSiteContentTypePublished -SiteId $siteId -ContentTypeId $contentTypeId ``` diff --git a/src/Sites/Sites/examples/v1.0/Unpublish-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Unpublish-MgSiteContentType.md index a8b625d49f7..471602b1cb5 100644 --- a/src/Sites/Sites/examples/v1.0/Unpublish-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Unpublish-MgSiteContentType.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites Unpublish-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId ``` diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteContentType.md index b32a2dd5a26..91f9654eb1f 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteContentType.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ Name = "updatedCt" diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteListItemField.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteListItemField.md index 3328c8ebea1..12cf2c4261b 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteListItemField.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteListItemField.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ Color = "Fuchsia" diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSitePermission.md b/src/Sites/Sites/examples/v1.0/Update-MgSitePermission.md index f1705473133..22f8cddc7c7 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSitePermission.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSitePermission.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ Roles = @( diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStore.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStore.md index 32d96d89637..2184fff05b9 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStore.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStore.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ DefaultLanguageTag = "en-US" diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSet.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSet.md index 4aa196a3dec..9d4827ea692 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSet.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSet.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ Description = "mySet" diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSetTerm.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSetTerm.md index 738f4d16d93..07de568b808 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSetTerm.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSetTerm.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Sites $params = @{ Labels = @( diff --git a/src/Teams/Teams/examples/v1.0/Add-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/Add-MgTeamMember.md index c4007741b61..cd51055899b 100644 --- a/src/Teams/Teams/examples/v1.0/Add-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/Add-MgTeamMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Values = @( @@ -20,8 +20,8 @@ $params = @{ } Add-MgTeamMember -TeamId $teamId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Values = @( @@ -42,8 +42,8 @@ $params = @{ } Add-MgTeamMember -TeamId $teamId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Values = @( diff --git a/src/Teams/Teams/examples/v1.0/Complete-MgTeamChannelMigration.md b/src/Teams/Teams/examples/v1.0/Complete-MgTeamChannelMigration.md index ffdb8f46faf..bcefc811e24 100644 --- a/src/Teams/Teams/examples/v1.0/Complete-MgTeamChannelMigration.md +++ b/src/Teams/Teams/examples/v1.0/Complete-MgTeamChannelMigration.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Complete-MgTeamChannelMigration -TeamId $teamId -ChannelId $channelId ``` diff --git a/src/Teams/Teams/examples/v1.0/Complete-MgTeamMigration.md b/src/Teams/Teams/examples/v1.0/Complete-MgTeamMigration.md index 8338e797fed..e50d9cbc1f0 100644 --- a/src/Teams/Teams/examples/v1.0/Complete-MgTeamMigration.md +++ b/src/Teams/Teams/examples/v1.0/Complete-MgTeamMigration.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Complete-MgTeamMigration -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Copy-MgTeam.md b/src/Teams/Teams/examples/v1.0/Copy-MgTeam.md index e39dfd8af99..2040b5c8856 100644 --- a/src/Teams/Teams/examples/v1.0/Copy-MgTeam.md +++ b/src/Teams/Teams/examples/v1.0/Copy-MgTeam.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "Library Assist" diff --git a/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamApp.md b/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamApp.md index 54d5e98b314..2daae47c931 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamApp.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamApp.md @@ -1,25 +1,25 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamApp -Filter "externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee'" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamApp -Filter "id eq 'b1c5353a-7aca-41b3-830f-27d5218fe0e5'" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamApp -ExpandProperty "appDefinitions(`$expand=bot)" -Filter "appDefinitions/any(a:a/bot ne null)" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamApp -Filter "id eq '876df28f-2e78-423b-94a5-44181bd0e225'" -ExpandProperty "appDefinitions" ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamApp -Filter "distributionMethod eq 'organization'" ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md b/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md index b6d4929d0f7..b2a34536926 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamAppDefinitionBot -TeamsAppId $teamsAppId -TeamsAppDefinitionId $teamsAppDefinitionId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChat.md b/src/Teams/Teams/examples/v1.0/Get-MgChat.md index 954db3db5ae..cdb8049d07d 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChat.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChat.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChat -ChatId $chatId -ExpandProperty "members" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChat -ChatId $chatId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChat -ChatId $chatId ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChat -Sort "lastMessagePreview/createdDateTime desc" ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatInstalledApp.md b/src/Teams/Teams/examples/v1.0/Get-MgChatInstalledApp.md index e154133c08c..56fe7e6b87c 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatInstalledApp.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChatInstalledApp -ChatId $chatId -TeamsAppInstallationId $teamsAppInstallationId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChatInstalledApp -ChatId $chatId -ExpandProperty "teamsApp,teamsAppDefinition" -Filter "teamsApp/externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee'" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChatInstalledApp -ChatId $chatId -ExpandProperty "teamsAppDefinition(`$expand=bot)" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChatInstalledApp -ChatId $chatId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatMember.md b/src/Teams/Teams/examples/v1.0/Get-MgChatMember.md index bf35e5ca7de..c65a5af5d8c 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatMember.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChatMember -ChatId $chatId -ConversationMemberId $conversationMemberId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChatMember -ChatId $chatId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatMessage.md b/src/Teams/Teams/examples/v1.0/Get-MgChatMessage.md index f038ea6eb04..8f034a85a5b 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatMessage.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatMessage.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChatMessage -ChatId $chatId -Top 2 ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChatMessage -ChatId $chatId -ChatMessageId $chatMessageId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatMessageHostedContent.md b/src/Teams/Teams/examples/v1.0/Get-MgChatMessageHostedContent.md index 3952f5e08eb..505ad86b3d6 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatMessageHostedContent.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatMessageHostedContent.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChatMessageHostedContent -ChatId $chatId -ChatMessageId $chatMessageId -ChatMessageHostedContentId $chatMessageHostedContentId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChatMessageHostedContent -ChatId $chatId -ChatMessageId $chatMessageId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatTab.md b/src/Teams/Teams/examples/v1.0/Get-MgChatTab.md index e7d463d9a45..9b30fced93e 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatTab.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatTab.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChatTab -ChatId $chatId -TeamsTabId $teamsTabId -ExpandProperty "teamsApp" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChatTab -ChatId $chatId -ExpandProperty "teamsApp" -Filter "teamsApp/id eq 'com.microsoft.teamspace.tab.web'" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgChatTab -ChatId $chatId -ExpandProperty "teamsApp" ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeam.md b/src/Teams/Teams/examples/v1.0/Get-MgTeam.md index 34b07f8ace0..7afe9e4141d 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeam.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeam.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeam -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannel.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannel.md index f570952329f..0477f565852 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannel.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannel.md @@ -1,25 +1,25 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannel -TeamId $teamId -ChannelId $channelId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannel -TeamId $teamId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannel -TeamId $teamId -Filter "membershipType eq 'shared'" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannel -TeamId $teamId ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannel -TeamId $teamId -Filter "membershipType eq 'private'" ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelFileFolder.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelFileFolder.md index 30057564770..a56ea7f6076 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelFileFolder.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelFileFolder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelFileFolder -TeamId $teamId -ChannelId $channelId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMember.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMember.md index 4757920df66..890c0325656 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMember.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -ConversationMemberId $conversationMemberId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessage.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessage.md index 74b7d0d1081..1ce3e304d5b 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessage.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessage.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessage -TeamId $teamId -Filter "lastModifiedDateTime gt 2019-11-01T00:00:00Z and lastModifiedDateTime lt 2021-11-01T00:00:00Z" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -Top 3 ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageHostedContent.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageHostedContent.md index 4c9d6a122d0..9a1d51f12ea 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageHostedContent.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageHostedContent.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessageHostedContent -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReply.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReply.md index 5ce4a07e5ce..c8f912f1e64 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReply.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReply.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessageReply -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReplyHostedContent.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReplyHostedContent.md index 1a6d8fad2b1..a4a234fe1b9 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReplyHostedContent.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReplyHostedContent.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessageReplyHostedContent -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId -ChatMessageId1 $chatMessageId1 ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeam.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeam.md index 1eeac98d5fa..a79a0709590 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeam.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeam.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelSharedWithTeam -TeamId $teamId -ChannelId $channelId -SharedWithChannelTeamInfoId $sharedWithChannelTeamInfoId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelSharedWithTeam -TeamId $teamId -ChannelId $channelId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeamAllowedMember.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeamAllowedMember.md index af69f8001d4..749b9153755 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeamAllowedMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeamAllowedMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelSharedWithTeamAllowedMember -TeamId $teamId -ChannelId $channelId -SharedWithChannelTeamInfoId $sharedWithChannelTeamInfoId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelTab.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelTab.md index 4d6377cfaac..7b4c38e2430 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelTab.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelTab.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelTab -TeamId $teamId -ChannelId $channelId -ExpandProperty "teamsApp" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelTab -TeamId $teamId -ChannelId $channelId -ExpandProperty "teamsApp" -Filter "teamsApp/id eq 'com.microsoft.teamspace.tab.planner'" ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamIncomingChannel.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamIncomingChannel.md index 3122beb405b..cfc6c74b288 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamIncomingChannel.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamIncomingChannel.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamIncomingChannel -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamInstalledApp.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamInstalledApp.md index 14ef7193f18..483194f6b7c 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamInstalledApp.md @@ -1,25 +1,25 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId -ExpandProperty "teamsAppDefinition" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamInstalledApp -TeamId $teamId -ExpandProperty "teamsApp,teamsAppDefinition" -Filter "teamsApp/externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee'" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamInstalledApp -TeamId $teamId ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamInstalledApp -TeamId $teamId -ExpandProperty "teamsAppDefinition" ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamMember.md index 6e4468d5a58..ae0b6af428a 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamMember.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamMember -TeamId $teamId -Filter "(microsoft.graph.aadUserConversationMember/userId eq '73761f06-2ac9-469c-9f10-279a8cc267f9')" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamMember -TeamId $teamId -Filter "(microsoft.graph.aadUserConversationMember/displayName eq 'Harry Johnson' or microsoft.graph.aadUserConversationMember/email eq 'admin@M365x987948.OnMicrosoft.com')" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamMember -TeamId $teamId ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamMember -TeamId $teamId -ConversationMemberId $conversationMemberId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamPrimaryChannel.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamPrimaryChannel.md index 73bdd502f2c..00abb3de8a2 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamPrimaryChannel.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamPrimaryChannel.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamPrimaryChannel -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamSchedule.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamSchedule.md index a64d69342cd..ec060b74d9c 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamSchedule.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamSchedule.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamSchedule -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOfferShiftRequest.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOfferShiftRequest.md index e8c5bbdec8d..c37958adfa4 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOfferShiftRequest.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOfferShiftRequest.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOfferShiftRequest -TeamId $teamId -OfferShiftRequestId $offerShiftRequestId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOfferShiftRequest -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShift.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShift.md index b1da6b80f67..9d978906033 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShift.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShift.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOpenShift -TeamId $teamId -OpenShiftId $openShiftId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOpenShift -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShiftChangeRequest.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShiftChangeRequest.md index d31d0aea801..239575001c8 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShiftChangeRequest.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShiftChangeRequest.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOpenShiftChangeRequest -TeamId $teamId -OpenShiftChangeRequestId $openShiftChangeRequestId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOpenShiftChangeRequest -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSchedulingGroup.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSchedulingGroup.md index 69d83b7a313..f68f790047d 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSchedulingGroup.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSchedulingGroup.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleSchedulingGroup -TeamId $teamId -SchedulingGroupId $schedulingGroupId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleSchedulingGroup -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleShift.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleShift.md index 61e595d7a8f..310d1bb1ebb 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleShift.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleShift.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleShift -TeamId $teamId -Filter "sharedShift/startDateTime ge 2019-03-11T00:00:00.000Z and sharedShift/endDateTime le 2019-03-18T00:00:00.000Z and draftShift/startDateTime ge 2019-03-11T00:00:00.000Z and draftShift/endDateTime le 2019-03-18T00:00:00.000Z" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleShift -TeamId $teamId -ShiftId $shiftId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSwapShiftChangeRequest.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSwapShiftChangeRequest.md index 2cd81fe4fd7..391ccae112c 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSwapShiftChangeRequest.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSwapShiftChangeRequest.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleSwapShiftChangeRequest -TeamId $teamId -SwapShiftsChangeRequestId $swapShiftsChangeRequestId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleSwapShiftChangeRequest -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOff.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOff.md index 0aa698bdf00..a70bf8e2e54 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOff.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOff.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOff -TeamId $teamId -Filter "sharedTimeOff/startDateTime ge 2019-03-11T00:00:00.000Z and sharedTimeOff/endDateTime le 2019-03-18T00:00:00.000Z and draftTimeOff/startDateTime ge 2019-03-11T00:00:00.000Z and draftTimeOff/endDateTime le 2019-03-18T00:00:00.000Z" ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOff -TeamId $teamId -TimeOffId $timeOffId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffReason.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffReason.md index fbe91f7da7f..e345150417e 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffReason.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffReason.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOffReason -TeamId $teamId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOffReason -TeamId $teamId -TimeOffReasonId $timeOffReasonId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffRequest.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffRequest.md index 8665719ed14..ad8f6daaa4f 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffRequest.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffRequest.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOffRequest -TeamId $teamId -TimeOffRequestId $timeOffRequestId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOffRequest -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamworkWorkforceIntegration.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamworkWorkforceIntegration.md index 2348d944408..d1dccc6f0f1 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamworkWorkforceIntegration.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamworkWorkforceIntegration.md @@ -1,10 +1,10 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamworkWorkforceIntegration -WorkforceIntegrationId $workforceIntegrationId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgTeamworkWorkforceIntegration ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserChat.md b/src/Teams/Teams/examples/v1.0/Get-MgUserChat.md index 9be43251e53..f3d1672147f 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserChat.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserChat.md @@ -1,15 +1,15 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgUserChat -UserId $userId -ChatId $chatId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgUserChat -UserId $userId -ExpandProperty "members" ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgUserChat -UserId $userId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserChatMember.md b/src/Teams/Teams/examples/v1.0/Get-MgUserChatMember.md index b4cce8a5cc6..6a2547a35ec 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserChatMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserChatMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams # A UPN can also be used as -UserId. Get-MgUserChatMember -UserId $userId -ChatId $chatId diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserJoinedTeam.md b/src/Teams/Teams/examples/v1.0/Get-MgUserJoinedTeam.md index d109a9dd4f2..8be81793df0 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserJoinedTeam.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserJoinedTeam.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams # A UPN can also be used as -UserId. Get-MgUserJoinedTeam -UserId $userId diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkAssociatedTeam.md b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkAssociatedTeam.md index 0990e662d5e..e68cfda9923 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkAssociatedTeam.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkAssociatedTeam.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams # A UPN can also be used as -UserId. Get-MgUserTeamworkAssociatedTeam -UserId $userId diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledApp.md b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledApp.md index 9cc10598e17..118a9a3db3c 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledApp.md @@ -1,20 +1,20 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgUserTeamworkInstalledApp -UserId $userId -UserScopeTeamsAppInstallationId $userScopeTeamsAppInstallationId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgUserTeamworkInstalledApp -UserId $userId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgUserTeamworkInstalledApp -UserId $userId -ExpandProperty "teamsApp,teamsAppDefinition" -Filter "teamsApp/externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee'" ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgUserTeamworkInstalledApp -UserId $userId -ExpandProperty "teamsAppDefinition" ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledAppChat.md b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledAppChat.md index e510a6a7469..4f44f7c31ee 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledAppChat.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledAppChat.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Get-MgUserTeamworkInstalledAppChat -UserId $userId -UserScopeTeamsAppInstallationId $userScopeTeamsAppInstallationId ``` diff --git a/src/Teams/Teams/examples/v1.0/Invoke-MgArchiveTeam.md b/src/Teams/Teams/examples/v1.0/Invoke-MgArchiveTeam.md index 58a8dc06fb8..621f47573e4 100644 --- a/src/Teams/Teams/examples/v1.0/Invoke-MgArchiveTeam.md +++ b/src/Teams/Teams/examples/v1.0/Invoke-MgArchiveTeam.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Invoke-MgArchiveTeam -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Invoke-MgShareTeamSchedule.md b/src/Teams/Teams/examples/v1.0/Invoke-MgShareTeamSchedule.md index 781e65787bc..7f53d7d007a 100644 --- a/src/Teams/Teams/examples/v1.0/Invoke-MgShareTeamSchedule.md +++ b/src/Teams/Teams/examples/v1.0/Invoke-MgShareTeamSchedule.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ NotifyTeam = $true diff --git a/src/Teams/Teams/examples/v1.0/Invoke-MgUnarchiveTeam.md b/src/Teams/Teams/examples/v1.0/Invoke-MgUnarchiveTeam.md index f331aa8d746..a03a15a3379 100644 --- a/src/Teams/Teams/examples/v1.0/Invoke-MgUnarchiveTeam.md +++ b/src/Teams/Teams/examples/v1.0/Invoke-MgUnarchiveTeam.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Invoke-MgUnarchiveTeam -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/New-MgAppCatalogTeamApp.md b/src/Teams/Teams/examples/v1.0/New-MgAppCatalogTeamApp.md index 820f0fbda9d..1ca7b331983 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgAppCatalogTeamApp.md +++ b/src/Teams/Teams/examples/v1.0/New-MgAppCatalogTeamApp.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams New-MgAppCatalogTeamApp -Requiresreview true ``` diff --git a/src/Teams/Teams/examples/v1.0/New-MgChat.md b/src/Teams/Teams/examples/v1.0/New-MgChat.md index a338cab3631..6329b849aec 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChat.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChat.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ ChatType = "group" @@ -30,8 +30,8 @@ $params = @{ } New-MgChat -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ ChatType = "group" @@ -62,8 +62,8 @@ $params = @{ } New-MgChat -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ ChatType = "group" @@ -94,8 +94,8 @@ $params = @{ } New-MgChat -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ ChatType = "oneOnOne" @@ -119,8 +119,8 @@ $params = @{ } New-MgChat -BodyParameter $params ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ ChatType = "oneOnOne" @@ -143,8 +143,8 @@ $params = @{ } New-MgChat -BodyParameter $params ``` -###Example 6 -``` +### Example 6 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ ChatType = "oneOnOne" diff --git a/src/Teams/Teams/examples/v1.0/New-MgChatInstalledApp.md b/src/Teams/Teams/examples/v1.0/New-MgChatInstalledApp.md index 8ce07a132c5..8dfc3f0cc87 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChatInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChatInstalledApp.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/12345678-9abc-def0-123456789a" diff --git a/src/Teams/Teams/examples/v1.0/New-MgChatMember.md b/src/Teams/Teams/examples/v1.0/New-MgChatMember.md index ed7ea1d9978..34406359f10 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChatMember.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChatMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -11,8 +11,8 @@ $params = @{ } New-MgChatMember -ChatId $chatId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -24,8 +24,8 @@ $params = @{ } New-MgChatMember -ChatId $chatId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -36,8 +36,8 @@ $params = @{ } New-MgChatMember -ChatId $chatId -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" diff --git a/src/Teams/Teams/examples/v1.0/New-MgChatMessage.md b/src/Teams/Teams/examples/v1.0/New-MgChatMessage.md index d7b659389c9..5b58a4fed82 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChatMessage.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChatMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ @@ -20,8 +20,8 @@ $params = @{ } New-MgChatMessage -ChatId $chatId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ diff --git a/src/Teams/Teams/examples/v1.0/New-MgChatTab.md b/src/Teams/Teams/examples/v1.0/New-MgChatTab.md index 830c7b69a58..070c9a7959b 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChatTab.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChatTab.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "My Contoso Tab" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeam.md b/src/Teams/Teams/examples/v1.0/New-MgTeam.md index b2072d7764c..64bf12ac32f 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeam.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeam.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" @@ -32,8 +32,8 @@ $params = @{ } New-MgTeam -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('educationClass')" @@ -42,8 +42,8 @@ $params = @{ } New-MgTeam -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('educationClass')" @@ -77,8 +77,8 @@ $params = @{ } New-MgTeam -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" @@ -86,8 +86,8 @@ $params = @{ } New-MgTeam -BodyParameter $params ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" @@ -167,8 +167,8 @@ $params = @{ } New-MgTeam -BodyParameter $params ``` -###Example 6 -``` +### Example 6 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" @@ -186,8 +186,8 @@ $params = @{ } New-MgTeam -BodyParameter $params ``` -###Example 7 -``` +### Example 7 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" @@ -196,8 +196,8 @@ $params = @{ } New-MgTeam -BodyParameter $params ``` -###Example 8 -``` +### Example 8 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannel.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannel.md index 09015c9b8df..729ebc5e673 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannel.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannel.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@microsoft.graph.channelCreationMode" = "migration" @@ -9,8 +9,8 @@ $params = @{ } New-MgTeamChannel -TeamId $teamId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "Architecture Discussion" @@ -19,8 +19,8 @@ $params = @{ } New-MgTeamChannel -TeamId $teamId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#Microsoft.Graph.channel" @@ -39,8 +39,8 @@ $params = @{ } New-MgTeamChannel -TeamId $teamId -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#Microsoft.Graph.channel" @@ -59,8 +59,8 @@ $params = @{ } New-MgTeamChannel -TeamId $teamId -BodyParameter $params ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "My First Shared Channel" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelEmail.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelEmail.md index d3fe9a47cc8..51a35b0412a 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelEmail.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelEmail.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams New-MgTeamChannelEmail -TeamId $teamId -ChannelId $channelId ``` diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMember.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMember.md index bcf6b52d9dc..df921637fe2 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMember.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -10,13 +10,13 @@ $params = @{ } New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -27,8 +27,8 @@ $params = @{ } New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -38,8 +38,8 @@ $params = @{ } New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -49,8 +49,8 @@ $params = @{ } New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -###Example 6 -``` +### Example 6 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -60,8 +60,8 @@ $params = @{ } New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -###Example 7 -``` +### Example 7 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessage.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessage.md index 48a7d0f8822..6030a9cf22c 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessage.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ @@ -8,8 +8,8 @@ $params = @{ } New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ @@ -18,8 +18,8 @@ $params = @{ } New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ @@ -42,8 +42,8 @@ $params = @{ } New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Subject = $null @@ -77,8 +77,8 @@ $params = @{ } New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ @@ -96,8 +96,8 @@ $params = @{ } New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -###Example 6 -``` +### Example 6 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Subject = $null @@ -209,8 +209,8 @@ $params = @{ } New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -###Example 7 -``` +### Example 7 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ @@ -233,8 +233,8 @@ $params = @{ } New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -###Example 8 -``` +### Example 8 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessageReply.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessageReply.md index fcd23465a73..c2942ba36b4 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessageReply.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessageReply.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ @@ -9,8 +9,8 @@ $params = @{ } New-MgTeamChannelMessageReply -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamInstalledApp.md b/src/Teams/Teams/examples/v1.0/New-MgTeamInstalledApp.md index 438721aa168..8486d7b0708 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamInstalledApp.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/12345678-9abc-def0-123456789a" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/New-MgTeamMember.md index ec8f32423d2..83869845686 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -10,8 +10,8 @@ $params = @{ } New-MgTeamMember -TeamId $teamId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOfferShiftRequest.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOfferShiftRequest.md index ba28b833165..bebbfd2991d 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOfferShiftRequest.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOfferShiftRequest.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ SenderShiftId = "SHFT_f7e484ed-fdd6-421c-92d9-0bc9e62e2c29" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShift.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShift.md index cebb7b577a7..f804148345f 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShift.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShift.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Id = "OPNSHFT_577b75d2-a927-48c0-a5d1-dc984894e7b8" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShiftChangeRequest.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShiftChangeRequest.md index 7345ec87e9a..60c8595b832 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShiftChangeRequest.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShiftChangeRequest.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ SenderMessage = "Can I take this shift?" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSchedulingGroup.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSchedulingGroup.md index f91bd7b7de1..5d08e75d7f7 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSchedulingGroup.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSchedulingGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "Cashiers" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleShift.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleShift.md index a591f3044d3..488ee9354c6 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleShift.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleShift.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Id = "SHFT_577b75d2-a927-48c0-a5d1-dc984894e7b8" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSwapShiftChangeRequest.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSwapShiftChangeRequest.md index 8c9c91cd332..0b76be779a6 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSwapShiftChangeRequest.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSwapShiftChangeRequest.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ SenderShiftId = "5ad10161-6524-4c7c-9beb-4e8677ba2f6d" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOff.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOff.md index bb1543a85e0..27323a8bfef 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOff.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOff.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ UserId = "c5d0c76b-80c4-481c-be50-923cd8d680a1" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOffReason.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOffReason.md index 7085253e91c..2443e1bbcdb 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOffReason.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOffReason.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "Vacation" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamworkWorkforceIntegration.md b/src/Teams/Teams/examples/v1.0/New-MgTeamworkWorkforceIntegration.md index 3d7a0e1f5a6..ee765d2985e 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamworkWorkforceIntegration.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamworkWorkforceIntegration.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "displayName-value" diff --git a/src/Teams/Teams/examples/v1.0/New-MgUserTeamworkInstalledApp.md b/src/Teams/Teams/examples/v1.0/New-MgUserTeamworkInstalledApp.md index 83caf422b73..4d9feebb926 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgUserTeamworkInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/New-MgUserTeamworkInstalledApp.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/12345678-9abc-def0-123456789a" diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgAppCatalogTeamApp.md b/src/Teams/Teams/examples/v1.0/Remove-MgAppCatalogTeamApp.md index 73c651f9be9..b5d24d6e555 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgAppCatalogTeamApp.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgAppCatalogTeamApp.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgAppCatalogTeamApp -TeamsAppId $teamsAppId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgChatInstalledApp.md b/src/Teams/Teams/examples/v1.0/Remove-MgChatInstalledApp.md index 0359f02fc8f..d83fb02359e 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgChatInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgChatInstalledApp.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgChatInstalledApp -ChatId $chatId -TeamsAppInstallationId $teamsAppInstallationId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgChatMember.md b/src/Teams/Teams/examples/v1.0/Remove-MgChatMember.md index 4201a6a0e86..77227b8a071 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgChatMember.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgChatMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgChatMember -ChatId $chatId -ConversationMemberId $conversationMemberId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgChatTab.md b/src/Teams/Teams/examples/v1.0/Remove-MgChatTab.md index fd7d5a935f8..0bb9139b3f2 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgChatTab.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgChatTab.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgChatTab -ChatId $chatId -TeamsTabId $teamsTabId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannel.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannel.md index 83331faaee5..e2874c0e21a 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannel.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannel.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamChannel -TeamId $teamId -ChannelId $channelId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelEmail.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelEmail.md index bd0df9d4a73..5de2be566f9 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelEmail.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelEmail.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamChannelEmail -TeamId $teamId -ChannelId $channelId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelMember.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelMember.md index fddf64f1e05..ac57b62158e 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelMember.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -ConversationMemberId $conversationMemberId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelSharedWithTeam.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelSharedWithTeam.md index 01ec1f691ce..29078a92fc7 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelSharedWithTeam.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelSharedWithTeam.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamChannelSharedWithTeam -TeamId $teamId -ChannelId $channelId -SharedWithChannelTeamInfoId $sharedWithChannelTeamInfoId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamInstalledApp.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamInstalledApp.md index 327a0529b2e..2696dd0fb6b 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamInstalledApp.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamMember.md index c78a23e2aec..17d6371b851 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamMember -TeamId $teamId -ConversationMemberId $conversationMemberId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleOpenShift.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleOpenShift.md index 36b8ef12a27..3319e680d91 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleOpenShift.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleOpenShift.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleOpenShift -TeamId $teamId -OpenShiftId $openShiftId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleSchedulingGroup.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleSchedulingGroup.md index 4697852409b..3d6feaa6de8 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleSchedulingGroup.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleSchedulingGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleSchedulingGroup -TeamId $teamId -SchedulingGroupId $schedulingGroupId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleShift.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleShift.md index 19eccab348c..08009f2384d 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleShift.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleShift.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleShift -TeamId $teamId -ShiftId $shiftId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOff.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOff.md index a4297ed4764..2f2a6a5cb03 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOff.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOff.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleTimeOff -TeamId $teamId -TimeOffId $timeOffId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffReason.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffReason.md index bf7ecf65d62..9e505cf5332 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffReason.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffReason.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleTimeOffReason -TeamId $teamId -TimeOffReasonId $timeOffReasonId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffRequest.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffRequest.md index 5735df30a74..1a80c99ae39 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffRequest.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffRequest.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleTimeOffRequest -TeamId $teamId -TimeOffRequestId $timeOffRequestId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamworkWorkforceIntegration.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamworkWorkforceIntegration.md index 3c438a2ca4d..2683036ba82 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamworkWorkforceIntegration.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamworkWorkforceIntegration.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamworkWorkforceIntegration -WorkforceIntegrationId $workforceIntegrationId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgUserTeamworkInstalledApp.md b/src/Teams/Teams/examples/v1.0/Remove-MgUserTeamworkInstalledApp.md index 05f793f5ed5..4ce04144b34 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgUserTeamworkInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgUserTeamworkInstalledApp.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Remove-MgUserTeamworkInstalledApp -UserId $userId -UserScopeTeamsAppInstallationId $userScopeTeamsAppInstallationId ``` diff --git a/src/Teams/Teams/examples/v1.0/Send-MgChatActivityNotification.md b/src/Teams/Teams/examples/v1.0/Send-MgChatActivityNotification.md index 557e9c76fd6..19ab840f46b 100644 --- a/src/Teams/Teams/examples/v1.0/Send-MgChatActivityNotification.md +++ b/src/Teams/Teams/examples/v1.0/Send-MgChatActivityNotification.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ @@ -23,8 +23,8 @@ $params = @{ } Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ @@ -48,8 +48,8 @@ $params = @{ } Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ @@ -74,8 +74,8 @@ $params = @{ } Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ @@ -100,8 +100,8 @@ $params = @{ } Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params ``` -###Example 5 -``` +### Example 5 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ diff --git a/src/Teams/Teams/examples/v1.0/Send-MgTeamActivityNotification.md b/src/Teams/Teams/examples/v1.0/Send-MgTeamActivityNotification.md index 0a379d72368..df46ce1bb00 100644 --- a/src/Teams/Teams/examples/v1.0/Send-MgTeamActivityNotification.md +++ b/src/Teams/Teams/examples/v1.0/Send-MgTeamActivityNotification.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ @@ -24,8 +24,8 @@ $params = @{ } Send-MgTeamActivityNotification -TeamId $teamId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ @@ -49,8 +49,8 @@ $params = @{ } Send-MgTeamActivityNotification -TeamId $teamId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ @@ -78,8 +78,8 @@ $params = @{ } Send-MgTeamActivityNotification -TeamId $teamId -BodyParameter $params ``` -###Example 4 -``` +### Example 4 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ diff --git a/src/Teams/Teams/examples/v1.0/Update-MgChat.md b/src/Teams/Teams/examples/v1.0/Update-MgChat.md index 0c32ab2e44b..79e84c3da35 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgChat.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgChat.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = "Group chat title update" diff --git a/src/Teams/Teams/examples/v1.0/Update-MgChatInstalledApp.md b/src/Teams/Teams/examples/v1.0/Update-MgChatInstalledApp.md index f4940b240ff..f56a79a1af5 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgChatInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgChatInstalledApp.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Update-MgChatInstalledApp -ChatId $chatId -TeamsAppInstallationId $teamsAppInstallationId ``` diff --git a/src/Teams/Teams/examples/v1.0/Update-MgChatTab.md b/src/Teams/Teams/examples/v1.0/Update-MgChatTab.md index 267e8126746..cb24eaa60e3 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgChatTab.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgChatTab.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "My Contoso Tab - updated again" diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeam.md b/src/Teams/Teams/examples/v1.0/Update-MgTeam.md index 1438d44f962..827288fe1e5 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeam.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeam.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ MemberSettings = @{ diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannel.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannel.md index 1f9c6e42c95..3104e0ffb5e 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannel.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannel.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Update-MgTeamChannel -TeamId $teamId -ChannelId $channelId ``` diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMember.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMember.md index 099696dea64..175fbfa0763 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMember.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMessage.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMessage.md index 34e21182e73..9e8319bc654 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMessage.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ PolicyViolation = @{ diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamInstalledApp.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamInstalledApp.md index 5435191f7c7..9d662d2b358 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamInstalledApp.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams Update-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId ``` diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamMember.md index 76714f308e9..e633d36c638 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamMember.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleOpenShift.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleOpenShift.md index 7a44c1fe9a3..19dcb8709b8 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleOpenShift.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleOpenShift.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ SchedulingGroupId = "TAG_228940ed-ff84-4e25-b129-1b395cf78be0" diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleShift.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleShift.md index e81fbe919f7..7d9240c8743 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleShift.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleShift.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ Id = "SHFT_577b75d2-a927-48c0-a5d1-dc984894e7b8" diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamworkWorkforceIntegration.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamworkWorkforceIntegration.md index 5cc5bbc9085..edb36d4eb0d 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamworkWorkforceIntegration.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamworkWorkforceIntegration.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "displayName-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Clear-MgUserPresence.md b/src/Users.Actions/Users.Actions/examples/v1.0/Clear-MgUserPresence.md index ed7ba248149..ff4834ed310 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Clear-MgUserPresence.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Clear-MgUserPresence.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ SessionId = "22553876-f5ab-4529-bffb-cfe50aa89f87" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberGroup.md b/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberGroup.md index 943ba39155c..e4b7651372a 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberGroup.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ GroupIds = @( diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberObject.md b/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberObject.md index 00dde5cbf7e..754ffe713cb 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberObject.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberObject.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Ids = @( diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMailFolder.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMailFolder.md index d82d9126547..073026ce0b9 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMailFolder.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMailFolder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ DestinationId = "destinationId-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMessage.md index 0de1905d628..122601ecbce 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ DestinationId = "destinationId-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteNotebook.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteNotebook.md index 8002b385926..6fc36353947 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteNotebook.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteNotebook.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ GroupId = "groupId-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenotePageToSection.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenotePageToSection.md index 9833f81831d..7831dbb74fb 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenotePageToSection.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenotePageToSection.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Id = "id-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToNotebook.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToNotebook.md index 1173b6fdb53..f896791fae1 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToNotebook.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToNotebook.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Id = "id-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToSectionGroup.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToSectionGroup.md index e664ecb227e..1267a2243c2 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToSectionGroup.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToSectionGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Id = "id-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Disable-MgUserAuthenticationPhoneMethodSmSign.md b/src/Users.Actions/Users.Actions/examples/v1.0/Disable-MgUserAuthenticationPhoneMethodSmSign.md index 95308721a09..c740da88d47 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Disable-MgUserAuthenticationPhoneMethodSmSign.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Disable-MgUserAuthenticationPhoneMethodSmSign.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. Disable-MgUserAuthenticationPhoneMethodSmSign -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Enable-MgUserAuthenticationPhoneMethodSmSign.md b/src/Users.Actions/Users.Actions/examples/v1.0/Enable-MgUserAuthenticationPhoneMethodSmSign.md index 3f3ee207e82..216df0d6d53 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Enable-MgUserAuthenticationPhoneMethodSmSign.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Enable-MgUserAuthenticationPhoneMethodSmSign.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. Enable-MgUserAuthenticationPhoneMethodSmSign -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Export-MgUserPersonalData.md b/src/Users.Actions/Users.Actions/examples/v1.0/Export-MgUserPersonalData.md index 0eb2dbce0af..a44940dd905 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Export-MgUserPersonalData.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Export-MgUserPersonalData.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ StorageLocation = "storageLocation-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Find-MgUserMeetingTime.md b/src/Users.Actions/Users.Actions/examples/v1.0/Find-MgUserMeetingTime.md index eb53345b6fb..eaf69ea3dfb 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Find-MgUserMeetingTime.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Find-MgUserMeetingTime.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Attendees = @( diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserDefaultCalendarSchedule.md b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserDefaultCalendarSchedule.md index 51f089193c0..1fd66a8b3d7 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserDefaultCalendarSchedule.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserDefaultCalendarSchedule.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Schedules = @( diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMailTip.md b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMailTip.md index 0fc5b441e9d..096ce87c3d8 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMailTip.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMailTip.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ EmailAddresses = @( diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMemberGroup.md b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMemberGroup.md index f060fa73ee6..80508ab4e9f 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMemberGroup.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMemberGroup.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ SecurityEnabledOnly = $true diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md index fe1d126da4f..9987579033b 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ WebUrl = "webUrl value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEvent.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEvent.md index 34b341b8a50..c6108ef3bb2 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEvent.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEvent.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Comment = "comment-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEventTentatively.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEventTentatively.md index 891a8e1955e..3c616877a2b 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEventTentatively.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEventTentatively.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Comment = "I may not be able to make this week. How about next week?" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgCreateOrGetUserOnlineMeeting.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgCreateOrGetUserOnlineMeeting.md index f49229f3861..6c99d8173a7 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgCreateOrGetUserOnlineMeeting.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgCreateOrGetUserOnlineMeeting.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ StartDateTime = [System.DateTime]::Parse("2020-02-06T01:49:21.3524945+00:00") diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDeclineUserEvent.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDeclineUserEvent.md index d361ceb93eb..cb37e1cce38 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDeclineUserEvent.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDeclineUserEvent.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Comment = "I won't be able to make this week. How about next week?" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDismissUserEventReminder.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDismissUserEventReminder.md index d1862979920..897db4da632 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDismissUserEventReminder.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDismissUserEventReminder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. Invoke-MgDismissUserEventReminder -UserId $userId -EventId $eventId diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserEvent.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserEvent.md index 769f015f845..8f9ead58a3f 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserEvent.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserEvent.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ ToRecipients = @( diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserMessage.md index 45198a858f6..d2453c6e76c 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Comment = "comment-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgLicenseUser.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgLicenseUser.md index 8ff2f9d952d..2c13ab98515 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgLicenseUser.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgLicenseUser.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions Invoke-MgLicenseUser -UserId $userId ``` diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyAllUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyAllUserMessage.md index d957315a769..6a6bcc9fa34 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyAllUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyAllUserMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Comment = "comment-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyUserMessage.md index 6929612efef..4b5a29ea8fd 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyUserMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Message = @{ diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgSnoozeUserEventReminder.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgSnoozeUserEventReminder.md index 58e5c64214d..c1cc74b852f 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgSnoozeUserEventReminder.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgSnoozeUserEventReminder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ NewReminderTime = @{ diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgTranslateUserExchangeId.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgTranslateUserExchangeId.md index 6b85c5593ab..f38dea005f7 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgTranslateUserExchangeId.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgTranslateUserExchangeId.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ InputIds = @( diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMailFolder.md b/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMailFolder.md index 8fb24e1b429..2fcc9eb527d 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMailFolder.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMailFolder.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ DestinationId = "destinationId-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMessage.md index cae471e97a9..7cbf788ecf7 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ DestinationId = "deleteditems" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageAttachmentUploadSession.md b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageAttachmentUploadSession.md index 0f2f78f5bb6..c72044e7d35 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageAttachmentUploadSession.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageAttachmentUploadSession.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ AttachmentItem = @{ @@ -13,8 +13,8 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserMessageAttachmentUploadSession -UserId $userId -MessageId $messageId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ AttachmentItem = @{ diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageForward.md b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageForward.md index dfeb73fca06..5fc1ba0575c 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageForward.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageForward.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. New-MgUserMessageForward -UserId $userId -MessageId $messageId diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReply.md b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReply.md index 60e603497e9..bd0a6a0bdf8 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReply.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReply.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. New-MgUserMessageReply -UserId $userId -MessageId $messageId diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReplyAll.md b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReplyAll.md index 208d2c71b38..e46896c5366 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReplyAll.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReplyAll.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. New-MgUserMessageReplyAll -UserId $userId -MessageId $messageId diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Revoke-MgUserSign.md b/src/Users.Actions/Users.Actions/examples/v1.0/Revoke-MgUserSign.md index e7ac1ac1e38..9e4a02841b1 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Revoke-MgUserSign.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Revoke-MgUserSign.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. Revoke-MgUserSign -UserId $userId diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMail.md b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMail.md index 0c89a3d363e..12079677759 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMail.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMail.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Message = @{ @@ -28,8 +28,8 @@ $params = @{ # A UPN can also be used as -UserId. Send-MgUserMail -UserId $userId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Message = @{ @@ -58,8 +58,8 @@ $params = @{ # A UPN can also be used as -UserId. Send-MgUserMail -UserId $userId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Message = @{ diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMessage.md index 85abd4da7a6..f923112124f 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMessage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. Send-MgUserMessage -UserId $userId -MessageId $messageId diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserTeamworkActivityNotification.md b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserTeamworkActivityNotification.md index 678677abed4..40347c49113 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserTeamworkActivityNotification.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserTeamworkActivityNotification.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Topic = @{ @@ -20,8 +20,8 @@ $params = @{ } Send-MgUserTeamworkActivityNotification -UserId $userId -BodyParameter $params ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Topic = @{ @@ -42,8 +42,8 @@ $params = @{ } Send-MgUserTeamworkActivityNotification -UserId $userId -BodyParameter $params ``` -###Example 3 -``` +### Example 3 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Topic = @{ diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Set-MgUserPresence.md b/src/Users.Actions/Users.Actions/examples/v1.0/Set-MgUserPresence.md index 01b48131f27..f5302a486a2 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Set-MgUserPresence.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Set-MgUserPresence.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ SessionId = "22553876-f5ab-4529-bffb-cfe50aa89f87" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Stop-MgUserEvent.md b/src/Users.Actions/Users.Actions/examples/v1.0/Stop-MgUserEvent.md index ad812e27d2a..aca9485313f 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Stop-MgUserEvent.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Stop-MgUserEvent.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Comment = "Cancelling for this week due to all hands" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Update-MgUserPassword.md b/src/Users.Actions/Users.Actions/examples/v1.0/Update-MgUserPassword.md index a5e558baa4f..e9bf4aa5ec2 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Update-MgUserPassword.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Update-MgUserPassword.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ CurrentPassword = "xWwvJ]6NMw+bWH-d" diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserContactFolderDelta.md b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserContactFolderDelta.md index e1136990e93..fb21b9f395e 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserContactFolderDelta.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserContactFolderDelta.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Functions # A UPN can also be used as -UserId. Get-MgUserContactFolderDelta -UserId $userId diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserDelta.md b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserDelta.md index 5a29eec8bc5..91e73eb7ca8 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserDelta.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserDelta.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Functions Get-MgUserDelta ``` diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserMailFolderMessageDelta.md b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserMailFolderMessageDelta.md index b3837fbe6c3..bc114672896 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserMailFolderMessageDelta.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserMailFolderMessageDelta.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Functions # A UPN can also be used as -UserId. Get-MgUserMailFolderMessageDelta -UserId $userId -MailFolderId $mailFolderId diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgRecentUserActivity.md b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgRecentUserActivity.md index 8d328c5b8e1..451b4cde90e 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgRecentUserActivity.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgRecentUserActivity.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Functions # A UPN can also be used as -UserId. Invoke-MgRecentUserActivity -UserId $userId diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgSupportedUserOutlookLanguage.md b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgSupportedUserOutlookLanguage.md index 390ce1d8bf1..c1d64dabfa7 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgSupportedUserOutlookLanguage.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgSupportedUserOutlookLanguage.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Functions # A UPN can also be used as -UserId. Invoke-MgSupportedUserOutlookLanguage -UserId $userId diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgTimeUserOutlook.md b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgTimeUserOutlook.md index 55026c9265e..1faddcfff8d 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgTimeUserOutlook.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgTimeUserOutlook.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users.Functions # A UPN can also be used as -UserId. Invoke-MgTimeUserOutlook -UserId $userId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserMemberOf.md b/src/Users/Users/examples/v1.0/Get-MgUserMemberOf.md index 8945614553d..0670cdb1f9e 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserMemberOf.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserMemberOf.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users Get-MgUserMemberOf -UserId $userId ``` diff --git a/src/Users/Users/examples/v1.0/Get-MgUserOutlookMasterCategory.md b/src/Users/Users/examples/v1.0/Get-MgUserOutlookMasterCategory.md index e0ff514bf4a..33cc562c3b4 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserOutlookMasterCategory.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserOutlookMasterCategory.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserOutlookMasterCategory -UserId $userId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserOutlookMasterCategory -UserId $userId -OutlookCategoryId $outlookCategoryId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserOwnedDevice.md b/src/Users/Users/examples/v1.0/Get-MgUserOwnedDevice.md index e2e77dc5dd1..eed58b72d2c 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserOwnedDevice.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserOwnedDevice.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserOwnedDevice -UserId $userId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserOwnedObject.md b/src/Users/Users/examples/v1.0/Get-MgUserOwnedObject.md index 17bdce75b56..1dd51e8aca8 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserOwnedObject.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserOwnedObject.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserOwnedObject -UserId $userId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserRegisteredDevice.md b/src/Users/Users/examples/v1.0/Get-MgUserRegisteredDevice.md index 447b0121907..fbde4525c8a 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserRegisteredDevice.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserRegisteredDevice.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserRegisteredDevice -UserId $userId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserSettingShiftPreference.md b/src/Users/Users/examples/v1.0/Get-MgUserSettingShiftPreference.md index 27b57ef03c1..46e9ab6cb6a 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserSettingShiftPreference.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserSettingShiftPreference.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users Get-MgUserSettingShiftPreference -UserId $userId ``` diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTodoList.md b/src/Users/Users/examples/v1.0/Get-MgUserTodoList.md index 45629bd5790..8ae16887c88 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTodoList.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTodoList.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoList -UserId $userId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoList -UserId $userId -TodoTaskListId $todoTaskListId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTask.md b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTask.md index 900de52d5fa..ae99fb6c351 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTask.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTask.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTask -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTask -UserId $userId -TodoTaskListId $todoTaskListId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskChecklistItem.md b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskChecklistItem.md index 880debe0431..0b49bb7546c 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskChecklistItem.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskChecklistItem.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -ChecklistItemId $checklistItemId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskLinkedResource.md b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskLinkedResource.md index e80c01b7ec5..658c7ca3692 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskLinkedResource.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskLinkedResource.md @@ -1,11 +1,11 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTaskLinkedResource -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -LinkedResourceId $linkedResourceId ``` -###Example 2 -``` +### Example 2 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTaskLinkedResource -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTransitiveMemberOf.md b/src/Users/Users/examples/v1.0/Get-MgUserTransitiveMemberOf.md index 2965e9565f0..23b3cfec4bf 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTransitiveMemberOf.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTransitiveMemberOf.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users Get-MgUserTransitiveMemberOf -UserId $userId ``` diff --git a/src/Users/Users/examples/v1.0/New-MgUserOutlookMasterCategory.md b/src/Users/Users/examples/v1.0/New-MgUserOutlookMasterCategory.md index 011d5f95aa4..ebc7fe34b16 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserOutlookMasterCategory.md +++ b/src/Users/Users/examples/v1.0/New-MgUserOutlookMasterCategory.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users $params = @{ DisplayName = "Project expenses" diff --git a/src/Users/Users/examples/v1.0/New-MgUserTodoList.md b/src/Users/Users/examples/v1.0/New-MgUserTodoList.md index 665abf92cdd..96db581da85 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserTodoList.md +++ b/src/Users/Users/examples/v1.0/New-MgUserTodoList.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users $params = @{ DisplayName = "Travel items" diff --git a/src/Users/Users/examples/v1.0/New-MgUserTodoListTask.md b/src/Users/Users/examples/v1.0/New-MgUserTodoListTask.md index 998cbcfc032..85be0ca05fc 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserTodoListTask.md +++ b/src/Users/Users/examples/v1.0/New-MgUserTodoListTask.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users $params = @{ Title = "A new task" diff --git a/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskChecklistItem.md b/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskChecklistItem.md index 672c2c8e032..0f6002e6959 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskChecklistItem.md +++ b/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskChecklistItem.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users $params = @{ DisplayName = "Final sign-off from the team" diff --git a/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskLinkedResource.md b/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskLinkedResource.md index 9fdca372f6e..3f5362adb73 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskLinkedResource.md +++ b/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskLinkedResource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users $params = @{ WebUrl = "https://microsoft.com" diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserOutlookMasterCategory.md b/src/Users/Users/examples/v1.0/Remove-MgUserOutlookMasterCategory.md index 3819aa2c1b2..486c8e9ae0c 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserOutlookMasterCategory.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserOutlookMasterCategory.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Remove-MgUserOutlookMasterCategory -UserId $userId -OutlookCategoryId $outlookCategoryId diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserTodoList.md b/src/Users/Users/examples/v1.0/Remove-MgUserTodoList.md index 3b1abcba5cf..d996caf458d 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserTodoList.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserTodoList.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Remove-MgUserTodoList -UserId $userId -TodoTaskListId $todoTaskListId diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTask.md b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTask.md index a410d50ce75..9e574df6634 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTask.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTask.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Remove-MgUserTodoListTask -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskChecklistItem.md b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskChecklistItem.md index 200fc2a69a0..16c93074abe 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskChecklistItem.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskChecklistItem.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Remove-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -ChecklistItemId $checklistItemId diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskLinkedResource.md b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskLinkedResource.md index 4215654a373..c1a98d86581 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskLinkedResource.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskLinkedResource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Remove-MgUserTodoListTaskLinkedResource -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -LinkedResourceId $linkedResourceId diff --git a/src/Users/Users/examples/v1.0/Update-MgUserOutlookMasterCategory.md b/src/Users/Users/examples/v1.0/Update-MgUserOutlookMasterCategory.md index 37fe114659d..857f842596b 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserOutlookMasterCategory.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserOutlookMasterCategory.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users $params = @{ Color = "preset15" diff --git a/src/Users/Users/examples/v1.0/Update-MgUserSettingShiftPreference.md b/src/Users/Users/examples/v1.0/Update-MgUserSettingShiftPreference.md index 0a8c5cfd1ff..f77a9f7ae41 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserSettingShiftPreference.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserSettingShiftPreference.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users $params = @{ Id = "SHPR_eeab4fb1-20e5-48ca-ad9b-98119d94bee7" diff --git a/src/Users/Users/examples/v1.0/Update-MgUserTodoList.md b/src/Users/Users/examples/v1.0/Update-MgUserTodoList.md index 622d57b361c..41ff107d646 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserTodoList.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserTodoList.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users $params = @{ DisplayName = "Vacation Plan" diff --git a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTask.md b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTask.md index 3a65d6632bb..d69ff9d87f4 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTask.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTask.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users $params = @{ DueDateTime = @{ diff --git a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskChecklistItem.md b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskChecklistItem.md index 4e8992f4fdc..b27dc03338a 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskChecklistItem.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskChecklistItem.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users $params = @{ DisplayName = "buy cake" diff --git a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskLinkedResource.md b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskLinkedResource.md index b0edeb7390d..af34d81a4f6 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskLinkedResource.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskLinkedResource.md @@ -1,5 +1,5 @@ -###Example 1 -``` +### Example 1 +``` powershell Import-Module Microsoft.Graph.Users $params = @{ "@odata.type" = "#microsoft.graph.linkedResource" From c6b756c4c393bd267842c94455fc9305766269c7 Mon Sep 17 00:00:00 2001 From: SteveWilkins1123 Date: Wed, 14 Sep 2022 09:58:09 -0700 Subject: [PATCH 3/4] fixed another formatting issue --- .../examples/v1.0/Add-MgApplicationKey.md | 4 ++-- .../examples/v1.0/Add-MgServicePrincipalKey.md | 4 ++-- .../v1.0/Add-MgServicePrincipalPassword.md | 2 +- ...-MgServicePrincipalTokenSigningCertificate.md | 2 +- .../v1.0/Clear-MgApplicationVerifiedPublisher.md | 2 +- .../examples/v1.0/Get-MgApplicationDelta.md | 2 +- .../v1.0/Get-MgApplicationExtensionProperty.md | 4 ++-- ...t-MgApplicationFederatedIdentityCredential.md | 4 ++-- .../examples/v1.0/Get-MgApplicationOwner.md | 2 +- .../examples/v1.0/Get-MgApplicationTemplate.md | 4 ++-- .../v1.0/Get-MgApplicationTokenIssuancePolicy.md | 2 +- .../v1.0/Get-MgApplicationTokenLifetimePolicy.md | 2 +- .../Get-MgServicePrincipalAppRoleAssignedTo.md | 2 +- .../Get-MgServicePrincipalClaimMappingPolicy.md | 2 +- .../v1.0/Get-MgServicePrincipalCreatedObject.md | 2 +- ...PrincipalDelegatedPermissionClassification.md | 2 +- .../examples/v1.0/Get-MgServicePrincipalDelta.md | 2 +- ...MgServicePrincipalHomeRealmDiscoveryPolicy.md | 2 +- .../v1.0/Get-MgServicePrincipalMemberOf.md | 2 +- ...et-MgServicePrincipalOauth2PermissionGrant.md | 2 +- .../v1.0/Get-MgServicePrincipalOwnedObject.md | 2 +- .../Get-MgServicePrincipalTransitiveMemberOf.md | 2 +- .../Invoke-MgInstantiateApplicationTemplate.md | 2 +- .../v1.0/New-MgApplicationExtensionProperty.md | 2 +- ...w-MgApplicationFederatedIdentityCredential.md | 2 +- .../New-MgApplicationTokenIssuancePolicyByRef.md | 2 +- .../New-MgApplicationTokenLifetimePolicyByRef.md | 2 +- .../New-MgServicePrincipalAppRoleAssignedTo.md | 2 +- .../New-MgServicePrincipalAppRoleAssignment.md | 2 +- ...-MgServicePrincipalClaimMappingPolicyByRef.md | 2 +- ...PrincipalDelegatedPermissionClassification.md | 2 +- ...vicePrincipalHomeRealmDiscoveryPolicyByRef.md | 2 +- .../Remove-MgApplicationExtensionProperty.md | 2 +- ...e-MgApplicationFederatedIdentityCredential.md | 2 +- .../examples/v1.0/Remove-MgApplicationKey.md | 2 +- .../v1.0/Remove-MgApplicationOwnerByRef.md | 2 +- .../v1.0/Remove-MgApplicationPassword.md | 2 +- ...move-MgApplicationTokenIssuancePolicyByRef.md | 2 +- ...move-MgApplicationTokenLifetimePolicyByRef.md | 2 +- .../v1.0/Remove-MgGroupAppRoleAssignment.md | 2 +- .../examples/v1.0/Remove-MgServicePrincipal.md | 2 +- ...Remove-MgServicePrincipalAppRoleAssignedTo.md | 2 +- ...-MgServicePrincipalClaimMappingPolicyByRef.md | 2 +- ...PrincipalDelegatedPermissionClassification.md | 2 +- ...vicePrincipalHomeRealmDiscoveryPolicyByRef.md | 2 +- .../v1.0/Remove-MgServicePrincipalKey.md | 2 +- .../v1.0/Remove-MgServicePrincipalPassword.md | 2 +- .../v1.0/Set-MgApplicationVerifiedPublisher.md | 2 +- ...e-MgApplicationFederatedIdentityCredential.md | 2 +- .../examples/v1.0/Get-MgBookingBusiness.md | 6 +++--- .../v1.0/Get-MgBookingBusinessAppointment.md | 4 ++-- .../v1.0/Get-MgBookingBusinessCalendarView.md | 2 +- .../v1.0/Get-MgBookingBusinessCustomQuestion.md | 4 ++-- .../v1.0/Get-MgBookingBusinessCustomer.md | 4 ++-- .../v1.0/Get-MgBookingBusinessService.md | 4 ++-- .../v1.0/Get-MgBookingBusinessStaffMember.md | 4 ++-- .../examples/v1.0/Get-MgBookingCurrency.md | 4 ++-- .../examples/v1.0/New-MgBookingBusiness.md | 2 +- .../v1.0/New-MgBookingBusinessAppointment.md | 2 +- .../v1.0/New-MgBookingBusinessCustomQuestion.md | 2 +- .../v1.0/New-MgBookingBusinessCustomer.md | 2 +- .../v1.0/New-MgBookingBusinessService.md | 2 +- .../v1.0/New-MgBookingBusinessStaffMember.md | 2 +- .../examples/v1.0/Publish-MgBookingBusiness.md | 2 +- .../examples/v1.0/Remove-MgBookingBusiness.md | 2 +- .../v1.0/Remove-MgBookingBusinessAppointment.md | 2 +- .../Remove-MgBookingBusinessCustomQuestion.md | 2 +- .../v1.0/Remove-MgBookingBusinessCustomer.md | 2 +- .../v1.0/Remove-MgBookingBusinessService.md | 2 +- .../v1.0/Remove-MgBookingBusinessStaffMember.md | 2 +- .../v1.0/Stop-MgBookingBusinessAppointment.md | 2 +- .../examples/v1.0/Unpublish-MgBookingBusiness.md | 2 +- .../examples/v1.0/Update-MgBookingBusiness.md | 2 +- .../v1.0/Update-MgBookingBusinessAppointment.md | 2 +- .../Update-MgBookingBusinessCustomQuestion.md | 2 +- .../v1.0/Update-MgBookingBusinessCustomer.md | 2 +- .../v1.0/Update-MgBookingBusinessService.md | 2 +- .../v1.0/Update-MgBookingBusinessStaffMember.md | 2 +- .../Calendar/examples/v1.0/Get-MgGroupEvent.md | 4 ++-- .../examples/v1.0/Get-MgGroupEventExtension.md | 2 +- .../Calendar/examples/v1.0/Get-MgPlace.md | 8 ++++---- .../Calendar/examples/v1.0/Get-MgUserCalendar.md | 2 +- .../examples/v1.0/Get-MgUserCalendarGroup.md | 4 ++-- .../v1.0/Get-MgUserCalendarGroupCalendar.md | 2 +- .../v1.0/Get-MgUserCalendarPermission.md | 2 +- .../examples/v1.0/Get-MgUserCalendarView.md | 2 +- .../examples/v1.0/Get-MgUserDefaultCalendar.md | 2 +- .../Calendar/examples/v1.0/Get-MgUserEvent.md | 6 +++--- .../examples/v1.0/Get-MgUserEventAttachment.md | 2 +- .../examples/v1.0/Get-MgUserEventInstance.md | 2 +- .../Calendar/examples/v1.0/New-MgGroupEvent.md | 2 +- .../Calendar/examples/v1.0/New-MgUserCalendar.md | 2 +- .../examples/v1.0/New-MgUserCalendarEvent.md | 4 ++-- .../examples/v1.0/New-MgUserCalendarGroup.md | 2 +- .../v1.0/New-MgUserCalendarGroupCalendar.md | 2 +- .../Calendar/examples/v1.0/New-MgUserEvent.md | 8 ++++---- .../examples/v1.0/New-MgUserEventAttachment.md | 6 +++--- .../examples/v1.0/Remove-MgGroupEvent.md | 2 +- .../examples/v1.0/Remove-MgUserCalendarGroup.md | 2 +- .../v1.0/Remove-MgUserCalendarPermission.md | 2 +- .../Calendar/examples/v1.0/Remove-MgUserEvent.md | 2 +- .../v1.0/Remove-MgUserEventAttachment.md | 2 +- .../Calendar/examples/v1.0/Update-MgPlace.md | 4 ++-- .../examples/v1.0/Update-MgUserCalendarGroup.md | 2 +- .../v1.0/Update-MgUserCalendarPermission.md | 2 +- .../Calendar/examples/v1.0/Update-MgUserEvent.md | 2 +- .../examples/v1.0/Get-MgSubscription.md | 4 ++-- .../examples/v1.0/New-MgSubscription.md | 2 +- .../examples/v1.0/Remove-MgSubscription.md | 2 +- .../examples/v1.0/Update-MgSubscription.md | 2 +- .../examples/v1.0/Get-MgCommunicationCall.md | 4 ++-- .../v1.0/Get-MgCommunicationCallParticipant.md | 4 ++-- .../v1.0/Get-MgCommunicationCallRecord.md | 8 ++++---- .../v1.0/Get-MgCommunicationCallRecordSession.md | 4 ++-- .../v1.0/Get-MgCommunicationOnlineMeeting.md | 2 +- .../examples/v1.0/Get-MgCommunicationPresence.md | 2 +- .../v1.0/Get-MgCommunicationPresenceByUserId.md | 2 +- .../examples/v1.0/Get-MgUserOnlineMeeting.md | 4 ++-- .../Get-MgUserOnlineMeetingAttendanceReport.md | 4 ++-- ...ineMeetingAttendanceReportAttendanceRecord.md | 2 +- .../examples/v1.0/Get-MgUserPresence.md | 4 ++-- .../v1.0/Invoke-MgAnswerCommunicationCall.md | 6 +++--- ...nvoke-MgInviteCommunicationCallParticipant.md | 14 +++++++------- .../v1.0/Invoke-MgKeepCommunicationCallAlive.md | 2 +- ...mmunicationCallTeleconferenceDeviceQuality.md | 2 +- .../v1.0/Invoke-MgMuteCommunicationCall.md | 2 +- .../Invoke-MgMuteCommunicationCallParticipant.md | 2 +- .../v1.0/Invoke-MgPlayCommunicationCallPrompt.md | 2 +- .../Invoke-MgRecordCommunicationCallResponse.md | 2 +- .../v1.0/Invoke-MgRedirectCommunicationCall.md | 4 ++-- .../v1.0/Invoke-MgRejectCommunicationCall.md | 4 ++-- .../Invoke-MgSubscribeCommunicationCallToTone.md | 2 +- .../v1.0/Invoke-MgUnmuteCommunicationCall.md | 2 +- .../examples/v1.0/Move-MgCommunicationCall.md | 10 +++++----- .../examples/v1.0/New-MgCommunicationCall.md | 8 ++++---- .../examples/v1.0/New-MgUserOnlineMeeting.md | 2 +- .../examples/v1.0/Remove-MgCommunicationCall.md | 2 +- .../Remove-MgCommunicationCallParticipant.md | 6 +++--- .../examples/v1.0/Remove-MgUserOnlineMeeting.md | 2 +- ...ename-MgCommunicationCallScreenSharingRole.md | 2 +- ...rt-MgCommunicationCallParticipantHoldMusic.md | 2 +- .../Stop-MgCommunicationCallMediaProcessing.md | 2 +- ...op-MgCommunicationCallParticipantHoldMusic.md | 2 +- .../Update-MgCommunicationCallRecordingStatus.md | 2 +- .../examples/v1.0/Update-MgUserOnlineMeeting.md | 4 ++-- .../examples/v1.0/Remove-MgUserActivity.md | 2 +- ...et-MgRoleManagementDirectoryRoleAssignment.md | 10 +++++----- ...eManagementDirectoryRoleAssignmentSchedule.md | 6 +++--- ...entDirectoryRoleAssignmentScheduleInstance.md | 6 +++--- ...mentDirectoryRoleAssignmentScheduleRequest.md | 10 +++++----- ...et-MgRoleManagementDirectoryRoleDefinition.md | 8 ++++---- ...ManagementDirectoryRoleEligibilitySchedule.md | 6 +++--- ...ntDirectoryRoleEligibilityScheduleInstance.md | 6 +++--- ...entDirectoryRoleEligibilityScheduleRequest.md | 6 +++--- ...agementEntitlementManagementRoleAssignment.md | 2 +- ...agementEntitlementManagementRoleDefinition.md | 2 +- ...ew-MgRoleManagementDirectoryRoleAssignment.md | 6 +++--- ...mentDirectoryRoleAssignmentScheduleRequest.md | 4 ++-- ...ew-MgRoleManagementDirectoryRoleDefinition.md | 2 +- ...entDirectoryRoleEligibilityScheduleRequest.md | 4 ++-- ...agementEntitlementManagementRoleAssignment.md | 2 +- ...ve-MgRoleManagementDirectoryRoleAssignment.md | 2 +- ...ve-MgRoleManagementDirectoryRoleDefinition.md | 2 +- ...mentDirectoryRoleAssignmentScheduleRequest.md | 2 +- ...entDirectoryRoleEligibilityScheduleRequest.md | 2 +- ...te-MgRoleManagementDirectoryRoleDefinition.md | 2 +- .../examples/v1.0/Get-MgPrintConnector.md | 4 ++-- .../examples/v1.0/Get-MgPrintOperation.md | 2 +- .../examples/v1.0/Get-MgPrintPrinter.md | 6 +++--- .../examples/v1.0/Get-MgPrintPrinterConnector.md | 2 +- .../v1.0/Get-MgPrintPrinterTaskTrigger.md | 4 ++-- .../examples/v1.0/Get-MgPrintService.md | 4 ++-- .../examples/v1.0/Get-MgPrintServiceEndpoint.md | 4 ++-- .../examples/v1.0/Get-MgPrintShare.md | 6 +++--- .../v1.0/Get-MgPrintShareAllowedGroup.md | 2 +- .../examples/v1.0/Get-MgPrintShareAllowedUser.md | 2 +- .../examples/v1.0/Get-MgPrintTaskDefinition.md | 4 ++-- .../v1.0/Get-MgPrintTaskDefinitionTask.md | 4 ++-- .../v1.0/New-MgPrintPrinterTaskTrigger.md | 2 +- .../examples/v1.0/New-MgPrintShare.md | 2 +- .../v1.0/New-MgPrintShareAllowedGroupByRef.md | 2 +- .../v1.0/New-MgPrintShareAllowedUserByRef.md | 2 +- .../examples/v1.0/New-MgPrintTaskDefinition.md | 2 +- .../examples/v1.0/Remove-MgPrintConnector.md | 2 +- .../examples/v1.0/Remove-MgPrintPrinter.md | 2 +- .../v1.0/Remove-MgPrintPrinterTaskTrigger.md | 2 +- .../examples/v1.0/Remove-MgPrintShare.md | 2 +- .../v1.0/Remove-MgPrintShareAllowedGroupByRef.md | 2 +- .../v1.0/Remove-MgPrintShareAllowedUserByRef.md | 2 +- .../v1.0/Remove-MgPrintTaskDefinition.md | 2 +- .../v1.0/Restore-MgPrintPrinterFactoryDefault.md | 2 +- .../examples/v1.0/Update-MgPrintConnector.md | 2 +- .../examples/v1.0/Update-MgPrintPrinter.md | 2 +- .../examples/v1.0/Update-MgPrintShare.md | 2 +- .../v1.0/Update-MgPrintTaskDefinition.md | 2 +- .../v1.0/Update-MgPrintTaskDefinitionTask.md | 2 +- .../Get-MgServiceAnnouncementHealthOverview.md | 8 ++++---- .../v1.0/Get-MgServiceAnnouncementIssue.md | 4 ++-- .../v1.0/Get-MgServiceAnnouncementMessage.md | 4 ++-- ...Get-MgServiceAnnouncementMessageAttachment.md | 4 ++-- ...erviceAnnouncementMessageAttachmentArchive.md | 4 ++-- ...erviceAnnouncementMessageAttachmentContent.md | 4 ++-- ...Invoke-MgArchiveServiceAnnouncementMessage.md | 2 +- ...nvoke-MgFavoriteServiceAnnouncementMessage.md | 2 +- ...nvoke-MgMarkServiceAnnouncementMessageRead.md | 2 +- ...oke-MgMarkServiceAnnouncementMessageUnread.md | 2 +- ...e-MgReportServiceAnnouncementIssueIncident.md | 2 +- ...voke-MgUnarchiveServiceAnnouncementMessage.md | 2 +- ...oke-MgUnfavoriteServiceAnnouncementMessage.md | 2 +- .../v1.0/Confirm-MgDirectoryObjectMemberGroup.md | 2 +- .../examples/v1.0/Get-MgDirectoryObject.md | 2 +- ...gDirectoryObjectAvailableExtensionProperty.md | 2 +- .../examples/v1.0/Get-MgDirectoryObjectById.md | 2 +- .../v1.0/Get-MgDirectoryObjectMemberGroup.md | 2 +- .../v1.0/Get-MgDirectoryObjectMemberObject.md | 2 +- .../examples/v1.0/Remove-MgDirectoryObject.md | 2 +- .../v1.0/Test-MgDirectoryObjectProperty.md | 2 +- .../examples/v1.0/Get-MgEducationClass.md | 4 ++-- .../v1.0/Get-MgEducationClassAssignment.md | 6 +++--- .../Get-MgEducationClassAssignmentCategory.md | 4 ++-- ...et-MgEducationClassAssignmentCategoryDelta.md | 8 ++++---- .../Get-MgEducationClassAssignmentDefault.md | 2 +- .../v1.0/Get-MgEducationClassAssignmentDelta.md | 6 +++--- .../Get-MgEducationClassAssignmentResource.md | 14 +++++++------- .../v1.0/Get-MgEducationClassAssignmentRubric.md | 2 +- .../Get-MgEducationClassAssignmentSetting.md | 2 +- .../Get-MgEducationClassAssignmentSubmission.md | 8 ++++---- ...gEducationClassAssignmentSubmissionOutcome.md | 2 +- ...EducationClassAssignmentSubmissionResource.md | 14 +++++++------- ...ClassAssignmentSubmissionSubmittedResource.md | 2 +- .../examples/v1.0/Get-MgEducationClassDelta.md | 2 +- .../examples/v1.0/Get-MgEducationClassMember.md | 2 +- .../examples/v1.0/Get-MgEducationClassSchool.md | 2 +- .../examples/v1.0/Get-MgEducationClassTeacher.md | 2 +- .../examples/v1.0/Get-MgEducationMeAssignment.md | 2 +- .../examples/v1.0/Get-MgEducationMeClass.md | 2 +- .../examples/v1.0/Get-MgEducationMeRubric.md | 4 ++-- .../examples/v1.0/Get-MgEducationMeSchool.md | 2 +- .../examples/v1.0/Get-MgEducationSchool.md | 4 ++-- .../examples/v1.0/Get-MgEducationSchoolClass.md | 2 +- .../examples/v1.0/Get-MgEducationSchoolDelta.md | 2 +- .../examples/v1.0/Get-MgEducationSchoolUser.md | 2 +- .../examples/v1.0/Get-MgEducationUser.md | 4 ++-- .../v1.0/Get-MgEducationUserAssignment.md | 4 ++-- .../examples/v1.0/Get-MgEducationUserDelta.md | 2 +- .../v1.0/Get-MgEducationUserTaughtClass.md | 4 ++-- ...ReassignEducationClassAssignmentSubmission.md | 4 ++-- ...MgReturnEducationClassAssignmentSubmission.md | 2 +- ...UnsubmitEducationClassAssignmentSubmission.md | 2 +- .../examples/v1.0/New-MgEducationClass.md | 2 +- .../v1.0/New-MgEducationClassAssignment.md | 2 +- .../New-MgEducationClassAssignmentCategory.md | 2 +- ...ew-MgEducationClassAssignmentCategoryByRef.md | 4 ++-- .../New-MgEducationClassAssignmentResource.md | 12 ++++++------ ...EducationClassAssignmentSubmissionResource.md | 12 ++++++------ .../v1.0/New-MgEducationClassMemberByRef.md | 2 +- .../v1.0/New-MgEducationClassTeacherByRef.md | 2 +- .../examples/v1.0/New-MgEducationMeRubric.md | 4 ++-- .../examples/v1.0/New-MgEducationSchool.md | 2 +- .../v1.0/New-MgEducationSchoolClassByRef.md | 2 +- .../v1.0/New-MgEducationSchoolUserByRef.md | 2 +- .../examples/v1.0/New-MgEducationUser.md | 2 +- .../v1.0/Publish-MgEducationClassAssignment.md | 2 +- .../examples/v1.0/Remove-MgEducationClass.md | 2 +- .../v1.0/Remove-MgEducationClassAssignment.md | 2 +- .../Remove-MgEducationClassAssignmentCategory.md | 2 +- ...ve-MgEducationClassAssignmentCategoryByRef.md | 2 +- .../Remove-MgEducationClassAssignmentResource.md | 2 +- ...move-MgEducationClassAssignmentRubricByRef.md | 2 +- ...EducationClassAssignmentSubmissionResource.md | 2 +- .../examples/v1.0/Remove-MgEducationMeRubric.md | 2 +- .../examples/v1.0/Remove-MgEducationSchool.md | 2 +- .../examples/v1.0/Remove-MgEducationUser.md | 2 +- .../Set-MgEducationClassAssignmentRubricByRef.md | 2 +- ...ubmit-MgEducationClassAssignmentSubmission.md | 2 +- .../examples/v1.0/Update-MgEducationClass.md | 2 +- .../v1.0/Update-MgEducationClassAssignment.md | 2 +- .../Update-MgEducationClassAssignmentDefault.md | 2 +- .../Update-MgEducationClassAssignmentSetting.md | 2 +- ...gEducationClassAssignmentSubmissionOutcome.md | 6 +++--- .../examples/v1.0/Update-MgEducationMeRubric.md | 2 +- .../examples/v1.0/Update-MgEducationSchool.md | 2 +- .../examples/v1.0/Update-MgEducationUser.md | 2 +- src/Files/Files/examples/v1.0/Get-MgDrive.md | 2 +- .../Files/examples/v1.0/Get-MgDriveItemChild.md | 2 +- .../examples/v1.0/Get-MgGroupDefaultDrive.md | 2 +- .../Files/examples/v1.0/Get-MgGroupDrive.md | 2 +- .../Files/examples/v1.0/Get-MgShareDriveItem.md | 4 ++-- .../Get-MgShareSharedDriveItemSharedDriveItem.md | 2 +- .../examples/v1.0/Get-MgUserDefaultDrive.md | 4 ++-- src/Files/Files/examples/v1.0/Get-MgUserDrive.md | 4 ++-- .../examples/v1.0/Grant-MgSharePermission.md | 2 +- .../examples/v1.0/Invoke-MgCheckinDriveItem.md | 2 +- .../examples/v1.0/Invoke-MgCheckoutDriveItem.md | 2 +- .../examples/v1.0/Restore-MgDriveItemVersion.md | 2 +- .../Groups/examples/v1.0/Add-MgGroupFavorite.md | 2 +- .../examples/v1.0/Get-MgGroupAcceptedSender.md | 2 +- .../examples/v1.0/Get-MgGroupConversation.md | 6 +++--- .../v1.0/Get-MgGroupConversationThread.md | 2 +- .../Groups/examples/v1.0/Get-MgGroupDelta.md | 2 +- .../examples/v1.0/Get-MgGroupLifecyclePolicy.md | 4 ++-- .../v1.0/Get-MgGroupLifecyclePolicyByGroup.md | 2 +- .../Groups/examples/v1.0/Get-MgGroupMemberOf.md | 2 +- .../examples/v1.0/Get-MgGroupPermissionGrant.md | 2 +- .../Groups/examples/v1.0/Get-MgGroupPhoto.md | 2 +- .../examples/v1.0/Get-MgGroupRejectedSender.md | 2 +- .../Groups/examples/v1.0/Get-MgGroupThread.md | 6 +++--- .../examples/v1.0/Get-MgGroupThreadPost.md | 2 +- .../v1.0/Get-MgGroupThreadPostAttachment.md | 2 +- .../v1.0/Get-MgGroupThreadPostExtension.md | 2 +- .../examples/v1.0/Get-MgGroupTransitiveMember.md | 2 +- .../v1.0/Get-MgGroupTransitiveMemberOf.md | 2 +- .../v1.0/Invoke-MgForwardGroupThreadPost.md | 2 +- .../Groups/examples/v1.0/Invoke-MgGraphGroup.md | 2 +- .../Groups/examples/v1.0/Invoke-MgRenewGroup.md | 2 +- .../examples/v1.0/Invoke-MgReplyGroupThread.md | 8 ++++---- .../v1.0/Invoke-MgReplyGroupThreadPost.md | 2 +- .../v1.0/Invoke-MgSubscribeGroupByMail.md | 2 +- .../v1.0/New-MgGroupAcceptedSenderByRef.md | 2 +- .../examples/v1.0/New-MgGroupConversation.md | 2 +- .../v1.0/New-MgGroupConversationThread.md | 2 +- .../examples/v1.0/New-MgGroupLifecyclePolicy.md | 2 +- .../examples/v1.0/New-MgGroupMemberByRef.md | 2 +- .../v1.0/New-MgGroupRejectedSenderByRef.md | 2 +- .../Groups/examples/v1.0/New-MgGroupThread.md | 2 +- .../examples/v1.0/Remove-MgGroupConversation.md | 4 ++-- .../examples/v1.0/Remove-MgGroupFavorite.md | 2 +- .../v1.0/Remove-MgGroupLifecyclePolicy.md | 2 +- .../examples/v1.0/Remove-MgGroupMemberByRef.md | 2 +- .../examples/v1.0/Remove-MgGroupOwnerByRef.md | 2 +- .../Groups/examples/v1.0/Remove-MgGroupThread.md | 4 ++-- .../examples/v1.0/Reset-MgGroupUnseenCount.md | 2 +- .../Groups/examples/v1.0/Set-MgGroupLicense.md | 4 ++-- .../Groups/examples/v1.0/Test-MgGroupProperty.md | 2 +- .../v1.0/Update-MgGroupLifecyclePolicy.md | 2 +- .../Groups/examples/v1.0/Update-MgGroupThread.md | 2 +- .../v1.0/Update-MgGroupThreadPostExtension.md | 2 +- .../examples/v1.0/Confirm-MgDomain.md | 2 +- .../examples/v1.0/Get-MgContactDelta.md | 2 +- .../examples/v1.0/Get-MgContactDirectReport.md | 2 +- .../examples/v1.0/Get-MgContactManager.md | 2 +- .../examples/v1.0/Get-MgContactMemberOf.md | 2 +- .../v1.0/Get-MgContactTransitiveMemberOf.md | 2 +- .../examples/v1.0/Get-MgContract.md | 4 ++-- .../examples/v1.0/Get-MgDevice.md | 14 +++++++------- .../examples/v1.0/Get-MgDeviceMemberOf.md | 2 +- .../examples/v1.0/Get-MgDeviceRegisteredOwner.md | 2 +- .../examples/v1.0/Get-MgDeviceRegisteredUser.md | 2 +- .../v1.0/Get-MgDeviceTransitiveMemberOf.md | 2 +- .../v1.0/Get-MgDirectoryAdministrativeUnit.md | 4 ++-- .../Get-MgDirectoryAdministrativeUnitMember.md | 2 +- ...t-MgDirectoryAdministrativeUnitMemberByRef.md | 2 +- ...irectoryAdministrativeUnitScopedRoleMember.md | 4 ++-- .../Get-MgDirectoryFederationConfiguration.md | 4 ++-- .../examples/v1.0/Get-MgDirectoryRoleDelta.md | 2 +- .../v1.0/Get-MgDirectoryRoleScopedMember.md | 2 +- .../examples/v1.0/Get-MgDirectoryRoleTemplate.md | 4 ++-- .../examples/v1.0/Get-MgDomainNameReference.md | 2 +- .../Get-MgDomainServiceConfigurationRecord.md | 2 +- .../v1.0/Get-MgDomainVerificationDnsRecord.md | 2 +- .../examples/v1.0/Get-MgOrganization.md | 4 ++-- .../examples/v1.0/Get-MgOrganizationBranding.md | 6 +++--- .../Get-MgOrganizationBrandingLocalization.md | 4 ++-- ...OrganizationBrandingLocalizationBannerLogo.md | 6 +++--- .../examples/v1.0/Invoke-MgForceDomainDelete.md | 2 +- .../examples/v1.0/New-MgDevice.md | 2 +- .../v1.0/New-MgDeviceRegisteredOwnerByRef.md | 2 +- .../v1.0/New-MgDeviceRegisteredUserByRef.md | 2 +- .../v1.0/New-MgDirectoryAdministrativeUnit.md | 2 +- ...w-MgDirectoryAdministrativeUnitMemberByRef.md | 2 +- ...irectoryAdministrativeUnitScopedRoleMember.md | 2 +- .../New-MgDirectoryFederationConfiguration.md | 2 +- .../examples/v1.0/New-MgDirectoryRole.md | 2 +- .../examples/v1.0/New-MgDomain.md | 2 +- .../New-MgOrganizationBrandingLocalization.md | 2 +- .../examples/v1.0/Remove-MgDevice.md | 2 +- .../v1.0/Remove-MgDeviceRegisteredOwnerByRef.md | 2 +- .../v1.0/Remove-MgDirectoryAdministrativeUnit.md | 2 +- ...e-MgDirectoryAdministrativeUnitMemberByRef.md | 2 +- ...irectoryAdministrativeUnitScopedRoleMember.md | 2 +- .../v1.0/Remove-MgDirectoryDeletedItem.md | 2 +- .../Remove-MgDirectoryFederationConfiguration.md | 2 +- .../v1.0/Remove-MgDirectoryRoleMemberByRef.md | 2 +- .../examples/v1.0/Remove-MgDomain.md | 2 +- .../Remove-MgOrganizationBrandingLocalization.md | 2 +- .../v1.0/Restore-MgDirectoryDeletedItem.md | 2 +- .../examples/v1.0/Update-MgDevice.md | 4 ++-- .../v1.0/Update-MgDirectoryAdministrativeUnit.md | 2 +- .../examples/v1.0/Update-MgDomain.md | 2 +- .../examples/v1.0/Update-MgOrganization.md | 2 +- .../v1.0/Update-MgOrganizationBranding.md | 2 +- .../Update-MgOrganizationBrandingLocalization.md | 4 ++-- ...anceAccessReviewDefinitionInstanceDecision.md | 2 +- .../Get-MgEntitlementManagementAccessPackage.md | 6 +++--- ...ntAccessPackageApplicablePolicyRequirement.md | 2 +- ...gementAccessPackageAssignmentApprovalStage.md | 4 ++-- .../Get-MgEntitlementManagementAssignment.md | 6 +++--- ...et-MgEntitlementManagementAssignmentPolicy.md | 4 ++-- ...t-MgEntitlementManagementAssignmentRequest.md | 6 +++--- .../v1.0/Get-MgEntitlementManagementCatalog.md | 4 ++-- ...EntitlementManagementConnectedOrganization.md | 4 ++-- .../v1.0/Get-MgEntitlementManagementSetting.md | 2 +- ...MgIdentityGovernanceAccessReviewDefinition.md | 8 ++++---- ...tyGovernanceAccessReviewDefinitionInstance.md | 6 +++--- ...sReviewDefinitionInstanceContactedReviewer.md | 2 +- ...anceAccessReviewDefinitionInstanceDecision.md | 6 +++--- ...ernanceAccessReviewDefinitionInstanceStage.md | 6 +++--- ...ccessReviewDefinitionInstanceStageDecision.md | 6 +++--- ...ityGovernanceAccessReviewHistoryDefinition.md | 4 ++-- ...nanceAccessReviewHistoryDefinitionInstance.md | 2 +- .../Get-MgIdentityGovernanceAppConsentRequest.md | 8 ++++---- ...ernanceAppConsentRequestUserConsentRequest.md | 6 +++--- ...Get-MgIdentityGovernanceTermOfUseAgreement.md | 8 ++++---- ...MgIdentityGovernanceTermOfUseAgreementFile.md | 2 +- .../v1.0/Get-MgUserAgreementAcceptance.md | 2 +- ...cessReviewDefinitionInstanceRecommendation.md | 2 +- ...cessReviewDefinitionInstanceRecordDecision.md | 2 +- .../New-MgEntitlementManagementAccessPackage.md | 2 +- ...ew-MgEntitlementManagementAssignmentPolicy.md | 4 ++-- ...w-MgEntitlementManagementAssignmentRequest.md | 10 +++++----- .../v1.0/New-MgEntitlementManagementCatalog.md | 2 +- ...EntitlementManagementConnectedOrganization.md | 2 +- ...tConnectedOrganizationExternalSponsorByRef.md | 2 +- ...tConnectedOrganizationInternalSponsorByRef.md | 2 +- ...MgIdentityGovernanceAccessReviewDefinition.md | 8 ++++---- ...ityGovernanceAccessReviewHistoryDefinition.md | 2 +- ...ReviewHistoryDefinitionInstanceDownloadUri.md | 2 +- ...New-MgIdentityGovernanceTermOfUseAgreement.md | 2 +- ...emove-MgEntitlementManagementAccessPackage.md | 2 +- ...ve-MgEntitlementManagementAssignmentPolicy.md | 2 +- ...e-MgEntitlementManagementAssignmentRequest.md | 2 +- .../Remove-MgEntitlementManagementCatalog.md | 2 +- ...EntitlementManagementConnectedOrganization.md | 2 +- ...tConnectedOrganizationExternalSponsorByRef.md | 2 +- ...tConnectedOrganizationInternalSponsorByRef.md | 2 +- ...MgIdentityGovernanceAccessReviewDefinition.md | 2 +- ...ove-MgIdentityGovernanceTermOfUseAgreement.md | 2 +- ...anceAccessReviewDefinitionInstanceDecision.md | 2 +- ...anceAccessReviewDefinitionInstanceReminder.md | 2 +- ...p-MgEntitlementManagementAssignmentRequest.md | 2 +- ...tyGovernanceAccessReviewDefinitionInstance.md | 2 +- ...ernanceAccessReviewDefinitionInstanceStage.md | 2 +- ...pdate-MgEntitlementManagementAccessPackage.md | 2 +- .../Update-MgEntitlementManagementCatalog.md | 2 +- ...EntitlementManagementConnectedOrganization.md | 2 +- .../Update-MgEntitlementManagementSetting.md | 2 +- ...tyGovernanceAccessReviewDefinitionInstance.md | 2 +- ...ernanceAccessReviewDefinitionInstanceStage.md | 2 +- ...ccessReviewDefinitionInstanceStageDecision.md | 6 +++--- ...ate-MgIdentityGovernanceTermOfUseAgreement.md | 2 +- .../v1.0/Confirm-MgRiskyUserCompromised.md | 2 +- .../examples/v1.0/Get-MgDataPolicyOperation.md | 2 +- .../examples/v1.0/Get-MgIdentityApiConnector.md | 4 ++-- .../examples/v1.0/Get-MgIdentityB2XUserFlow.md | 6 +++--- .../Get-MgIdentityB2XUserFlowIdentityProvider.md | 2 +- .../v1.0/Get-MgIdentityB2XUserFlowLanguage.md | 4 ++-- ...ntityB2XUserFlowLanguageDefaultPageContent.md | 2 +- ...-MgIdentityB2XUserFlowLanguageOverridePage.md | 2 +- ...IdentityB2XUserFlowUserAttributeAssignment.md | 8 ++++---- ...ityB2XUserFlowUserAttributeAssignmentOrder.md | 2 +- .../examples/v1.0/Get-MgIdentityProvider.md | 16 ++++++++-------- .../v1.0/Get-MgIdentityUserFlowAttribute.md | 4 ++-- ...gInformationProtectionBitlockerRecoveryKey.md | 8 ++++---- ...formationProtectionThreatAssessmentRequest.md | 12 ++++++------ .../examples/v1.0/Get-MgOauth2PermissionGrant.md | 4 ++-- .../v1.0/Get-MgOauth2PermissionGrantDelta.md | 2 +- ...anizationCertificateBasedAuthConfiguration.md | 4 ++-- .../Get-MgPolicyActivityBasedTimeoutPolicy.md | 4 ++-- .../Get-MgPolicyAdminConsentRequestPolicy.md | 2 +- .../v1.0/Get-MgPolicyAuthenticationFlowPolicy.md | 2 +- .../Get-MgPolicyAuthenticationMethodPolicy.md | 2 +- ...hodPolicyAuthenticationMethodConfiguration.md | 8 ++++---- .../v1.0/Get-MgPolicyClaimMappingPolicy.md | 4 ++-- .../v1.0/Get-MgPolicyCrossTenantAccessPolicy.md | 2 +- ...Get-MgPolicyCrossTenantAccessPolicyDefault.md | 2 +- ...Get-MgPolicyCrossTenantAccessPolicyPartner.md | 4 ++-- .../v1.0/Get-MgPolicyFeatureRolloutPolicy.md | 6 +++--- .../v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md | 4 ++-- ...cyIdentitySecurityDefaultEnforcementPolicy.md | 2 +- .../v1.0/Get-MgPolicyPermissionGrantPolicy.md | 4 ++-- .../Get-MgPolicyPermissionGrantPolicyExclude.md | 2 +- .../Get-MgPolicyPermissionGrantPolicyInclude.md | 2 +- .../v1.0/Get-MgPolicyRoleManagementPolicy.md | 8 ++++---- ...Get-MgPolicyRoleManagementPolicyAssignment.md | 8 ++++---- .../v1.0/Get-MgPolicyRoleManagementPolicyRule.md | 4 ++-- .../v1.0/Get-MgPolicyTokenIssuancePolicy.md | 4 ++-- .../v1.0/Get-MgPolicyTokenLifetimePolicy.md | 4 ++-- .../examples/v1.0/Get-MgRiskDetection.md | 4 ++-- .../examples/v1.0/Get-MgRiskyUser.md | 4 ++-- .../examples/v1.0/Get-MgRiskyUserHistory.md | 4 ++-- .../v1.0/Get-MgUserAuthenticationEmailMethod.md | 4 ++-- .../v1.0/Get-MgUserAuthenticationFido2Method.md | 2 +- ...AuthenticationMicrosoftAuthenticatorMethod.md | 2 +- .../v1.0/Get-MgUserAuthenticationOperation.md | 2 +- .../Get-MgUserAuthenticationPasswordMethod.md | 4 ++-- .../v1.0/Get-MgUserAuthenticationPhoneMethod.md | 4 ++-- ...Get-MgUserAuthenticationSoftwareOathMethod.md | 4 ++-- ...serAuthenticationTemporaryAccessPassMethod.md | 4 ++-- ...AuthenticationWindowHelloForBusinessMethod.md | 4 ++-- .../Invoke-MgAvailableIdentityProviderType.md | 6 +++--- .../examples/v1.0/Invoke-MgDismissRiskyUser.md | 2 +- ...ploadIdentityApiConnectorClientCertificate.md | 2 +- .../examples/v1.0/New-MgIdentityApiConnector.md | 6 +++--- .../examples/v1.0/New-MgIdentityB2XUserFlow.md | 6 +++--- ...IdentityB2XUserFlowUserAttributeAssignment.md | 2 +- .../examples/v1.0/New-MgIdentityProvider.md | 4 ++-- .../v1.0/New-MgIdentityUserFlowAttribute.md | 2 +- ...formationProtectionThreatAssessmentRequest.md | 8 ++++---- .../examples/v1.0/New-MgOauth2PermissionGrant.md | 2 +- .../New-MgPolicyActivityBasedTimeoutPolicy.md | 2 +- .../v1.0/New-MgPolicyClaimMappingPolicy.md | 2 +- ...New-MgPolicyCrossTenantAccessPolicyPartner.md | 2 +- .../v1.0/New-MgPolicyFeatureRolloutPolicy.md | 2 +- ...w-MgPolicyFeatureRolloutPolicyApplyToByRef.md | 2 +- .../v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md | 2 +- .../v1.0/New-MgPolicyPermissionGrantPolicy.md | 2 +- .../New-MgPolicyPermissionGrantPolicyExclude.md | 2 +- .../New-MgPolicyPermissionGrantPolicyInclude.md | 2 +- .../v1.0/New-MgPolicyTokenIssuancePolicy.md | 2 +- .../v1.0/New-MgPolicyTokenLifetimePolicy.md | 2 +- .../v1.0/New-MgUserAuthenticationEmailMethod.md | 2 +- .../v1.0/New-MgUserAuthenticationPhoneMethod.md | 2 +- ...serAuthenticationTemporaryAccessPassMethod.md | 2 +- .../v1.0/Remove-MgIdentityApiConnector.md | 2 +- .../v1.0/Remove-MgIdentityB2XUserFlow.md | 2 +- ...IdentityB2XUserFlowUserAttributeAssignment.md | 2 +- .../examples/v1.0/Remove-MgIdentityProvider.md | 4 ++-- .../v1.0/Remove-MgIdentityUserFlowAttribute.md | 2 +- .../v1.0/Remove-MgOauth2PermissionGrant.md | 2 +- .../Remove-MgPolicyActivityBasedTimeoutPolicy.md | 2 +- ...hodPolicyAuthenticationMethodConfiguration.md | 8 ++++---- .../v1.0/Remove-MgPolicyClaimMappingPolicy.md | 2 +- ...ove-MgPolicyCrossTenantAccessPolicyPartner.md | 2 +- .../v1.0/Remove-MgPolicyFeatureRolloutPolicy.md | 2 +- ...e-MgPolicyFeatureRolloutPolicyApplyToByRef.md | 2 +- .../Remove-MgPolicyHomeRealmDiscoveryPolicy.md | 2 +- .../v1.0/Remove-MgPolicyPermissionGrantPolicy.md | 2 +- ...emove-MgPolicyPermissionGrantPolicyExclude.md | 2 +- ...emove-MgPolicyPermissionGrantPolicyInclude.md | 2 +- .../v1.0/Remove-MgPolicyTokenIssuancePolicy.md | 2 +- .../v1.0/Remove-MgPolicyTokenLifetimePolicy.md | 2 +- .../Remove-MgUserAuthenticationEmailMethod.md | 2 +- .../Remove-MgUserAuthenticationFido2Method.md | 2 +- ...AuthenticationMicrosoftAuthenticatorMethod.md | 2 +- .../Remove-MgUserAuthenticationPhoneMethod.md | 2 +- ...ove-MgUserAuthenticationSoftwareOathMethod.md | 2 +- ...serAuthenticationTemporaryAccessPassMethod.md | 2 +- ...AuthenticationWindowHelloForBusinessMethod.md | 2 +- ...ssTenantAccessPolicyDefaultToSystemDefault.md | 2 +- ...tityB2XUserFlowLanguageOverridePageContent.md | 2 +- ...ityB2XUserFlowUserAttributeAssignmentOrder.md | 2 +- .../v1.0/Update-MgIdentityApiConnector.md | 6 +++--- ...IdentityB2XUserFlowUserAttributeAssignment.md | 2 +- .../examples/v1.0/Update-MgIdentityProvider.md | 6 +++--- .../v1.0/Update-MgIdentityUserFlowAttribute.md | 2 +- .../v1.0/Update-MgOauth2PermissionGrant.md | 2 +- .../Update-MgPolicyActivityBasedTimeoutPolicy.md | 2 +- .../Update-MgPolicyAuthenticationFlowPolicy.md | 2 +- .../Update-MgPolicyAuthenticationMethodPolicy.md | 2 +- ...hodPolicyAuthenticationMethodConfiguration.md | 8 ++++---- .../v1.0/Update-MgPolicyClaimMappingPolicy.md | 2 +- .../Update-MgPolicyCrossTenantAccessPolicy.md | 2 +- ...ate-MgPolicyCrossTenantAccessPolicyDefault.md | 2 +- ...ate-MgPolicyCrossTenantAccessPolicyPartner.md | 2 +- .../v1.0/Update-MgPolicyFeatureRolloutPolicy.md | 2 +- .../Update-MgPolicyHomeRealmDiscoveryPolicy.md | 2 +- ...cyIdentitySecurityDefaultEnforcementPolicy.md | 2 +- .../v1.0/Update-MgPolicyPermissionGrantPolicy.md | 2 +- .../Update-MgPolicyRoleManagementPolicyRule.md | 2 +- .../v1.0/Update-MgPolicyTokenIssuancePolicy.md | 2 +- .../v1.0/Update-MgPolicyTokenLifetimePolicy.md | 2 +- .../Update-MgUserAuthenticationEmailMethod.md | 2 +- .../Update-MgUserAuthenticationPhoneMethod.md | 2 +- .../Get-MgUserInferenceClassificationOverride.md | 2 +- .../Mail/examples/v1.0/Get-MgUserMailFolder.md | 6 +++--- .../v1.0/Get-MgUserMailFolderChildFolder.md | 2 +- .../examples/v1.0/Get-MgUserMailFolderMessage.md | 2 +- .../v1.0/Get-MgUserMailFolderMessageRule.md | 4 ++-- src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md | 10 +++++----- .../examples/v1.0/Get-MgUserMessageAttachment.md | 14 +++++++------- .../examples/v1.0/Get-MgUserMessageExtension.md | 2 +- .../New-MgUserInferenceClassificationOverride.md | 2 +- .../Mail/examples/v1.0/New-MgUserMailFolder.md | 2 +- .../v1.0/New-MgUserMailFolderChildFolder.md | 4 ++-- .../examples/v1.0/New-MgUserMailFolderMessage.md | 2 +- .../v1.0/New-MgUserMailFolderMessageRule.md | 2 +- src/Mail/Mail/examples/v1.0/New-MgUserMessage.md | 4 ++-- .../examples/v1.0/New-MgUserMessageAttachment.md | 4 ++-- ...move-MgUserInferenceClassificationOverride.md | 2 +- .../examples/v1.0/Remove-MgUserMailFolder.md | 2 +- .../v1.0/Remove-MgUserMailFolderMessageRule.md | 2 +- .../Mail/examples/v1.0/Remove-MgUserMessage.md | 4 ++-- .../v1.0/Remove-MgUserMessageExtension.md | 2 +- ...date-MgUserInferenceClassificationOverride.md | 2 +- .../examples/v1.0/Update-MgUserMailFolder.md | 4 ++-- .../v1.0/Update-MgUserMailFolderMessageRule.md | 2 +- .../Mail/examples/v1.0/Update-MgUserMessage.md | 4 ++-- .../examples/v1.0/Get-MgUserOnenoteNotebook.md | 6 +++--- .../v1.0/Get-MgUserOnenoteNotebookSection.md | 2 +- .../Get-MgUserOnenoteNotebookSectionGroup.md | 2 +- .../examples/v1.0/Get-MgUserOnenoteOperation.md | 2 +- .../examples/v1.0/Get-MgUserOnenoteSection.md | 4 ++-- .../v1.0/Get-MgUserOnenoteSectionGroup.md | 2 +- .../v1.0/Get-MgUserOnenoteSectionGroupSection.md | 2 +- .../examples/v1.0/New-MgUserOnenoteNotebook.md | 2 +- .../v1.0/New-MgUserOnenoteNotebookSection.md | 2 +- .../New-MgUserOnenoteNotebookSectionGroup.md | 2 +- .../v1.0/New-MgUserOnenoteSectionGroupSection.md | 2 +- .../examples/v1.0/Remove-MgUserOnenotePage.md | 2 +- .../People/examples/v1.0/Get-MgUserPerson.md | 2 +- .../examples/v1.0/Get-MgUserUsedInsight.md | 4 ++-- .../examples/v1.0/Get-MgUserContact.md | 4 ++-- .../examples/v1.0/Get-MgUserContactFolder.md | 4 ++-- .../v1.0/Get-MgUserContactFolderChildFolder.md | 2 +- .../v1.0/Get-MgUserContactFolderContact.md | 2 +- .../examples/v1.0/New-MgUserContact.md | 2 +- .../examples/v1.0/New-MgUserContactFolder.md | 2 +- .../v1.0/New-MgUserContactFolderChildFolder.md | 2 +- .../v1.0/New-MgUserContactFolderContact.md | 2 +- .../examples/v1.0/Remove-MgUserContact.md | 2 +- .../examples/v1.0/Remove-MgUserContactFolder.md | 2 +- .../examples/v1.0/Update-MgUserContact.md | 2 +- .../examples/v1.0/Update-MgUserContactFolder.md | 2 +- .../examples/v1.0/Get-MgGroupPlannerPlan.md | 2 +- .../Planner/examples/v1.0/Get-MgPlanner.md | 2 +- .../Planner/examples/v1.0/Get-MgPlannerBucket.md | 4 ++-- .../examples/v1.0/Get-MgPlannerBucketTask.md | 2 +- .../Planner/examples/v1.0/Get-MgPlannerPlan.md | 4 ++-- .../examples/v1.0/Get-MgPlannerPlanBucket.md | 2 +- .../examples/v1.0/Get-MgPlannerPlanDetail.md | 2 +- .../examples/v1.0/Get-MgPlannerPlanTask.md | 2 +- .../Planner/examples/v1.0/Get-MgPlannerTask.md | 4 ++-- ...Get-MgPlannerTaskAssignedToTaskBoardFormat.md | 2 +- .../Get-MgPlannerTaskBucketTaskBoardFormat.md | 2 +- .../examples/v1.0/Get-MgPlannerTaskDetail.md | 2 +- .../Get-MgPlannerTaskProgressTaskBoardFormat.md | 2 +- .../examples/v1.0/Get-MgUserPlannerPlan.md | 2 +- .../examples/v1.0/Get-MgUserPlannerTask.md | 2 +- .../Planner/examples/v1.0/New-MgPlannerBucket.md | 2 +- .../Planner/examples/v1.0/New-MgPlannerPlan.md | 2 +- .../Planner/examples/v1.0/New-MgPlannerTask.md | 2 +- .../examples/v1.0/Remove-MgPlannerBucket.md | 2 +- .../examples/v1.0/Remove-MgPlannerPlan.md | 2 +- .../examples/v1.0/Remove-MgPlannerTask.md | 2 +- .../examples/v1.0/Update-MgPlannerBucket.md | 2 +- .../examples/v1.0/Update-MgPlannerPlan.md | 2 +- .../examples/v1.0/Update-MgPlannerPlanDetail.md | 2 +- .../examples/v1.0/Update-MgPlannerTask.md | 2 +- ...ate-MgPlannerTaskAssignedToTaskBoardFormat.md | 2 +- .../Update-MgPlannerTaskBucketTaskBoardFormat.md | 2 +- .../examples/v1.0/Update-MgPlannerTaskDetail.md | 2 +- ...pdate-MgPlannerTaskProgressTaskBoardFormat.md | 2 +- .../v1.0/Get-MgAuditLogDirectoryAudit.md | 4 ++-- .../examples/v1.0/Get-MgAuditLogProvisioning.md | 4 ++-- .../examples/v1.0/Get-MgAuditLogSignIn.md | 6 +++--- .../v1.0/Get-MgReportDailyPrintUsageByPrinter.md | 4 ++-- .../v1.0/Get-MgReportDailyPrintUsageByUser.md | 4 ++-- .../Get-MgReportMonthlyPrintUsageByPrinter.md | 2 +- .../v1.0/Get-MgReportMonthlyPrintUsageByUser.md | 2 +- .../examples/v1.0/Get-MgSchemaExtension.md | 4 ++-- .../examples/v1.0/New-MgSchemaExtension.md | 6 +++--- .../examples/v1.0/Remove-MgSchemaExtension.md | 2 +- .../examples/v1.0/Update-MgSchemaExtension.md | 4 ++-- .../examples/v1.0/Get-MgExternalConnection.md | 4 ++-- .../v1.0/Get-MgExternalConnectionGroup.md | 2 +- .../v1.0/Get-MgExternalConnectionItem.md | 2 +- .../v1.0/Get-MgExternalConnectionOperation.md | 2 +- .../v1.0/Get-MgExternalConnectionSchema.md | 2 +- .../examples/v1.0/New-MgExternalConnection.md | 2 +- .../v1.0/New-MgExternalConnectionGroup.md | 2 +- .../v1.0/New-MgExternalConnectionGroupMember.md | 6 +++--- .../examples/v1.0/Remove-MgExternalConnection.md | 2 +- .../v1.0/Remove-MgExternalConnectionGroup.md | 2 +- .../Remove-MgExternalConnectionGroupMember.md | 2 +- .../v1.0/Remove-MgExternalConnectionItem.md | 2 +- .../examples/v1.0/Update-MgExternalConnection.md | 2 +- .../v1.0/Update-MgExternalConnectionGroup.md | 2 +- .../v1.0/Update-MgExternalConnectionItem.md | 2 +- ...-MgSecurityCaseEdiscoveryCaseCustodianHold.md | 4 ++-- ...seEdiscoveryCaseNoncustodialDataSourceHold.md | 4 ++-- ...ecurityCaseEdiscoveryCaseReviewSetQueryTag.md | 2 +- ...rityCaseEdiscoveryCaseReviewSetToReviewSet.md | 2 +- .../v1.0/Close-MgSecurityCaseEdiscoveryCase.md | 2 +- .../examples/v1.0/Get-MgSecurityAlert.md | 4 ++-- .../v1.0/Get-MgSecurityCaseEdiscoveryCase.md | 4 ++-- .../Get-MgSecurityCaseEdiscoveryCaseCustodian.md | 4 ++-- ...eEdiscoveryCaseCustodianLastIndexOperation.md | 2 +- ...urityCaseEdiscoveryCaseCustodianSiteSource.md | 2 +- ...eEdiscoveryCaseCustodianUnifiedGroupSource.md | 2 +- ...urityCaseEdiscoveryCaseCustodianUserSource.md | 2 +- ...tyCaseEdiscoveryCaseNoncustodialDataSource.md | 6 +++--- .../Get-MgSecurityCaseEdiscoveryCaseOperation.md | 4 ++-- .../Get-MgSecurityCaseEdiscoveryCaseReviewSet.md | 4 ++-- ...MgSecurityCaseEdiscoveryCaseReviewSetQuery.md | 4 ++-- .../Get-MgSecurityCaseEdiscoveryCaseSearch.md | 4 ++-- ...tyCaseEdiscoveryCaseSearchAdditionalSource.md | 4 ++-- ...ityCaseEdiscoveryCaseSearchCustodianSource.md | 2 +- ...yCaseSearchLastEstimateStatisticsOperation.md | 2 +- ...CaseEdiscoveryCaseSearchNoncustodialSource.md | 2 +- .../Get-MgSecurityCaseEdiscoveryCaseSetting.md | 2 +- .../v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md | 4 ++-- .../examples/v1.0/Get-MgSecuritySecureScore.md | 4 ++-- .../Get-MgSecuritySecureScoreControlProfile.md | 4 ++-- ...lize-MgSecurityCaseEdiscoveryCaseCustodian.md | 2 +- ...MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md | 2 +- ...SecurityCaseEdiscoveryCaseSearchStatistics.md | 2 +- .../Invoke-MgReopenSecurityCaseEdiscoveryCase.md | 2 +- .../v1.0/New-MgSecurityCaseEdiscoveryCase.md | 2 +- .../New-MgSecurityCaseEdiscoveryCaseCustodian.md | 2 +- ...urityCaseEdiscoveryCaseCustodianSiteSource.md | 2 +- ...eEdiscoveryCaseCustodianUnifiedGroupSource.md | 6 +++--- ...tyCaseEdiscoveryCaseNoncustodialDataSource.md | 2 +- .../New-MgSecurityCaseEdiscoveryCaseReviewSet.md | 2 +- ...MgSecurityCaseEdiscoveryCaseReviewSetQuery.md | 2 +- .../New-MgSecurityCaseEdiscoveryCaseSearch.md | 2 +- ...lish-MgSecurityCaseEdiscoveryCaseCustodian.md | 2 +- ...tyCaseEdiscoveryCaseNoncustodialDataSource.md | 2 +- .../v1.0/Remove-MgSecurityCaseEdiscoveryCase.md | 2 +- ...-MgSecurityCaseEdiscoveryCaseCustodianHold.md | 2 +- ...seEdiscoveryCaseNoncustodialDataSourceHold.md | 4 ++-- ...MgSecurityCaseEdiscoveryCaseReviewSetQuery.md | 2 +- .../Remove-MgSecurityCaseEdiscoveryCaseSearch.md | 2 +- .../Remove-MgSecurityCaseEdiscoveryCaseTag.md | 2 +- ...SecurityCaseEdiscoveryCaseSettingToDefault.md | 2 +- .../examples/v1.0/Update-MgSecurityAlert.md | 4 ++-- .../v1.0/Update-MgSecurityCaseEdiscoveryCase.md | 2 +- ...MgSecurityCaseEdiscoveryCaseCustodianIndex.md | 2 +- ...eEdiscoveryCaseNoncustodialDataSourceIndex.md | 2 +- ...MgSecurityCaseEdiscoveryCaseReviewSetQuery.md | 2 +- .../Update-MgSecurityCaseEdiscoveryCaseSearch.md | 2 +- ...Update-MgSecurityCaseEdiscoveryCaseSetting.md | 2 +- ...Update-MgSecuritySecureScoreControlProfile.md | 4 ++-- .../v1.0/Add-MgSiteListContentTypeCopy.md | 2 +- ...gSiteListContentTypeCopyFromContentTypeHub.md | 6 +++--- ...-MgSiteContentTypeToDefaultContentLocation.md | 2 +- src/Sites/Sites/examples/v1.0/Get-MgSite.md | 6 +++--- .../Sites/examples/v1.0/Get-MgSiteColumn.md | 2 +- .../Sites/examples/v1.0/Get-MgSiteContentType.md | 6 +++--- .../examples/v1.0/Get-MgSiteContentTypeColumn.md | 4 ++-- .../examples/v1.0/Get-MgSiteDefaultDrive.md | 2 +- src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md | 2 +- src/Sites/Sites/examples/v1.0/Get-MgSiteList.md | 12 ++++++------ .../Sites/examples/v1.0/Get-MgSiteListColumn.md | 2 +- .../examples/v1.0/Get-MgSiteListContentType.md | 2 +- ...iteListContentTypeCompatibleHubContentType.md | 2 +- .../Sites/examples/v1.0/Get-MgSiteListItem.md | 2 +- .../v1.0/Get-MgSiteListItemDocumentSetVersion.md | 4 ++-- .../examples/v1.0/Get-MgSiteListItemVersion.md | 4 ++-- .../Sites/examples/v1.0/Get-MgSitePermission.md | 4 ++-- .../Sites/examples/v1.0/Get-MgSiteTermStore.md | 2 +- .../examples/v1.0/Get-MgSiteTermStoreGroup.md | 6 +++--- .../examples/v1.0/Get-MgSiteTermStoreGroupSet.md | 2 +- .../v1.0/Get-MgSiteTermStoreGroupSetTerm.md | 2 +- .../examples/v1.0/Get-MgSiteTermStoreSet.md | 2 +- .../examples/v1.0/Get-MgSiteTermStoreSetChild.md | 2 +- .../v1.0/Get-MgSiteTermStoreSetRelation.md | 2 +- src/Sites/Sites/examples/v1.0/Get-MgSubSite.md | 2 +- .../examples/v1.0/Get-MgUserFollowedSite.md | 2 +- .../v1.0/Join-MgSiteContentTypeWithHubSite.md | 2 +- .../Sites/examples/v1.0/New-MgSiteColumn.md | 2 +- .../Sites/examples/v1.0/New-MgSiteContentType.md | 2 +- .../examples/v1.0/New-MgSiteContentTypeColumn.md | 2 +- src/Sites/Sites/examples/v1.0/New-MgSiteList.md | 2 +- .../Sites/examples/v1.0/New-MgSiteListColumn.md | 2 +- .../Sites/examples/v1.0/New-MgSiteListItem.md | 2 +- .../v1.0/New-MgSiteListItemDocumentSetVersion.md | 2 +- .../Sites/examples/v1.0/New-MgSitePermission.md | 2 +- .../examples/v1.0/New-MgSiteTermStoreGroup.md | 2 +- .../examples/v1.0/New-MgSiteTermStoreSetChild.md | 2 +- .../examples/v1.0/Publish-MgSiteContentType.md | 2 +- .../examples/v1.0/Remove-MgSiteContentType.md | 2 +- .../v1.0/Remove-MgSiteContentTypeColumn.md | 2 +- .../Sites/examples/v1.0/Remove-MgSiteListItem.md | 2 +- .../Remove-MgSiteListItemDocumentSetVersion.md | 2 +- .../examples/v1.0/Remove-MgSitePermission.md | 2 +- .../examples/v1.0/Remove-MgSiteTermStoreGroup.md | 2 +- .../examples/v1.0/Remove-MgSiteTermStoreSet.md | 2 +- .../v1.0/Remove-MgSiteTermStoreSetTerm.md | 2 +- .../Restore-MgSiteListItemDocumentSetVersion.md | 2 +- .../v1.0/Restore-MgSiteListItemVersion.md | 2 +- .../v1.0/Test-MgSiteContentTypePublished.md | 2 +- .../examples/v1.0/Unpublish-MgSiteContentType.md | 2 +- .../examples/v1.0/Update-MgSiteContentType.md | 2 +- .../examples/v1.0/Update-MgSiteListItemField.md | 2 +- .../examples/v1.0/Update-MgSitePermission.md | 2 +- .../examples/v1.0/Update-MgSiteTermStore.md | 2 +- .../examples/v1.0/Update-MgSiteTermStoreSet.md | 2 +- .../v1.0/Update-MgSiteTermStoreSetTerm.md | 2 +- .../Teams/examples/v1.0/Add-MgTeamMember.md | 6 +++--- .../v1.0/Complete-MgTeamChannelMigration.md | 2 +- .../examples/v1.0/Complete-MgTeamMigration.md | 2 +- src/Teams/Teams/examples/v1.0/Copy-MgTeam.md | 2 +- .../examples/v1.0/Get-MgAppCatalogTeamApp.md | 10 +++++----- .../v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md | 2 +- src/Teams/Teams/examples/v1.0/Get-MgChat.md | 8 ++++---- .../examples/v1.0/Get-MgChatInstalledApp.md | 8 ++++---- .../Teams/examples/v1.0/Get-MgChatMember.md | 4 ++-- .../Teams/examples/v1.0/Get-MgChatMessage.md | 4 ++-- .../v1.0/Get-MgChatMessageHostedContent.md | 4 ++-- src/Teams/Teams/examples/v1.0/Get-MgChatTab.md | 6 +++--- src/Teams/Teams/examples/v1.0/Get-MgTeam.md | 2 +- .../Teams/examples/v1.0/Get-MgTeamChannel.md | 10 +++++----- .../examples/v1.0/Get-MgTeamChannelFileFolder.md | 2 +- .../examples/v1.0/Get-MgTeamChannelMember.md | 4 ++-- .../examples/v1.0/Get-MgTeamChannelMessage.md | 6 +++--- .../Get-MgTeamChannelMessageHostedContent.md | 2 +- .../v1.0/Get-MgTeamChannelMessageReply.md | 2 +- ...Get-MgTeamChannelMessageReplyHostedContent.md | 2 +- .../v1.0/Get-MgTeamChannelSharedWithTeam.md | 4 ++-- ...t-MgTeamChannelSharedWithTeamAllowedMember.md | 2 +- .../Teams/examples/v1.0/Get-MgTeamChannelTab.md | 4 ++-- .../examples/v1.0/Get-MgTeamIncomingChannel.md | 2 +- .../examples/v1.0/Get-MgTeamInstalledApp.md | 10 +++++----- .../Teams/examples/v1.0/Get-MgTeamMember.md | 8 ++++---- .../examples/v1.0/Get-MgTeamPrimaryChannel.md | 2 +- .../Teams/examples/v1.0/Get-MgTeamSchedule.md | 2 +- .../v1.0/Get-MgTeamScheduleOfferShiftRequest.md | 4 ++-- .../examples/v1.0/Get-MgTeamScheduleOpenShift.md | 4 ++-- .../Get-MgTeamScheduleOpenShiftChangeRequest.md | 4 ++-- .../v1.0/Get-MgTeamScheduleSchedulingGroup.md | 4 ++-- .../examples/v1.0/Get-MgTeamScheduleShift.md | 4 ++-- .../Get-MgTeamScheduleSwapShiftChangeRequest.md | 4 ++-- .../examples/v1.0/Get-MgTeamScheduleTimeOff.md | 4 ++-- .../v1.0/Get-MgTeamScheduleTimeOffReason.md | 4 ++-- .../v1.0/Get-MgTeamScheduleTimeOffRequest.md | 4 ++-- .../v1.0/Get-MgTeamworkWorkforceIntegration.md | 4 ++-- src/Teams/Teams/examples/v1.0/Get-MgUserChat.md | 6 +++--- .../Teams/examples/v1.0/Get-MgUserChatMember.md | 2 +- .../Teams/examples/v1.0/Get-MgUserJoinedTeam.md | 2 +- .../v1.0/Get-MgUserTeamworkAssociatedTeam.md | 2 +- .../v1.0/Get-MgUserTeamworkInstalledApp.md | 8 ++++---- .../v1.0/Get-MgUserTeamworkInstalledAppChat.md | 2 +- .../Teams/examples/v1.0/Invoke-MgArchiveTeam.md | 2 +- .../examples/v1.0/Invoke-MgShareTeamSchedule.md | 2 +- .../examples/v1.0/Invoke-MgUnarchiveTeam.md | 2 +- .../examples/v1.0/New-MgAppCatalogTeamApp.md | 2 +- src/Teams/Teams/examples/v1.0/New-MgChat.md | 12 ++++++------ .../examples/v1.0/New-MgChatInstalledApp.md | 2 +- .../Teams/examples/v1.0/New-MgChatMember.md | 8 ++++---- .../Teams/examples/v1.0/New-MgChatMessage.md | 4 ++-- src/Teams/Teams/examples/v1.0/New-MgChatTab.md | 2 +- src/Teams/Teams/examples/v1.0/New-MgTeam.md | 16 ++++++++-------- .../Teams/examples/v1.0/New-MgTeamChannel.md | 10 +++++----- .../examples/v1.0/New-MgTeamChannelEmail.md | 2 +- .../examples/v1.0/New-MgTeamChannelMember.md | 14 +++++++------- .../examples/v1.0/New-MgTeamChannelMessage.md | 16 ++++++++-------- .../v1.0/New-MgTeamChannelMessageReply.md | 4 ++-- .../examples/v1.0/New-MgTeamInstalledApp.md | 2 +- .../Teams/examples/v1.0/New-MgTeamMember.md | 4 ++-- .../v1.0/New-MgTeamScheduleOfferShiftRequest.md | 2 +- .../examples/v1.0/New-MgTeamScheduleOpenShift.md | 2 +- .../New-MgTeamScheduleOpenShiftChangeRequest.md | 2 +- .../v1.0/New-MgTeamScheduleSchedulingGroup.md | 2 +- .../examples/v1.0/New-MgTeamScheduleShift.md | 2 +- .../New-MgTeamScheduleSwapShiftChangeRequest.md | 2 +- .../examples/v1.0/New-MgTeamScheduleTimeOff.md | 2 +- .../v1.0/New-MgTeamScheduleTimeOffReason.md | 2 +- .../v1.0/New-MgTeamworkWorkforceIntegration.md | 2 +- .../v1.0/New-MgUserTeamworkInstalledApp.md | 2 +- .../examples/v1.0/Remove-MgAppCatalogTeamApp.md | 2 +- .../examples/v1.0/Remove-MgChatInstalledApp.md | 2 +- .../Teams/examples/v1.0/Remove-MgChatMember.md | 2 +- .../Teams/examples/v1.0/Remove-MgChatTab.md | 2 +- .../Teams/examples/v1.0/Remove-MgTeamChannel.md | 2 +- .../examples/v1.0/Remove-MgTeamChannelEmail.md | 2 +- .../examples/v1.0/Remove-MgTeamChannelMember.md | 2 +- .../v1.0/Remove-MgTeamChannelSharedWithTeam.md | 2 +- .../examples/v1.0/Remove-MgTeamInstalledApp.md | 2 +- .../Teams/examples/v1.0/Remove-MgTeamMember.md | 2 +- .../v1.0/Remove-MgTeamScheduleOpenShift.md | 2 +- .../v1.0/Remove-MgTeamScheduleSchedulingGroup.md | 2 +- .../examples/v1.0/Remove-MgTeamScheduleShift.md | 2 +- .../v1.0/Remove-MgTeamScheduleTimeOff.md | 2 +- .../v1.0/Remove-MgTeamScheduleTimeOffReason.md | 2 +- .../v1.0/Remove-MgTeamScheduleTimeOffRequest.md | 2 +- .../Remove-MgTeamworkWorkforceIntegration.md | 2 +- .../v1.0/Remove-MgUserTeamworkInstalledApp.md | 2 +- .../v1.0/Send-MgChatActivityNotification.md | 10 +++++----- .../v1.0/Send-MgTeamActivityNotification.md | 8 ++++---- src/Teams/Teams/examples/v1.0/Update-MgChat.md | 2 +- .../examples/v1.0/Update-MgChatInstalledApp.md | 2 +- .../Teams/examples/v1.0/Update-MgChatTab.md | 2 +- src/Teams/Teams/examples/v1.0/Update-MgTeam.md | 2 +- .../Teams/examples/v1.0/Update-MgTeamChannel.md | 2 +- .../examples/v1.0/Update-MgTeamChannelMember.md | 2 +- .../examples/v1.0/Update-MgTeamChannelMessage.md | 2 +- .../examples/v1.0/Update-MgTeamInstalledApp.md | 2 +- .../Teams/examples/v1.0/Update-MgTeamMember.md | 2 +- .../v1.0/Update-MgTeamScheduleOpenShift.md | 2 +- .../examples/v1.0/Update-MgTeamScheduleShift.md | 2 +- .../Update-MgTeamworkWorkforceIntegration.md | 2 +- .../examples/v1.0/Clear-MgUserPresence.md | 2 +- .../examples/v1.0/Confirm-MgUserMemberGroup.md | 2 +- .../examples/v1.0/Confirm-MgUserMemberObject.md | 2 +- .../examples/v1.0/Copy-MgUserMailFolder.md | 2 +- .../examples/v1.0/Copy-MgUserMessage.md | 2 +- .../examples/v1.0/Copy-MgUserOnenoteNotebook.md | 2 +- .../v1.0/Copy-MgUserOnenotePageToSection.md | 2 +- .../v1.0/Copy-MgUserOnenoteSectionToNotebook.md | 2 +- .../Copy-MgUserOnenoteSectionToSectionGroup.md | 2 +- ...able-MgUserAuthenticationPhoneMethodSmSign.md | 2 +- ...able-MgUserAuthenticationPhoneMethodSmSign.md | 2 +- .../examples/v1.0/Export-MgUserPersonalData.md | 2 +- .../examples/v1.0/Find-MgUserMeetingTime.md | 2 +- .../v1.0/Get-MgUserDefaultCalendarSchedule.md | 2 +- .../examples/v1.0/Get-MgUserMailTip.md | 2 +- .../examples/v1.0/Get-MgUserMemberGroup.md | 2 +- .../v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md | 2 +- .../examples/v1.0/Invoke-MgAcceptUserEvent.md | 2 +- .../v1.0/Invoke-MgAcceptUserEventTentatively.md | 2 +- .../Invoke-MgCreateOrGetUserOnlineMeeting.md | 2 +- .../examples/v1.0/Invoke-MgDeclineUserEvent.md | 2 +- .../v1.0/Invoke-MgDismissUserEventReminder.md | 2 +- .../examples/v1.0/Invoke-MgForwardUserEvent.md | 2 +- .../examples/v1.0/Invoke-MgForwardUserMessage.md | 2 +- .../examples/v1.0/Invoke-MgLicenseUser.md | 2 +- .../v1.0/Invoke-MgReplyAllUserMessage.md | 2 +- .../examples/v1.0/Invoke-MgReplyUserMessage.md | 2 +- .../v1.0/Invoke-MgSnoozeUserEventReminder.md | 2 +- .../v1.0/Invoke-MgTranslateUserExchangeId.md | 2 +- .../examples/v1.0/Move-MgUserMailFolder.md | 2 +- .../examples/v1.0/Move-MgUserMessage.md | 2 +- .../New-MgUserMessageAttachmentUploadSession.md | 4 ++-- .../examples/v1.0/New-MgUserMessageForward.md | 2 +- .../examples/v1.0/New-MgUserMessageReply.md | 2 +- .../examples/v1.0/New-MgUserMessageReplyAll.md | 2 +- .../examples/v1.0/Revoke-MgUserSign.md | 2 +- .../examples/v1.0/Send-MgUserMail.md | 6 +++--- .../examples/v1.0/Send-MgUserMessage.md | 2 +- .../Send-MgUserTeamworkActivityNotification.md | 6 +++--- .../examples/v1.0/Set-MgUserPresence.md | 2 +- .../examples/v1.0/Stop-MgUserEvent.md | 2 +- .../examples/v1.0/Update-MgUserPassword.md | 2 +- .../v1.0/Get-MgUserContactFolderDelta.md | 2 +- .../examples/v1.0/Get-MgUserDelta.md | 2 +- .../v1.0/Get-MgUserMailFolderMessageDelta.md | 2 +- .../examples/v1.0/Invoke-MgRecentUserActivity.md | 2 +- .../Invoke-MgSupportedUserOutlookLanguage.md | 2 +- .../examples/v1.0/Invoke-MgTimeUserOutlook.md | 2 +- .../Users/examples/v1.0/Get-MgUserMemberOf.md | 2 +- .../v1.0/Get-MgUserOutlookMasterCategory.md | 4 ++-- .../Users/examples/v1.0/Get-MgUserOwnedDevice.md | 2 +- .../Users/examples/v1.0/Get-MgUserOwnedObject.md | 2 +- .../examples/v1.0/Get-MgUserRegisteredDevice.md | 2 +- .../v1.0/Get-MgUserSettingShiftPreference.md | 2 +- .../Users/examples/v1.0/Get-MgUserTodoList.md | 4 ++-- .../examples/v1.0/Get-MgUserTodoListTask.md | 4 ++-- .../v1.0/Get-MgUserTodoListTaskChecklistItem.md | 4 ++-- .../v1.0/Get-MgUserTodoListTaskLinkedResource.md | 4 ++-- .../v1.0/Get-MgUserTransitiveMemberOf.md | 2 +- .../v1.0/New-MgUserOutlookMasterCategory.md | 2 +- .../Users/examples/v1.0/New-MgUserTodoList.md | 2 +- .../examples/v1.0/New-MgUserTodoListTask.md | 2 +- .../v1.0/New-MgUserTodoListTaskChecklistItem.md | 2 +- .../v1.0/New-MgUserTodoListTaskLinkedResource.md | 2 +- .../v1.0/Remove-MgUserOutlookMasterCategory.md | 2 +- .../Users/examples/v1.0/Remove-MgUserTodoList.md | 2 +- .../examples/v1.0/Remove-MgUserTodoListTask.md | 2 +- .../Remove-MgUserTodoListTaskChecklistItem.md | 2 +- .../Remove-MgUserTodoListTaskLinkedResource.md | 2 +- .../v1.0/Update-MgUserOutlookMasterCategory.md | 2 +- .../v1.0/Update-MgUserSettingShiftPreference.md | 2 +- .../Users/examples/v1.0/Update-MgUserTodoList.md | 2 +- .../examples/v1.0/Update-MgUserTodoListTask.md | 2 +- .../Update-MgUserTodoListTaskChecklistItem.md | 2 +- .../Update-MgUserTodoListTaskLinkedResource.md | 2 +- 966 files changed, 1435 insertions(+), 1435 deletions(-) diff --git a/src/Applications/Applications/examples/v1.0/Add-MgApplicationKey.md b/src/Applications/Applications/examples/v1.0/Add-MgApplicationKey.md index 91a1eafe770..9bbd73fb228 100644 --- a/src/Applications/Applications/examples/v1.0/Add-MgApplicationKey.md +++ b/src/Applications/Applications/examples/v1.0/Add-MgApplicationKey.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ KeyCredential = @{ @@ -13,7 +13,7 @@ $params = @{ Add-MgApplicationKey -ApplicationId $applicationId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ KeyCredential = @{ diff --git a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalKey.md b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalKey.md index 4f511d58784..f125a9d4e24 100644 --- a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalKey.md +++ b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalKey.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ KeyCredential = @{ @@ -13,7 +13,7 @@ $params = @{ Add-MgServicePrincipalKey -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ KeyCredential = @{ diff --git a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalPassword.md b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalPassword.md index a117554ebeb..1546ed8f69e 100644 --- a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalPassword.md +++ b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalPassword.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ PasswordCredential = @{ diff --git a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalTokenSigningCertificate.md b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalTokenSigningCertificate.md index 386f321fa20..bd0f19b141f 100644 --- a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalTokenSigningCertificate.md +++ b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalTokenSigningCertificate.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ DisplayName = "CN=customDisplayName" diff --git a/src/Applications/Applications/examples/v1.0/Clear-MgApplicationVerifiedPublisher.md b/src/Applications/Applications/examples/v1.0/Clear-MgApplicationVerifiedPublisher.md index 52092130187..538f791cfd0 100644 --- a/src/Applications/Applications/examples/v1.0/Clear-MgApplicationVerifiedPublisher.md +++ b/src/Applications/Applications/examples/v1.0/Clear-MgApplicationVerifiedPublisher.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Clear-MgApplicationVerifiedPublisher -ApplicationId $applicationId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationDelta.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationDelta.md index 47288de616d..8d15f3bc642 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationDelta.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationDelta.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationDelta ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationExtensionProperty.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationExtensionProperty.md index a67ccb5cb35..7d0b1a9356b 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationExtensionProperty.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationExtensionProperty.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationExtensionProperty -ApplicationId $applicationId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationExtensionProperty -ApplicationId $applicationId -ExtensionPropertyId $extensionPropertyId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationFederatedIdentityCredential.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationFederatedIdentityCredential.md index ae51fea6708..08b8783612e 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationFederatedIdentityCredential.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationFederatedIdentityCredential.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -FederatedIdentityCredentialId $federatedIdentityCredentialId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationOwner.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationOwner.md index cbc8d601426..3052c3fbbf2 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationOwner.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationOwner.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationOwner -ApplicationId $applicationId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTemplate.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTemplate.md index fca7ba75998..db2c7522e7a 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTemplate.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTemplate.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationTemplate -ApplicationTemplateId $applicationTemplateId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationTemplate ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenIssuancePolicy.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenIssuancePolicy.md index f7f3923448f..dd3ec5b38a8 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenIssuancePolicy.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenIssuancePolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationTokenIssuancePolicy -ApplicationId $applicationId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenLifetimePolicy.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenLifetimePolicy.md index d9cea8e7127..db2054058fa 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenLifetimePolicy.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenLifetimePolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationTokenLifetimePolicy -ApplicationId $applicationId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalAppRoleAssignedTo.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalAppRoleAssignedTo.md index 7b97bc2e6cd..7a8e9778e50 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalAppRoleAssignedTo.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalAppRoleAssignedTo.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalClaimMappingPolicy.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalClaimMappingPolicy.md index 0a1bb4368df..071fa92177d 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalClaimMappingPolicy.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalClaimMappingPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalClaimMappingPolicy -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalCreatedObject.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalCreatedObject.md index b6368f72419..0edfd892d89 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalCreatedObject.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalCreatedObject.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalCreatedObject -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelegatedPermissionClassification.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelegatedPermissionClassification.md index 01b27e7f7b9..d52539c7271 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelegatedPermissionClassification.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelegatedPermissionClassification.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalDelegatedPermissionClassification -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelta.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelta.md index 4cbf55f435f..34d45233f5f 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelta.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelta.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalDelta ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalHomeRealmDiscoveryPolicy.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalHomeRealmDiscoveryPolicy.md index eb52aa9fb2f..6591d1c46e6 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalHomeRealmDiscoveryPolicy.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalHomeRealmDiscoveryPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalHomeRealmDiscoveryPolicy -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalMemberOf.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalMemberOf.md index faa5bad47da..0897e4d5696 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalMemberOf.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalMemberOf.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalMemberOf -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOauth2PermissionGrant.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOauth2PermissionGrant.md index 9169710fd1e..453c8c4ad98 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOauth2PermissionGrant.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOauth2PermissionGrant.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalOauth2PermissionGrant -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOwnedObject.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOwnedObject.md index ff5cef2ee4a..7b9c5a3132f 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOwnedObject.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOwnedObject.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalOwnedObject -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalTransitiveMemberOf.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalTransitiveMemberOf.md index 9eee1c059e2..dbb913c1e85 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalTransitiveMemberOf.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalTransitiveMemberOf.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalTransitiveMemberOf -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Invoke-MgInstantiateApplicationTemplate.md b/src/Applications/Applications/examples/v1.0/Invoke-MgInstantiateApplicationTemplate.md index ef7e16cd78a..99f3f0563d5 100644 --- a/src/Applications/Applications/examples/v1.0/Invoke-MgInstantiateApplicationTemplate.md +++ b/src/Applications/Applications/examples/v1.0/Invoke-MgInstantiateApplicationTemplate.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ DisplayName = "Azure AD SAML Toolkit" diff --git a/src/Applications/Applications/examples/v1.0/New-MgApplicationExtensionProperty.md b/src/Applications/Applications/examples/v1.0/New-MgApplicationExtensionProperty.md index 87270bfddcb..79a373937ee 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgApplicationExtensionProperty.md +++ b/src/Applications/Applications/examples/v1.0/New-MgApplicationExtensionProperty.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ Name = "jobGroup" diff --git a/src/Applications/Applications/examples/v1.0/New-MgApplicationFederatedIdentityCredential.md b/src/Applications/Applications/examples/v1.0/New-MgApplicationFederatedIdentityCredential.md index cdfc504765a..6cba8dc4fd5 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgApplicationFederatedIdentityCredential.md +++ b/src/Applications/Applications/examples/v1.0/New-MgApplicationFederatedIdentityCredential.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ Name = "testing02" diff --git a/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenIssuancePolicyByRef.md b/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenIssuancePolicyByRef.md index 574a0aa553b..0342edc8aa3 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenIssuancePolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenIssuancePolicyByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/policies/tokenIssuancePolicies/cd3d9b57-0aee-4f25-8ee3-ac74ef5986a9" diff --git a/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenLifetimePolicyByRef.md b/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenLifetimePolicyByRef.md index 556c83ca5ef..91184dadbf4 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenLifetimePolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenLifetimePolicyByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies/cd3d9b57-0aee-4f25-8ee3-ac74ef5986a9" diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignedTo.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignedTo.md index f77634c2886..0a1e38b33fe 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignedTo.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignedTo.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ PrincipalId = "33ad69f9-da99-4bed-acd0-3f24235cb296" diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignment.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignment.md index 07c13eb18fb..3e3484e8ae5 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignment.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ PrincipalId = "9028d19c-26a9-4809-8e3f-20ff73e2d75e" diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalClaimMappingPolicyByRef.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalClaimMappingPolicyByRef.md index 627c177b1a3..79604ece030 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalClaimMappingPolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalClaimMappingPolicyByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/policies/claimsMappingPolicies/cd3d9b57-0aee-4f25-8ee3-ac74ef5986a9" diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalDelegatedPermissionClassification.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalDelegatedPermissionClassification.md index 66d96eb8573..dfeb07ddfd2 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalDelegatedPermissionClassification.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalDelegatedPermissionClassification.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ PermissionId = "e1fe6dd8-ba31-4d61-89e7-88639da4683d" diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md index 3bbdaea5544..a274ec9b013 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies/cd3d9b57-0aee-4f25-8ee3-ac74ef5986a9" diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationExtensionProperty.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationExtensionProperty.md index 19d8a2f0471..8a55b7c42ba 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationExtensionProperty.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationExtensionProperty.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Remove-MgApplicationExtensionProperty -ApplicationId $applicationId -ExtensionPropertyId $extensionPropertyId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationFederatedIdentityCredential.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationFederatedIdentityCredential.md index 3f9bc731079..468a5403f1f 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationFederatedIdentityCredential.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationFederatedIdentityCredential.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Remove-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -FederatedIdentityCredentialId $federatedIdentityCredentialId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationKey.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationKey.md index 2815ac73016..8471f61cb29 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationKey.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationKey.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ KeyId = "f0b0b335-1d71-4883-8f98-567911bfdca6" diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationOwnerByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationOwnerByRef.md index 8e3761ec688..3a18049663c 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationOwnerByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationOwnerByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Remove-MgApplicationOwnerByRef -ApplicationId $applicationId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationPassword.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationPassword.md index 7162ba1a537..ce4bd86f663 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationPassword.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationPassword.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ KeyId = "f0b0b335-1d71-4883-8f98-567911bfdca6" diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenIssuancePolicyByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenIssuancePolicyByRef.md index c4a70ae4332..72ce95325db 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenIssuancePolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenIssuancePolicyByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Remove-MgApplicationTokenIssuancePolicyByRef -ApplicationId $applicationId -TokenIssuancePolicyId $tokenIssuancePolicyId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenLifetimePolicyByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenLifetimePolicyByRef.md index dc8e0309b87..f845b259c87 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenLifetimePolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenLifetimePolicyByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Remove-MgApplicationTokenLifetimePolicyByRef -ApplicationId $applicationId -TokenLifetimePolicyId $tokenLifetimePolicyId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgGroupAppRoleAssignment.md b/src/Applications/Applications/examples/v1.0/Remove-MgGroupAppRoleAssignment.md index b0da17640d5..e8f8985da06 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgGroupAppRoleAssignment.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgGroupAppRoleAssignment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Remove-MgGroupAppRoleAssignment -GroupId $groupId -AppRoleAssignmentId $appRoleAssignmentId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipal.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipal.md index bd6c169d9a5..e213d390b70 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipal.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipal.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Remove-MgServicePrincipal -ServicePrincipalId $servicePrincipalId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalAppRoleAssignedTo.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalAppRoleAssignedTo.md index 52ecba967d5..5294cdb6b4d 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalAppRoleAssignedTo.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalAppRoleAssignedTo.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Remove-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId $servicePrincipalId -AppRoleAssignmentId $appRoleAssignmentId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalClaimMappingPolicyByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalClaimMappingPolicyByRef.md index 8baf4dd80c1..8ee0400c918 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalClaimMappingPolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalClaimMappingPolicyByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Remove-MgServicePrincipalClaimMappingPolicyByRef -ServicePrincipalId $servicePrincipalId -ClaimsMappingPolicyId $claimsMappingPolicyId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalDelegatedPermissionClassification.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalDelegatedPermissionClassification.md index 62465105751..6981b6a8028 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalDelegatedPermissionClassification.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalDelegatedPermissionClassification.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Remove-MgServicePrincipalDelegatedPermissionClassification -ServicePrincipalId $servicePrincipalId -DelegatedPermissionClassificationId $delegatedPermissionClassificationId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md index 1646a530d38..2b8f26da662 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef -ServicePrincipalId $servicePrincipalId -HomeRealmDiscoveryPolicyId $homeRealmDiscoveryPolicyId ``` diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalKey.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalKey.md index 4568eb8e90b..861ea0829ef 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalKey.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalKey.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ KeyId = "f0b0b335-1d71-4883-8f98-567911bfdca6" diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalPassword.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalPassword.md index 606b93d09f8..144d1974f8f 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalPassword.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalPassword.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ KeyId = "f0b0b335-1d71-4883-8f98-567911bfdca6" diff --git a/src/Applications/Applications/examples/v1.0/Set-MgApplicationVerifiedPublisher.md b/src/Applications/Applications/examples/v1.0/Set-MgApplicationVerifiedPublisher.md index ee9011fe509..e91e10dcba2 100644 --- a/src/Applications/Applications/examples/v1.0/Set-MgApplicationVerifiedPublisher.md +++ b/src/Applications/Applications/examples/v1.0/Set-MgApplicationVerifiedPublisher.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ VerifiedPublisherId = "1234567" diff --git a/src/Applications/Applications/examples/v1.0/Update-MgApplicationFederatedIdentityCredential.md b/src/Applications/Applications/examples/v1.0/Update-MgApplicationFederatedIdentityCredential.md index 15fae20d092..d48c7926a00 100644 --- a/src/Applications/Applications/examples/v1.0/Update-MgApplicationFederatedIdentityCredential.md +++ b/src/Applications/Applications/examples/v1.0/Update-MgApplicationFederatedIdentityCredential.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Applications $params = @{ Name = "testing02" diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusiness.md index 82a3bde40d8..c72d5c15b87 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusiness.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusiness -BookingBusinessId $bookingBusinessId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusiness ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusiness -Query "Adventure" ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessAppointment.md index 648b7cffa7f..0659cc2d44d 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessAppointment.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId -BookingAppointmentId $bookingAppointmentId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCalendarView.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCalendarView.md index 311dfb67721..498e9e125c2 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCalendarView.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCalendarView.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessCalendarView -BookingBusinessId $bookingBusinessId -Start "2018-04-30T00:00:00Z" -End "2018-05-10T00:00:00Z" ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomQuestion.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomQuestion.md index f8aa23e5d3a..0a1f7032b76 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomQuestion.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomQuestion.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessCustomQuestion -BookingBusinessId $bookingBusinessId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessCustomQuestion -BookingBusinessId $bookingBusinessId -BookingCustomQuestionId $bookingCustomQuestionId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomer.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomer.md index 88a5af53931..e0a926f5b73 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomer.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomer.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessCustomer -BookingBusinessId $bookingBusinessId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessCustomer -BookingBusinessId $bookingBusinessId -BookingCustomerBaseId $bookingCustomerBaseId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessService.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessService.md index 8181d81ada1..833b73de1ff 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessService.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessService.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessService -BookingBusinessId $bookingBusinessId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessService -BookingBusinessId $bookingBusinessId -BookingServiceId $bookingServiceId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessStaffMember.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessStaffMember.md index bb78224a648..732911b0ed9 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessStaffMember.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessStaffMember.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessStaffMember -BookingBusinessId $bookingBusinessId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessStaffMember -BookingBusinessId $bookingBusinessId -BookingStaffMemberBaseId $bookingStaffMemberBaseId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingCurrency.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingCurrency.md index 4bec3d73c93..c213a1b8078 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingCurrency.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingCurrency.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingCurrency -BookingCurrencyId $bookingCurrencyId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingCurrency ``` diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusiness.md index c04f87c9d63..b9081d37011 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusiness.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings $params = @{ DisplayName = "Fourth Coffee" diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessAppointment.md index 28b1464caa4..f79067ead9f 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessAppointment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingAppointment" diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomQuestion.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomQuestion.md index 16153915002..5f27bd4cfda 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomQuestion.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomQuestion.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingCustomQuestion" diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomer.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomer.md index 0707cb8117d..cf7eff4628f 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomer.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomer.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingCustomer" diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessService.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessService.md index 59cbd90ea3a..6f398f963b3 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessService.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessService.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingService" diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessStaffMember.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessStaffMember.md index f5896858c61..73285a6db7d 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessStaffMember.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessStaffMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingStaffMember" diff --git a/src/Bookings/Bookings/examples/v1.0/Publish-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Publish-MgBookingBusiness.md index 7a92e4cebee..bdac9c6ff7e 100644 --- a/src/Bookings/Bookings/examples/v1.0/Publish-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Publish-MgBookingBusiness.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Publish-MgBookingBusiness -BookingBusinessId $bookingBusinessId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusiness.md index 6396da37c7b..5161d90e3fe 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusiness.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusiness -BookingBusinessId $bookingBusinessId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessAppointment.md index 714198c516f..32e2c998e67 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessAppointment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId -BookingAppointmentId $bookingAppointmentId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomQuestion.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomQuestion.md index 5f2e0166323..aeb9b9c835b 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomQuestion.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomQuestion.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusinessCustomQuestion -BookingBusinessId $bookingBusinessId -BookingCustomQuestionId $bookingCustomQuestionId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomer.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomer.md index 367c0022974..bc84f9bce53 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomer.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomer.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusinessCustomer -BookingBusinessId $bookingBusinessId -BookingCustomerBaseId $bookingCustomerBaseId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessService.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessService.md index f34f34d7f81..4dc626a77cf 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessService.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessService.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusinessService -BookingBusinessId $bookingBusinessId -BookingServiceId $bookingServiceId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessStaffMember.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessStaffMember.md index 9595e5a620d..4ea8a42cf3d 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessStaffMember.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessStaffMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusinessStaffMember -BookingBusinessId $bookingBusinessId -BookingStaffMemberBaseId $bookingStaffMemberBaseId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Stop-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/Stop-MgBookingBusinessAppointment.md index bb29fd4e044..ff825afda2c 100644 --- a/src/Bookings/Bookings/examples/v1.0/Stop-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/Stop-MgBookingBusinessAppointment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings $params = @{ CancellationMessage = "Your appointment has been successfully cancelled. Please call us again." diff --git a/src/Bookings/Bookings/examples/v1.0/Unpublish-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Unpublish-MgBookingBusiness.md index 8695e0d9401..eff7bbf6c84 100644 --- a/src/Bookings/Bookings/examples/v1.0/Unpublish-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Unpublish-MgBookingBusiness.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings Unpublish-MgBookingBusiness -BookingBusinessId $bookingBusinessId ``` diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusiness.md index d825cc8bc21..6cb8d0fcc7d 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusiness.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings $params = @{ Email = "admin@fabrikam.com" diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessAppointment.md index 17bb24e0cd9..be41e5eb8a3 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessAppointment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingAppointment" diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomQuestion.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomQuestion.md index 91df2de6d1e..2242894ea42 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomQuestion.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomQuestion.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingCustomQuestion" diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomer.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomer.md index 87d54ec6140..7c2cd3c11f2 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomer.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomer.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingCustomer" diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessService.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessService.md index 8e1901d2dee..4973a7105e2 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessService.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessService.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingService" diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessStaffMember.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessStaffMember.md index 53ccc89ce56..30891e4a48a 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessStaffMember.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessStaffMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Bookings $params = @{ "@odata.type" = "#microsoft.graph.bookingStaffMember" diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEvent.md b/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEvent.md index ead5d17fa6d..e9d8df14716 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEvent.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar Get-MgGroupEvent -GroupId $groupId -EventId $eventId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar Get-MgGroupEvent -GroupId $groupId ``` diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEventExtension.md b/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEventExtension.md index a332f5c3872..d4155158076 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEventExtension.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEventExtension.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar Get-MgGroupEventExtension -GroupId $groupId -EventId $eventId -ExtensionId $extensionId ``` diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgPlace.md b/src/Calendar/Calendar/examples/v1.0/Get-MgPlace.md index 70ac7a35202..7c1d55f02b9 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgPlace.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgPlace.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar Get-MgPlace -PlaceId $placeId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar Get-MgPlace -PlaceId $placeId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar Get-MgPlace -PlaceId $placeId ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar Get-MgPlace -PlaceId $placeId ``` diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendar.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendar.md index 0e225174435..8535c349264 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendar.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserCalendar -UserId $userId diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroup.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroup.md index fb627f3c378..449dd6ff0f0 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroup.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroup.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserCalendarGroup -UserId $userId -CalendarGroupId $calendarGroupId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserCalendarGroup -UserId $userId diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroupCalendar.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroupCalendar.md index 1a20e999abd..4c3f33c657a 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroupCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroupCalendar.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserCalendarGroupCalendar -UserId $userId -CalendarGroupId $calendarGroupId diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarPermission.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarPermission.md index 7d2aeb38115..a2556b8caf4 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarPermission.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarPermission.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar Get-MgUserCalendarPermission -UserId $userId -CalendarPermissionId $calendarPermissionId ``` diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarView.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarView.md index 5f38b45d681..02ebf0c64e6 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarView.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarView.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserCalendarView -UserId $userId -Startdatetime "2017-01-01T19:00:00-08:00" -Enddatetime "2017-01-07T19:00:00-08:00" diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserDefaultCalendar.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserDefaultCalendar.md index 253aa62ff6c..5a632413e9c 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserDefaultCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserDefaultCalendar.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserDefaultCalendar -UserId $userId diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEvent.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEvent.md index b5d7c2741d3..f5c5c116a4d 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEvent.md @@ -1,17 +1,17 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserEvent -UserId $userId -EventId $eventId -Property "subject,body,bodyPreview,organizer,attendees,start,end,location,locations" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserEvent -UserId $userId -EventId $eventId -Property "subject,body,bodyPreview,organizer,attendees,start,end,location,hideAttendees" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserEvent -UserId $userId -Property "subject,body,bodyPreview,organizer,attendees,start,end,location" diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventAttachment.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventAttachment.md index adaf398b609..6093d3631a7 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventAttachment.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventAttachment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserEventAttachment -UserId $userId -EventId $eventId diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventInstance.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventInstance.md index e787d497d50..d597b77e2e7 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventInstance.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventInstance.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserEventInstance -UserId $userId -EventId $eventId -Startdatetime "2019-04-08T09:00:00.0000000" -Enddatetime "2019-04-30T09:00:00.0000000" -Property "subject,bodyPreview,seriesMasterId,type,recurrence,start,end" diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgGroupEvent.md b/src/Calendar/Calendar/examples/v1.0/New-MgGroupEvent.md index 7cd8d3f32e6..6b6e53d3acf 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgGroupEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgGroupEvent.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ Subject = "Let's go for lunch" diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendar.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendar.md index 58fc2e5ac0a..0ea27280587 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendar.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ Name = "Volunteer" diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarEvent.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarEvent.md index 48ad01fc53a..99b2e88d801 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarEvent.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ Subject = "Let's go for lunch" @@ -33,7 +33,7 @@ $params = @{ New-MgUserCalendarEvent -UserId $userId -CalendarId $calendarId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ Subject = "Let's go for lunch" diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroup.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroup.md index ed52acc81b3..172870cad54 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroup.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ Name = "Personal events" diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroupCalendar.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroupCalendar.md index 4d5c1556356..dba9a69f2f1 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroupCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroupCalendar.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ Name = "Marketing calendar" diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserEvent.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserEvent.md index c2b47abe83f..1cae789aaed 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserEvent.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ Subject = "Plan summer company picnic" @@ -63,7 +63,7 @@ $params = @{ New-MgUserEvent -UserId $userId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ Subject = "Let's go for lunch" @@ -98,7 +98,7 @@ $params = @{ New-MgUserEvent -UserId $userId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ Subject = "Let's go for lunch" @@ -134,7 +134,7 @@ $params = @{ New-MgUserEvent -UserId $userId -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ Subject = "Let's go for lunch" diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserEventAttachment.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserEventAttachment.md index d8e6c4a8f77..84bc969b626 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserEventAttachment.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserEventAttachment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ "@odata.type" = "#microsoft.graph.fileAttachment" @@ -10,7 +10,7 @@ $params = @{ New-MgUserEventAttachment -UserId $userId -EventId $eventId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ "@odata.type" = "#microsoft.graph.itemAttachment" @@ -24,7 +24,7 @@ $params = @{ New-MgUserEventAttachment -UserId $userId -EventId $eventId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ "@odata.type" = "#Microsoft.OutlookServices.ItemAttachment" diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgGroupEvent.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgGroupEvent.md index b4edfece33c..18d89812bca 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgGroupEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgGroupEvent.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar Remove-MgGroupEvent -GroupId $groupId -EventId $eventId ``` diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarGroup.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarGroup.md index 925d2942748..4e987269782 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarGroup.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Remove-MgUserCalendarGroup -UserId $userId -CalendarGroupId $calendarGroupId diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarPermission.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarPermission.md index a52d95affe4..1264d185ada 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarPermission.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarPermission.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar Remove-MgUserCalendarPermission -UserId $userId -CalendarPermissionId $calendarPermissionId ``` diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEvent.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEvent.md index ea4d0fe0f56..e74cc9dabd9 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEvent.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Remove-MgUserEvent -UserId $userId -EventId $eventId diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEventAttachment.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEventAttachment.md index 48a334d53ee..40663478bd2 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEventAttachment.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEventAttachment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Remove-MgUserEventAttachment -UserId $userId -EventId $eventId -AttachmentId $attachmentId diff --git a/src/Calendar/Calendar/examples/v1.0/Update-MgPlace.md b/src/Calendar/Calendar/examples/v1.0/Update-MgPlace.md index cc53295aa2e..190fb9248ee 100644 --- a/src/Calendar/Calendar/examples/v1.0/Update-MgPlace.md +++ b/src/Calendar/Calendar/examples/v1.0/Update-MgPlace.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ "@odata.type" = "microsoft.graph.room" @@ -12,7 +12,7 @@ $params = @{ Update-MgPlace -PlaceId $placeId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ "@odata.type" = "microsoft.graph.roomList" diff --git a/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarGroup.md b/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarGroup.md index 6c60b664403..c1578468402 100644 --- a/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarGroup.md +++ b/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ Name = "name-value" diff --git a/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarPermission.md b/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarPermission.md index e87bd435a7d..bb320fc95e6 100644 --- a/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarPermission.md +++ b/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarPermission.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ Role = "write" diff --git a/src/Calendar/Calendar/examples/v1.0/Update-MgUserEvent.md b/src/Calendar/Calendar/examples/v1.0/Update-MgUserEvent.md index a6fff025a48..8370ea1b5cf 100644 --- a/src/Calendar/Calendar/examples/v1.0/Update-MgUserEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Update-MgUserEvent.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Calendar $params = @{ OriginalStartTimeZone = "originalStartTimeZone-value" diff --git a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Get-MgSubscription.md b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Get-MgSubscription.md index 762aab13dee..2def9677f31 100644 --- a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Get-MgSubscription.md +++ b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Get-MgSubscription.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.ChangeNotifications Get-MgSubscription -SubscriptionId $subscriptionId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.ChangeNotifications Get-MgSubscription ``` diff --git a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/New-MgSubscription.md b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/New-MgSubscription.md index f260dd1ed35..421d1111641 100644 --- a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/New-MgSubscription.md +++ b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/New-MgSubscription.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.ChangeNotifications $params = @{ ChangeType = "created" diff --git a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Remove-MgSubscription.md b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Remove-MgSubscription.md index cd6e605e30b..3c193f36954 100644 --- a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Remove-MgSubscription.md +++ b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Remove-MgSubscription.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.ChangeNotifications Remove-MgSubscription -SubscriptionId $subscriptionId ``` diff --git a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Update-MgSubscription.md b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Update-MgSubscription.md index c54a4fb8787..8e15e2a08c5 100644 --- a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Update-MgSubscription.md +++ b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Update-MgSubscription.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.ChangeNotifications $params = @{ ExpirationDateTime = [System.DateTime]::Parse("2016-11-22T18:23:45.9356913Z") diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCall.md index 4cc83921001..fc074559dd7 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCall.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCall -CallId $callId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCall -CallId $callId ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallParticipant.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallParticipant.md index 37a54363977..9233de16117 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallParticipant.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallParticipant.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participantId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallParticipant -CallId $callId ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecord.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecord.md index 130a2e4ca90..423aceb9871 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecord.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecord.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecord -CallRecordId $callRecordId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecord -CallRecordId $callRecordId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecord -CallRecordId $callRecordId -ExpandProperty "sessions(`$expand=segments)" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecord -CallRecordId $callRecordId ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecordSession.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecordSession.md index 64f8a94483d..a20feab43d4 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecordSession.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecordSession.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecordSession -CallRecordId $callRecordId -ExpandProperty "segments" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecordSession -CallRecordId $callRecordId ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationOnlineMeeting.md index ba3572b25d1..f23dd9a5484 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationOnlineMeeting.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationOnlineMeeting -Filter "VideoTeleconferenceId eq '123456789'" ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresence.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresence.md index 57c7dd1f252..e93e1926c53 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresence.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresence.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationPresence -PresenceId $presenceId ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresenceByUserId.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresenceByUserId.md index 67bc61b1773..11a96a584df 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresenceByUserId.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresenceByUserId.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Ids = @( diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeeting.md index 6d236a52273..06e026d47aa 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeeting.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserOnlineMeeting -UserId $userId -Filter "JoinWebUrl eq 'https://teams.microsoft.com/l/meetup-join/19:meeting_MGQ4MDQyNTEtNTQ2NS00YjQxLTlkM2EtZWVkODYxODYzMmY2@thread.v2/0?context" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserOnlineMeeting -UserId $userId -OnlineMeetingId $onlineMeetingId diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReport.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReport.md index b7938f6971f..23b6ee5755a 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReport.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReport.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserOnlineMeetingAttendanceReport -UserId $userId -OnlineMeetingId $onlineMeetingId -MeetingAttendanceReportId $meetingAttendanceReportId -ExpandProperty "attendanceRecords" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserOnlineMeetingAttendanceReport -UserId $userId -OnlineMeetingId $onlineMeetingId diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord.md index 918af41d9cb..f7686ac895d 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord -UserId $userId -OnlineMeetingId $onlineMeetingId -MeetingAttendanceReportId $meetingAttendanceReportId diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserPresence.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserPresence.md index 81851941bca..ff31dfef7a4 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserPresence.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserPresence.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgUserPresence -UserId $userId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserPresence -UserId $userId diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgAnswerCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgAnswerCommunicationCall.md index be3f5435e45..2c1a1638f63 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgAnswerCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgAnswerCommunicationCall.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ CallbackUri = "https://bot.contoso.com/api/calls" @@ -14,7 +14,7 @@ $params = @{ Invoke-MgAnswerCommunicationCall -CallId $callId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ CallbackUri = "callbackUri-value" @@ -30,7 +30,7 @@ $params = @{ Invoke-MgAnswerCommunicationCall -CallId $callId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ CallbackUri = "https://bot.contoso.com/api/calls" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgInviteCommunicationCallParticipant.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgInviteCommunicationCallParticipant.md index d73757ab8be..b4fb7df245b 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgInviteCommunicationCallParticipant.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgInviteCommunicationCallParticipant.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Participants = @( @@ -21,7 +21,7 @@ $params = @{ Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Participants = @( @@ -41,7 +41,7 @@ $params = @{ Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Participants = @( @@ -63,7 +63,7 @@ $params = @{ Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Participants = @( @@ -86,7 +86,7 @@ $params = @{ Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Participants = @( @@ -120,7 +120,7 @@ $params = @{ Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` ### Example 6 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Participants = @( @@ -142,7 +142,7 @@ $params = @{ Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` ### Example 7 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Participants = @( diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgKeepCommunicationCallAlive.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgKeepCommunicationCallAlive.md index ebcb2621260..66c52fa7485 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgKeepCommunicationCallAlive.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgKeepCommunicationCallAlive.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Invoke-MgKeepCommunicationCallAlive -CallId $callId ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality.md index 8c5fc6c0a06..f0829098067 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Quality = @{ diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCall.md index 859e5942f1c..178323e7e16 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCall.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ ClientContext = "clientContext-value" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCallParticipant.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCallParticipant.md index 5d4cb0069ec..ac89826f0af 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCallParticipant.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCallParticipant.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ ClientContext = "d45324c1-fcb5-430a-902c-f20af696537c" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgPlayCommunicationCallPrompt.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgPlayCommunicationCallPrompt.md index 8d90d59ee2f..65f69f0377f 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgPlayCommunicationCallPrompt.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgPlayCommunicationCallPrompt.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ ClientContext = "d45324c1-fcb5-430a-902c-f20af696537c" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRecordCommunicationCallResponse.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRecordCommunicationCallResponse.md index 1e19c382307..8f1b4b11e86 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRecordCommunicationCallResponse.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRecordCommunicationCallResponse.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ BargeInAllowed = $true diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRedirectCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRedirectCommunicationCall.md index 2ea25a79ddd..f86955325f3 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRedirectCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRedirectCommunicationCall.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Targets = @( @@ -20,7 +20,7 @@ $params = @{ Invoke-MgRedirectCommunicationCall -CallId $callId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Targets = @( diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRejectCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRejectCommunicationCall.md index f7ee6fc05eb..7fb9f4340ed 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRejectCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRejectCommunicationCall.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Reason = "none" @@ -7,7 +7,7 @@ $params = @{ Invoke-MgRejectCommunicationCall -CallId $callId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Reason = "busy" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgSubscribeCommunicationCallToTone.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgSubscribeCommunicationCallToTone.md index 2142bd5515e..2751aa684ba 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgSubscribeCommunicationCallToTone.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgSubscribeCommunicationCallToTone.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ ClientContext = "fd1c7836-4d84-4e24-b6aa-23188688cc54" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgUnmuteCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgUnmuteCommunicationCall.md index 28e722b1a9e..0cce94ef892 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgUnmuteCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgUnmuteCommunicationCall.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ ClientContext = "clientContext-value" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Move-MgCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Move-MgCommunicationCall.md index cad7e644d03..22a950aa02c 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Move-MgCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Move-MgCommunicationCall.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ TransferTarget = @{ @@ -15,7 +15,7 @@ $params = @{ Move-MgCommunicationCall -CallId $callId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ TransferTarget = @{ @@ -35,7 +35,7 @@ $params = @{ Move-MgCommunicationCall -CallId $callId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ TransferTarget = @{ @@ -54,7 +54,7 @@ $params = @{ Move-MgCommunicationCall -CallId $callId -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ TransferTarget = @{ @@ -76,7 +76,7 @@ $params = @{ Move-MgCommunicationCall -CallId $callId -BodyParameter $params ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ TransferTarget = @{ diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgCommunicationCall.md index a8e1a72c882..9415fbf9545 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgCommunicationCall.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ "@odata.type" = "#microsoft.graph.call" @@ -41,7 +41,7 @@ $params = @{ New-MgCommunicationCall -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ "@odata.type" = "#microsoft.graph.call" @@ -69,7 +69,7 @@ $params = @{ New-MgCommunicationCall -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ "@odata.type" = "#microsoft.graph.call" @@ -112,7 +112,7 @@ $params = @{ New-MgCommunicationCall -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ "@odata.type" = "#microsoft.graph.call" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgUserOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgUserOnlineMeeting.md index 21674fd1f9f..f3ef1dea1ec 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgUserOnlineMeeting.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ StartDateTime = [System.DateTime]::Parse("2019-07-12T14:30:34.2444915-07:00") diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCall.md index 4f4f8618bcd..a671f44d907 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCall.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Remove-MgCommunicationCall -CallId $callId ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCallParticipant.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCallParticipant.md index 44e72f4e95c..dd78a1f832e 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCallParticipant.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCallParticipant.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Remove-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participantId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Remove-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participantId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications Remove-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participantId ``` diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgUserOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgUserOnlineMeeting.md index c622558760f..e35cfd60d98 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgUserOnlineMeeting.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Remove-MgUserOnlineMeeting -UserId $userId -OnlineMeetingId $onlineMeetingId diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Rename-MgCommunicationCallScreenSharingRole.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Rename-MgCommunicationCallScreenSharingRole.md index 2592dd61e18..0d66fbbaee2 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Rename-MgCommunicationCallScreenSharingRole.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Rename-MgCommunicationCallScreenSharingRole.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ Role = "viewer" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Start-MgCommunicationCallParticipantHoldMusic.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Start-MgCommunicationCallParticipantHoldMusic.md index 5cc2725e43e..e306c331e25 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Start-MgCommunicationCallParticipantHoldMusic.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Start-MgCommunicationCallParticipantHoldMusic.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ CustomPrompt = @{ diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallMediaProcessing.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallMediaProcessing.md index 2ffe9b6a427..5d6091d2bc7 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallMediaProcessing.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallMediaProcessing.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ ClientContext = "clientContext-value" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallParticipantHoldMusic.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallParticipantHoldMusic.md index 54ce81169c1..de3d156a0c7 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallParticipantHoldMusic.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallParticipantHoldMusic.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ ClientContext = "d45324c1-fcb5-430a-902c-f20af696537c" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgCommunicationCallRecordingStatus.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgCommunicationCallRecordingStatus.md index 82908b1ead6..2907e41f5c9 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgCommunicationCallRecordingStatus.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgCommunicationCallRecordingStatus.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ ClientContext = "clientContext-value" diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgUserOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgUserOnlineMeeting.md index 6c87cdfdd2f..803730f2fb5 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgUserOnlineMeeting.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ LobbyBypassSettings = @{ @@ -10,7 +10,7 @@ $params = @{ Update-MgUserOnlineMeeting -UserId $userId -OnlineMeetingId $onlineMeetingId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ StartDateTime = [System.DateTime]::Parse("2020-09-09T14:33:30.8546353-07:00") diff --git a/src/CrossDeviceExperiences/CrossDeviceExperiences/examples/v1.0/Remove-MgUserActivity.md b/src/CrossDeviceExperiences/CrossDeviceExperiences/examples/v1.0/Remove-MgUserActivity.md index be3d901bf47..e8f71f01312 100644 --- a/src/CrossDeviceExperiences/CrossDeviceExperiences/examples/v1.0/Remove-MgUserActivity.md +++ b/src/CrossDeviceExperiences/CrossDeviceExperiences/examples/v1.0/Remove-MgUserActivity.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.CrossDeviceExperiences # A UPN can also be used as -UserId. Remove-MgUserActivity -UserId $userId -UserActivityId $userActivityId diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignment.md index 89e0fd2235b..ceb7cc2f254 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignment.md @@ -1,25 +1,25 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignment -Filter "roleDefinitionId eq '62e90394-69f5-4237-9190-012177145e10'" -ExpandProperty "principal" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignment -Filter " principalId eq '5bde3e51-d13b-4db1-9948-fe4b109d11a7'" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId -ExpandProperty "roleDefinition" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId -ExpandProperty "roleDefinition" ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentSchedule.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentSchedule.md index f4196981d70..e30cc72c8d6 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentSchedule.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentSchedule.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentSchedule -UnifiedRoleAssignmentScheduleId $unifiedRoleAssignmentScheduleId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentSchedule ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentSchedule -UnifiedRoleAssignmentScheduleId $unifiedRoleAssignmentScheduleId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance.md index 5181487e410..004f7cd1ae6 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance -UnifiedRoleAssignmentScheduleInstanceId $unifiedRoleAssignmentScheduleInstanceId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance -UnifiedRoleAssignmentScheduleInstanceId $unifiedRoleAssignmentScheduleInstanceId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md index aedf47c99d9..1e4b638adbe 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md @@ -1,25 +1,25 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId -Property "principalId,action,roleDefinitionId" -ExpandProperty "roleDefinition,activatedUsing,principal,targetSchedule" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -Property "principalId,action,roleDefinitionId" -ExpandProperty "roleDefinition,activatedUsing,principal,targetSchedule" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleDefinition.md index 642b4b86de9..145f84c8929 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleDefinition.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId -ExpandProperty "inheritsPermissionsFrom" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleDefinition ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilitySchedule.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilitySchedule.md index 4f3a46c62b0..48ab1d924aa 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilitySchedule.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilitySchedule.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilitySchedule -UnifiedRoleEligibilityScheduleId $unifiedRoleEligibilityScheduleId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilitySchedule ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilitySchedule -UnifiedRoleEligibilityScheduleId $unifiedRoleEligibilityScheduleId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance.md index 9eda1b9415c..7e008ae2c4b 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance -UnifiedRoleEligibilityScheduleInstanceId $unifiedRoleEligibilityScheduleInstanceId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance -UnifiedRoleEligibilityScheduleInstanceId $unifiedRoleEligibilityScheduleInstanceId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md index 12c71cdbc65..a9778068e01 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -UnifiedRoleEligibilityScheduleRequestId $unifiedRoleEligibilityScheduleRequestId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -UnifiedRoleEligibilityScheduleRequestId $unifiedRoleEligibilityScheduleRequestId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleAssignment.md index bffba07f5e1..1b883ea48e2 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleAssignment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementEntitlementManagementRoleAssignment -Filter "appScopeId eq '/AccessPackageCatalog/4cee616b-fdf9-4890-9d10-955e0ccb12bc'" -ExpandProperty "principal" ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleDefinition.md index 3d68927dc57..a6ff855414a 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleDefinition.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementEntitlementManagementRoleDefinition ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignment.md index 46ea7a4ebbb..a708c1922fa 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ "@odata.type" = "#microsoft.graph.unifiedRoleAssignment" @@ -10,7 +10,7 @@ $params = @{ New-MgRoleManagementDirectoryRoleAssignment -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ "@odata.type" = "#microsoft.graph.unifiedRoleAssignment" @@ -21,7 +21,7 @@ $params = @{ New-MgRoleManagementDirectoryRoleAssignment -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ "@odata.type" = "#microsoft.graph.unifiedRoleAssignment" diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md index c0eb0b06338..9b26703861c 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ Action = "adminAssign" @@ -17,7 +17,7 @@ $params = @{ New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ Action = "selfActivate" diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleDefinition.md index d26ebdb066e..fd0ac60aa28 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleDefinition.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ Description = "Update basic properties of application registrations" diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md index f121548a03d..5b65b927cfa 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ Action = "adminAssign" @@ -18,7 +18,7 @@ $params = @{ New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ Action = "adminRemove" diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementEntitlementManagementRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementEntitlementManagementRoleAssignment.md index a27867ace23..6bbe550cdea 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementEntitlementManagementRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementEntitlementManagementRoleAssignment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ PrincipalId = "679a9213-c497-48a4-830a-8d3d25d94ddc" diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleAssignment.md index 81ef44fea12..7e5ef710b93 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleAssignment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Remove-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleDefinition.md index ff1775a4e94..667c6abcc59 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleDefinition.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Remove-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md index f185537c46e..3ae858ebf03 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md index 8677fc3bdc4..3777364fd91 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -UnifiedRoleEligibilityScheduleRequestId $unifiedRoleEligibilityScheduleRequestId ``` diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Update-MgRoleManagementDirectoryRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Update-MgRoleManagementDirectoryRoleDefinition.md index 066e0e1d98d..4a48e80dc9f 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Update-MgRoleManagementDirectoryRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Update-MgRoleManagementDirectoryRoleDefinition.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ Description = "Update basic properties of application registrations" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintConnector.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintConnector.md index f953d0f90f4..4c38c0bc082 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintConnector.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintConnector.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintConnector -PrintConnectorId $printConnectorId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintConnector ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintOperation.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintOperation.md index 0dc80dc12b5..654054d67e1 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintOperation.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintOperation.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintOperation -PrintOperationId $printOperationId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinter.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinter.md index a605578e0c3..031a3da0894 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinter.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinter.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinter -PrinterId $printerId -Property "id,displayName,capabilities" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinter -PrinterId $printerId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinter ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterConnector.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterConnector.md index 82a113c219c..1441e5d0171 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterConnector.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterConnector.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinterConnector -PrinterId $printerId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterTaskTrigger.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterTaskTrigger.md index 7f749ca4aa0..86fd3efa356 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterTaskTrigger.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterTaskTrigger.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinterTaskTrigger -PrinterId $printerId -PrintTaskTriggerId $printTaskTriggerId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinterTaskTrigger -PrinterId $printerId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintService.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintService.md index 38b506a7fb7..ea61dde021e 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintService.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintService.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintService -PrintServiceId $printServiceId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintService ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintServiceEndpoint.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintServiceEndpoint.md index 7e4100e2895..197ee9f059f 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintServiceEndpoint.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintServiceEndpoint.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintServiceEndpoint -PrintServiceId $printServiceId -PrintServiceEndpointId $printServiceEndpointId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintServiceEndpoint -PrintServiceId $printServiceId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShare.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShare.md index de2bca621a7..adf6f5bdc81 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShare.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShare.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintShare -PrinterShareId $printerShareId -Property "id,displayName,capabilities" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintShare -PrinterShareId $printerShareId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintShare ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedGroup.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedGroup.md index 5858445d3f6..8a0136523ac 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedGroup.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintShareAllowedGroup -PrinterShareId $printerShareId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedUser.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedUser.md index 7240a9485d8..5a81f2d4a1d 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedUser.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedUser.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintShareAllowedUser -PrinterShareId $printerShareId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinition.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinition.md index d1cbc8bb1f5..8205f866069 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinition.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinition.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintTaskDefinition -PrintTaskDefinitionId $printTaskDefinitionId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintTaskDefinition ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinitionTask.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinitionTask.md index a66b2c7d66a..2de3b1acb83 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinitionTask.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinitionTask.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintTaskDefinitionTask -PrintTaskDefinitionId $printTaskDefinitionId -PrintTaskId $printTaskId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintTaskDefinitionTask -PrintTaskDefinitionId $printTaskDefinitionId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintPrinterTaskTrigger.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintPrinterTaskTrigger.md index c6eea7e5a00..f7663fc4b1c 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintPrinterTaskTrigger.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintPrinterTaskTrigger.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ Event = "jobStarted" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShare.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShare.md index 08a58da3fb0..aec818e1f05 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShare.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShare.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ DisplayName = "ShareName" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedGroupByRef.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedGroupByRef.md index c2f891649ab..2cd74d80343 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedGroupByRef.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedGroupByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/groups/{groupId}" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedUserByRef.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedUserByRef.md index 918a47e2912..f91fa79da31 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedUserByRef.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedUserByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/users/{userId}" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintTaskDefinition.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintTaskDefinition.md index f3a9d79597f..1cad0619ff7 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintTaskDefinition.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintTaskDefinition.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ DisplayName = "Test TaskDefinitionName" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintConnector.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintConnector.md index 0a0c6fd65e8..711e973d3be 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintConnector.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintConnector.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintConnector -PrintConnectorId $printConnectorId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinter.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinter.md index 96f73f7dfb3..e668f49b077 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinter.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinter.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintPrinter -PrinterId $printerId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinterTaskTrigger.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinterTaskTrigger.md index 6d64058a748..7c1bfeeeb57 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinterTaskTrigger.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinterTaskTrigger.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintPrinterTaskTrigger -PrinterId $printerId -PrintTaskTriggerId $printTaskTriggerId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShare.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShare.md index 17ea7599727..e935112ba07 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShare.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShare.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintShare -PrinterShareId $printerShareId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedGroupByRef.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedGroupByRef.md index fc1e97c8f99..289d71d29e4 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedGroupByRef.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedGroupByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintShareAllowedGroupByRef -PrinterShareId $printerShareId -GroupId $groupId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedUserByRef.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedUserByRef.md index b84f151cec7..f43df6c42a2 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedUserByRef.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedUserByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintShareAllowedUserByRef -PrinterShareId $printerShareId -UserId $userId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintTaskDefinition.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintTaskDefinition.md index 4e81d9bc7a0..1635f6ab7bf 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintTaskDefinition.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintTaskDefinition.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintTaskDefinition -PrintTaskDefinitionId $printTaskDefinitionId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Restore-MgPrintPrinterFactoryDefault.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Restore-MgPrintPrinterFactoryDefault.md index fa063388434..a59b247caae 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Restore-MgPrintPrinterFactoryDefault.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Restore-MgPrintPrinterFactoryDefault.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Restore-MgPrintPrinterFactoryDefault -PrinterId $printerId ``` diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintConnector.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintConnector.md index 681999b7419..6d0a4dae012 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintConnector.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintConnector.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ DisplayName = "ConnectorName" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintPrinter.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintPrinter.md index 7e5ce7234c6..47e46f158bf 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintPrinter.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintPrinter.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ Name = "PrinterName" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintShare.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintShare.md index 43b26922319..555c60800b0 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintShare.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintShare.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ DisplayName = "PrinterShare Name" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinition.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinition.md index 082b91a5924..ff2726a61db 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinition.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinition.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ DisplayName = "Test TaskDefinitionName" diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinitionTask.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinitionTask.md index b278e07cccd..20bc02f8e89 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinitionTask.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinitionTask.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ Status = @{ diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementHealthOverview.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementHealthOverview.md index 4e797d9ec23..e824190a622 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementHealthOverview.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementHealthOverview.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementHealthOverview -ServiceHealthId $serviceHealthId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementHealthOverview -ServiceHealthId $serviceHealthId -ExpandProperty "issues" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementHealthOverview ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementHealthOverview -ExpandProperty "issues" ``` diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementIssue.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementIssue.md index 477215708a5..e7a08dd2d96 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementIssue.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementIssue.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementIssue -ServiceHealthIssueId $serviceHealthIssueId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementIssue ``` diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessage.md index a4c78d584f9..bd24fe75651 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessage.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessage -ServiceUpdateMessageId $serviceUpdateMessageId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessage ``` diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachment.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachment.md index 719d2282bea..5fb75934157 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachment.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachment.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachment -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachment -ServiceUpdateMessageId $serviceUpdateMessageId ``` diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentArchive.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentArchive.md index 1880dd9e7e9..2f3e3883ac4 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentArchive.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentArchive.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachmentArchive -ServiceUpdateMessageId $serviceUpdateMessageId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachmentArchive -ServiceUpdateMessageId $serviceUpdateMessageId -OutFile $outFileId ``` diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentContent.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentContent.md index b81ae2d3eeb..21fcbd96085 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentContent.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentContent.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachmentContent -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachmentContent -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId -OutFile $outFileId ``` diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgArchiveServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgArchiveServiceAnnouncementMessage.md index 990da59543e..70532db104b 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgArchiveServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgArchiveServiceAnnouncementMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ MessageIds = @( diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgFavoriteServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgFavoriteServiceAnnouncementMessage.md index 33e956e36db..6ce9c79a0df 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgFavoriteServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgFavoriteServiceAnnouncementMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ MessageIds = @( diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageRead.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageRead.md index 39d860c4f50..e1b8bb00d7a 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageRead.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageRead.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ MessageIds = @( diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageUnread.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageUnread.md index 5a25b36003e..6afd980fb7a 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageUnread.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageUnread.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ MessageIds = @( diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgReportServiceAnnouncementIssueIncident.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgReportServiceAnnouncementIssueIncident.md index 81e5182eca8..da5e56cce34 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgReportServiceAnnouncementIssueIncident.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgReportServiceAnnouncementIssueIncident.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Invoke-MgReportServiceAnnouncementIssueIncident -ServiceHealthIssueId $serviceHealthIssueId ``` diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnarchiveServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnarchiveServiceAnnouncementMessage.md index 9197303b944..7878925303e 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnarchiveServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnarchiveServiceAnnouncementMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ MessageIds = @( diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnfavoriteServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnfavoriteServiceAnnouncementMessage.md index d013108d786..5eabdadc72e 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnfavoriteServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnfavoriteServiceAnnouncementMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ MessageIds = @( diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Confirm-MgDirectoryObjectMemberGroup.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Confirm-MgDirectoryObjectMemberGroup.md index 9673276ad1c..f0d0f7ae804 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Confirm-MgDirectoryObjectMemberGroup.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Confirm-MgDirectoryObjectMemberGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DirectoryObjects $params = @{ GroupIds = @( diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObject.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObject.md index 5e401e9f78b..d3075b25d87 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObject.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObject.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DirectoryObjects Get-MgDirectoryObject -DirectoryObjectId $directoryObjectId ``` diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectAvailableExtensionProperty.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectAvailableExtensionProperty.md index 3783333a236..ee2aaef43e6 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectAvailableExtensionProperty.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectAvailableExtensionProperty.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DirectoryObjects Get-MgDirectoryObjectAvailableExtensionProperty ``` diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectById.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectById.md index a1cc54bd03a..001d5d0a1c6 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectById.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectById.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DirectoryObjects $params = @{ Ids = @( diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberGroup.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberGroup.md index f72897e46c9..a5939b6902a 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberGroup.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DirectoryObjects $params = @{ SecurityEnabledOnly = $false diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberObject.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberObject.md index 570d24b490a..af2708a84f9 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberObject.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberObject.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DirectoryObjects $params = @{ SecurityEnabledOnly = $true diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Remove-MgDirectoryObject.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Remove-MgDirectoryObject.md index d57c95d139b..bbb9f7fe6d7 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Remove-MgDirectoryObject.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Remove-MgDirectoryObject.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DirectoryObjects Remove-MgDirectoryObject -DirectoryObjectId $directoryObjectId ``` diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Test-MgDirectoryObjectProperty.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Test-MgDirectoryObjectProperty.md index 8bdb66781c2..2f1b24b0362 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Test-MgDirectoryObjectProperty.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Test-MgDirectoryObjectProperty.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.DirectoryObjects $params = @{ EntityType = "Group" diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClass.md b/src/Education/Education/examples/v1.0/Get-MgEducationClass.md index 6fece1201c1..12f1ab5b06c 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClass.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClass.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClass -EducationClassId $educationClassId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClass ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignment.md index 13ca9578d61..abe5cc3bf13 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignment.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignment -EducationClassId $educationClassId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignment -EducationClassId $educationClassId -ExpandProperty "resources" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategory.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategory.md index be9f3c69ebb..c724d68c554 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategory.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategory.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategory -EducationClassId $educationClassId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategory -EducationClassId $educationClassId -EducationCategoryId $educationCategoryId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategoryDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategoryDelta.md index 35af7c3c96b..d4b2b45fa85 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategoryDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategoryDelta.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Skiptoken "U43TyYWKlRvJ6wWxZOfJvkp22nMqShRw9f-GxBtG2FDy9b1hMDaAJGdLb7n2fh1IVSFtBcXz0jxjIEihcR91dS3R7i8Z2IMtxIn9rKbK9Jvurj6jCH-lDbSNatdesrK0PJ5zpZ_-i8HyqkdtLhWD9tewXVArIqQWJA7gJz8z4paG2q0MU9rixrQOTe7WIXikPiBTUPilHuUW-o1k7cvqke3K7llJbU3G7z_O7WGoVGE.l8-2OcBi9ZWAhwhPnXvJ-kyyk8GNb6-H4o6qofP5YBY" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Deltatoken "7ORzTfzlUEGDy6BRE3OC-3ePBbvLHCRe4aJ_hjaBKJxUHmn_ODgoM4xreLS7YRaxc-iACeqCQsT5Tb0u9vn6QXYflO6j0sRgRQlhcfR7DApZYl6uZqiXcR7H0G14btPqR761sKWNc0jgiczrHGF6dGfSQwsLzPT46og-84ArhOU.Jnxvkr08FE-QBvEYstYel3JZUrgwgTauo-GmpbdWeSA" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Deltatoken "7ORzTfzlUEGDy6BRE3OC-3ePBbvLHCRe4aJ_hjaBKJxUHmn_ODgoM4xreLS7YRaxc-iACeqCQsT5Tb0u9vn6QXYflO6j0sRgRQlhcfR7DApZYl6uZqiXcR7H0G14btPqR761sKWNc0jgiczrHGF6dGfSQwsLzPT46og-84ArhOU.Jnxvkr08FE-QBvEYstYel3JZUrgwgTauo-GmpbdWeSA" -OutFile $outFileId ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Top 3 ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDefault.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDefault.md index bdeb03595ed..fc32a8910e3 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDefault.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDefault.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentDefault -EducationClassId $educationClassId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDelta.md index f349cd0f3a9..9b1e02e5fdd 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDelta.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentDelta -EducationClassId $educationClassId -Deltatoken "7ORzTfzlUEGDy6BRE3OC-3ePBbvLHCRe4aJ_hjaBKJxUHmn_ODgoM4xreLS7YRaxROmLjac48n-iXm5j6n5aQwlsnC-2OvL3lI0Z8M4klERNmJQjnBn7MHqwXZ6L8GlI3VPnya3E-p1bisiZX97jLvQUAopseIYhvnD6v7fiYrk.fVsHempT6X2CiBh6aN9Ex5nVJ71adKdcf-mdke8OHKs" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentDelta -EducationClassId $educationClassId -Skiptoken "U43TyYWKlRvJ6wWxZOfJvkp22nMqShRw9f-GxBtG2FDy9b1hMDaAJGdLb7n2fh1IdHoweKQs1czM4Ry1LVsNqwIFXftTcRHvgSCbcszvbJHEWDCO3QO7K7zwCM8DdXNepZOa1gqldecjIUM0NFRbGQoQ5yR6RmGnMgtko8TDMOyMH_yg1my82PTXA_t4Nj-DhMDZWvuNTd_lbLeTngc7mIJPMCR2gHN9CSKsW_kw850.UM9tUqwOu5Ln1pnxaP6KdMmfJHszGqY3EKPlQkOiyGs" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentDelta -EducationClassId $educationClassId -Top 2 ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentResource.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentResource.md index 2230546aab2..30af2f38a5f 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentResource.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentResource.md @@ -1,35 +1,35 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` ### Example 6 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` ### Example 7 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentRubric.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentRubric.md index 084839ee5bc..e3597effd46 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentRubric.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentRubric.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentRubric -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSetting.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSetting.md index 7aaf0d0132f..f1e600b3162 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSetting.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSetting.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSetting -EducationClassId $educationClassId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmission.md index 80d4845d6db..507043ebab6 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmission.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -ExpandProperty "*" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -ExpandProperty "outcomes" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionOutcome.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionOutcome.md index 116b6e16c6c..1829880616c 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionOutcome.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionOutcome.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionOutcome -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionResource.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionResource.md index 263c1f56070..eb5df2f3fc7 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionResource.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionResource.md @@ -1,35 +1,35 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` ### Example 6 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` ### Example 7 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionSubmittedResource.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionSubmittedResource.md index 50aaa7e795f..35af243cc22 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionSubmittedResource.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionSubmittedResource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionSubmittedResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassDelta.md index e93e0aa99e2..4fbb437ee4f 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassDelta.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassDelta ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassMember.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassMember.md index 6e948f1e75d..7bca76f2516 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassMember.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassMember -EducationClassId $educationClassId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassSchool.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassSchool.md index 2a0fc45ac4c..46e4a7becb7 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassSchool.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassSchool.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassSchool -EducationClassId $educationClassId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassTeacher.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassTeacher.md index 3d39f3b2624..32629ada032 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassTeacher.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassTeacher.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassTeacher -EducationClassId $educationClassId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationMeAssignment.md b/src/Education/Education/examples/v1.0/Get-MgEducationMeAssignment.md index a6287623384..279b8657002 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationMeAssignment.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationMeAssignment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationMeAssignment ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationMeClass.md b/src/Education/Education/examples/v1.0/Get-MgEducationMeClass.md index 6b8e6d4ebb3..8068a52ce2b 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationMeClass.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationMeClass.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationMeClass ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationMeRubric.md b/src/Education/Education/examples/v1.0/Get-MgEducationMeRubric.md index c059c13a1f8..d1c8989fada 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationMeRubric.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationMeRubric.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationMeRubric -EducationRubricId $educationRubricId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationMeRubric ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationMeSchool.md b/src/Education/Education/examples/v1.0/Get-MgEducationMeSchool.md index cf02332d30e..293ed1f2802 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationMeSchool.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationMeSchool.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationMeSchool ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationSchool.md b/src/Education/Education/examples/v1.0/Get-MgEducationSchool.md index 59a64f1b16b..b2430c52eaa 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationSchool.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationSchool.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationSchool -EducationSchoolId $educationSchoolId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationSchool ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolClass.md b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolClass.md index e36c67bd3fe..0374ae850f0 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolClass.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolClass.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationSchoolClass -EducationSchoolId $educationSchoolId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolDelta.md index 3325f8a805e..929cdb7dce8 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolDelta.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationSchoolDelta ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolUser.md b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolUser.md index 9c1e2d47b62..c20bb8e1dd1 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolUser.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolUser.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationSchoolUser -EducationSchoolId $educationSchoolId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationUser.md b/src/Education/Education/examples/v1.0/Get-MgEducationUser.md index 67d44a65112..7130fc90427 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationUser.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationUser.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationUser -EducationUserId $educationUserId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationUser ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationUserAssignment.md b/src/Education/Education/examples/v1.0/Get-MgEducationUserAssignment.md index 0a23d642707..7280733a026 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationUserAssignment.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationUserAssignment.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationUserAssignment -EducationUserId $educationUserId -ExpandProperty "submissions" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationUserAssignment -EducationUserId $educationUserId ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationUserDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationUserDelta.md index a04cdde49b3..13679288a92 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationUserDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationUserDelta.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationUserDelta ``` diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationUserTaughtClass.md b/src/Education/Education/examples/v1.0/Get-MgEducationUserTaughtClass.md index dab8b063e12..3895cfcfdb3 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationUserTaughtClass.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationUserTaughtClass.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationUserTaughtClass -EducationUserId $educationUserId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Get-MgEducationUserTaughtClass -EducationUserId $educationUserId -OutFile $outFileId ``` diff --git a/src/Education/Education/examples/v1.0/Invoke-MgReassignEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Invoke-MgReassignEducationClassAssignmentSubmission.md index ab741131192..448eba29c41 100644 --- a/src/Education/Education/examples/v1.0/Invoke-MgReassignEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Invoke-MgReassignEducationClassAssignmentSubmission.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Invoke-MgReassignEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Invoke-MgReassignEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` diff --git a/src/Education/Education/examples/v1.0/Invoke-MgReturnEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Invoke-MgReturnEducationClassAssignmentSubmission.md index e9572ac98bb..57848ba8e12 100644 --- a/src/Education/Education/examples/v1.0/Invoke-MgReturnEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Invoke-MgReturnEducationClassAssignmentSubmission.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Invoke-MgReturnEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` diff --git a/src/Education/Education/examples/v1.0/Invoke-MgUnsubmitEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Invoke-MgUnsubmitEducationClassAssignmentSubmission.md index ceb6caf4720..2f3f4d5d05c 100644 --- a/src/Education/Education/examples/v1.0/Invoke-MgUnsubmitEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Invoke-MgUnsubmitEducationClassAssignmentSubmission.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Invoke-MgUnsubmitEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClass.md b/src/Education/Education/examples/v1.0/New-MgEducationClass.md index ea80165b68d..ad6c283d431 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClass.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClass.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.type" = "#microsoft.graph.educationClass" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignment.md index 076decd0108..32ac286fe31 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ DueDateTime = [System.DateTime]::Parse("2021-09-07T00:00:00Z") diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategory.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategory.md index e9437a6114f..ec6100ef30a 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategory.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategory.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ DisplayName = "Quizzes" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategoryByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategoryByRef.md index d58ae7287ac..4d77c8097d1 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategoryByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategoryByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignmentCategories/ec98f158-341d-4fea-9f8c-14a250d489ac" @@ -7,7 +7,7 @@ $params = @{ New-MgEducationClassAssignmentCategoryByRef -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignmentCategories/ec98f158-341d-4fea-9f8c-14a250d489ac" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentResource.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentResource.md index 9b3b75992da..ae34d60f513 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentResource.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentResource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ DistributeForStudentWork = $false @@ -12,7 +12,7 @@ $params = @{ New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ DistributeForStudentWork = $false @@ -24,7 +24,7 @@ $params = @{ New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ DistributeForStudentWork = $false @@ -38,7 +38,7 @@ $params = @{ New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ DistributeForStudentWork = $false @@ -51,7 +51,7 @@ $params = @{ New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ DistributeForStudentWork = $false @@ -64,7 +64,7 @@ $params = @{ New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` ### Example 6 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ DistributeForStudentWork = $false diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentSubmissionResource.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentSubmissionResource.md index f7cfa188a20..a89dd62a554 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentSubmissionResource.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentSubmissionResource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ Resource = @{ @@ -11,7 +11,7 @@ $params = @{ New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ Resource = @{ @@ -23,7 +23,7 @@ $params = @{ New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ Resource = @{ @@ -35,7 +35,7 @@ $params = @{ New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ Resource = @{ @@ -47,7 +47,7 @@ $params = @{ New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ Resource = @{ @@ -59,7 +59,7 @@ $params = @{ New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params ``` ### Example 6 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ Resource = @{ diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassMemberByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationClassMemberByRef.md index af40aabd56b..04e410ff407 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassMemberByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassMemberByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/education/users/13015" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassTeacherByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationClassTeacherByRef.md index a2277793d69..31e2847332e 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassTeacherByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassTeacherByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/education/users/14011" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationMeRubric.md b/src/Education/Education/examples/v1.0/New-MgEducationMeRubric.md index 990bbfeb56e..871dbe090f0 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationMeRubric.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationMeRubric.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ DisplayName = "Example Credit Rubric" @@ -69,7 +69,7 @@ $params = @{ New-MgEducationMeRubric -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ DisplayName = "Example Points Rubric" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationSchool.md b/src/Education/Education/examples/v1.0/New-MgEducationSchool.md index f42b6d8d376..33c908614d6 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationSchool.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationSchool.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.type" = "#microsoft.graph.educationSchool" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationSchoolClassByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationSchoolClassByRef.md index 7730998f02e..66b714ce19d 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationSchoolClassByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationSchoolClassByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/education/classes/11006" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationSchoolUserByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationSchoolUserByRef.md index cbff41d3f34..2e5a5f8359b 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationSchoolUserByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationSchoolUserByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/education/users/14008" diff --git a/src/Education/Education/examples/v1.0/New-MgEducationUser.md b/src/Education/Education/examples/v1.0/New-MgEducationUser.md index c8ec57c7e0e..4b3836fbcb1 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationUser.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationUser.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.type" = "#microsoft.graph.educationUser" diff --git a/src/Education/Education/examples/v1.0/Publish-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/Publish-MgEducationClassAssignment.md index 088efea9cfa..2d3c4cca650 100644 --- a/src/Education/Education/examples/v1.0/Publish-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/Publish-MgEducationClassAssignment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Publish-MgEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClass.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClass.md index 1f716e1152d..432ba299685 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClass.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClass.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClass -EducationClassId $educationClassId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignment.md index 3201b2912ad..a8182463d1b 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategory.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategory.md index 06a400b1a4d..2d6fd5ec79a 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategory.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategory.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignmentCategory -EducationClassId $educationClassId -EducationCategoryId $educationCategoryId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategoryByRef.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategoryByRef.md index 23ef8ed83d8..5d8cd0d5b46 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategoryByRef.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategoryByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignmentCategoryByRef -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationCategoryId $educationCategoryId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentResource.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentResource.md index 104d51149b2..5b33b01e625 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentResource.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentResource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentRubricByRef.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentRubricByRef.md index c354470239c..37dccfe3771 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentRubricByRef.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentRubricByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignmentRubricByRef -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentSubmissionResource.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentSubmissionResource.md index 6850770cd95..6824e4c6e2e 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentSubmissionResource.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentSubmissionResource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationMeRubric.md b/src/Education/Education/examples/v1.0/Remove-MgEducationMeRubric.md index 6ec78cf1837..a2931f59f86 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationMeRubric.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationMeRubric.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationMeRubric -EducationRubricId $educationRubricId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationSchool.md b/src/Education/Education/examples/v1.0/Remove-MgEducationSchool.md index 874f846eda4..ad59bc793f3 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationSchool.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationSchool.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationSchool -EducationSchoolId $educationSchoolId ``` diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationUser.md b/src/Education/Education/examples/v1.0/Remove-MgEducationUser.md index b9fa418cdaf..8d0e9455470 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationUser.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationUser.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationUser -EducationUserId $educationUserId ``` diff --git a/src/Education/Education/examples/v1.0/Set-MgEducationClassAssignmentRubricByRef.md b/src/Education/Education/examples/v1.0/Set-MgEducationClassAssignmentRubricByRef.md index a1532732bc0..bb311549051 100644 --- a/src/Education/Education/examples/v1.0/Set-MgEducationClassAssignmentRubricByRef.md +++ b/src/Education/Education/examples/v1.0/Set-MgEducationClassAssignmentRubricByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/education/me/rubrics/ceb3863e-6912-4ea9-ac41-3c2bb7b6672d" diff --git a/src/Education/Education/examples/v1.0/Submit-MgEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Submit-MgEducationClassAssignmentSubmission.md index 78779d45f2d..4e4297253eb 100644 --- a/src/Education/Education/examples/v1.0/Submit-MgEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Submit-MgEducationClassAssignmentSubmission.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education Submit-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClass.md b/src/Education/Education/examples/v1.0/Update-MgEducationClass.md index 7943cf64b55..df7dae988e0 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClass.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClass.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ Description = "History - World History 1" diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignment.md index 3d1ce832ce9..b72a0aa953c 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ DisplayName = "Reading and review test 09.03 #5" diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentDefault.md b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentDefault.md index 86e07efc7e6..bc84e6af1d2 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentDefault.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentDefault.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ AddedStudentAction = "assignIfOpen" diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSetting.md b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSetting.md index ca32733fec1..3add71e55b1 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSetting.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSetting.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ SubmissionAnimationDisabled = $true diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSubmissionOutcome.md b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSubmissionOutcome.md index 864d7723abb..d66f1afbe2f 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSubmissionOutcome.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSubmissionOutcome.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.type" = "#microsoft.graph.educationFeedbackOutcome" @@ -7,7 +7,7 @@ $params = @{ Update-MgEducationClassAssignmentSubmissionOutcome -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationOutcomeId $educationOutcomeId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.type" = "#microsoft.graph.educationRubricOutcome" @@ -19,7 +19,7 @@ $params = @{ Update-MgEducationClassAssignmentSubmissionOutcome -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationOutcomeId $educationOutcomeId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ "@odata.type" = "#microsoft.graph.educationPointsOutcome" diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationMeRubric.md b/src/Education/Education/examples/v1.0/Update-MgEducationMeRubric.md index 42e487c3175..12792d36e0d 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationMeRubric.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationMeRubric.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ DisplayName = "Example Credit Rubric after display name patch" diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationSchool.md b/src/Education/Education/examples/v1.0/Update-MgEducationSchool.md index a064593449a..c747e9a6d07 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationSchool.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationSchool.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ DisplayName = "Fabrikam Arts High School" diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationUser.md b/src/Education/Education/examples/v1.0/Update-MgEducationUser.md index 87234708806..bdc4e4a6fda 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationUser.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationUser.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Education $params = @{ DisplayName = "Rogelio Cazares" diff --git a/src/Files/Files/examples/v1.0/Get-MgDrive.md b/src/Files/Files/examples/v1.0/Get-MgDrive.md index 6870a9d9b41..93b6d480055 100644 --- a/src/Files/Files/examples/v1.0/Get-MgDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgDrive.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Files Get-MgDrive -DriveId $driveId ``` diff --git a/src/Files/Files/examples/v1.0/Get-MgDriveItemChild.md b/src/Files/Files/examples/v1.0/Get-MgDriveItemChild.md index ccbfe43f9e0..7aafa4dc968 100644 --- a/src/Files/Files/examples/v1.0/Get-MgDriveItemChild.md +++ b/src/Files/Files/examples/v1.0/Get-MgDriveItemChild.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Files Get-MgDriveItemChild -DriveId $driveId -DriveItemId $driveItemId ``` diff --git a/src/Files/Files/examples/v1.0/Get-MgGroupDefaultDrive.md b/src/Files/Files/examples/v1.0/Get-MgGroupDefaultDrive.md index 81e08c6f5c5..deee9d1a805 100644 --- a/src/Files/Files/examples/v1.0/Get-MgGroupDefaultDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgGroupDefaultDrive.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Files Get-MgGroupDefaultDrive -GroupId $groupId ``` diff --git a/src/Files/Files/examples/v1.0/Get-MgGroupDrive.md b/src/Files/Files/examples/v1.0/Get-MgGroupDrive.md index b3fbf105883..401125ae824 100644 --- a/src/Files/Files/examples/v1.0/Get-MgGroupDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgGroupDrive.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Files Get-MgGroupDrive -GroupId $groupId ``` diff --git a/src/Files/Files/examples/v1.0/Get-MgShareDriveItem.md b/src/Files/Files/examples/v1.0/Get-MgShareDriveItem.md index de5c64b264c..3fb8ce1b462 100644 --- a/src/Files/Files/examples/v1.0/Get-MgShareDriveItem.md +++ b/src/Files/Files/examples/v1.0/Get-MgShareDriveItem.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Files Get-MgShareDriveItem -SharedDriveItemId $sharedDriveItemId -ExpandProperty "children" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Files Get-MgShareDriveItem -SharedDriveItemId $sharedDriveItemId ``` diff --git a/src/Files/Files/examples/v1.0/Get-MgShareSharedDriveItemSharedDriveItem.md b/src/Files/Files/examples/v1.0/Get-MgShareSharedDriveItemSharedDriveItem.md index fb7bf79a199..3ded65b4129 100644 --- a/src/Files/Files/examples/v1.0/Get-MgShareSharedDriveItemSharedDriveItem.md +++ b/src/Files/Files/examples/v1.0/Get-MgShareSharedDriveItemSharedDriveItem.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Files Get-MgShareSharedDriveItemSharedDriveItem -SharedDriveItemId $sharedDriveItemId ``` diff --git a/src/Files/Files/examples/v1.0/Get-MgUserDefaultDrive.md b/src/Files/Files/examples/v1.0/Get-MgUserDefaultDrive.md index 5a967968cec..2e8e03865f0 100644 --- a/src/Files/Files/examples/v1.0/Get-MgUserDefaultDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgUserDefaultDrive.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Files Get-MgUserDefaultDrive -UserId $userId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Files # A UPN can also be used as -UserId. Get-MgUserDefaultDrive -UserId $userId diff --git a/src/Files/Files/examples/v1.0/Get-MgUserDrive.md b/src/Files/Files/examples/v1.0/Get-MgUserDrive.md index 769790a593a..51c94c08495 100644 --- a/src/Files/Files/examples/v1.0/Get-MgUserDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgUserDrive.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Files # A UPN can also be used as -UserId. Get-MgUserDrive -UserId $userId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Files Get-MgUserDrive -UserId $userId ``` diff --git a/src/Files/Files/examples/v1.0/Grant-MgSharePermission.md b/src/Files/Files/examples/v1.0/Grant-MgSharePermission.md index 1934b9df4cd..63555ba2664 100644 --- a/src/Files/Files/examples/v1.0/Grant-MgSharePermission.md +++ b/src/Files/Files/examples/v1.0/Grant-MgSharePermission.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Files $params = @{ Recipients = @( diff --git a/src/Files/Files/examples/v1.0/Invoke-MgCheckinDriveItem.md b/src/Files/Files/examples/v1.0/Invoke-MgCheckinDriveItem.md index 2f9632e1fdb..ebfd7562098 100644 --- a/src/Files/Files/examples/v1.0/Invoke-MgCheckinDriveItem.md +++ b/src/Files/Files/examples/v1.0/Invoke-MgCheckinDriveItem.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Files $params = @{ Comment = "Updating the latest guidelines" diff --git a/src/Files/Files/examples/v1.0/Invoke-MgCheckoutDriveItem.md b/src/Files/Files/examples/v1.0/Invoke-MgCheckoutDriveItem.md index e567156d49b..bae6a147257 100644 --- a/src/Files/Files/examples/v1.0/Invoke-MgCheckoutDriveItem.md +++ b/src/Files/Files/examples/v1.0/Invoke-MgCheckoutDriveItem.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Files Invoke-MgCheckoutDriveItem -DriveId $driveId -DriveItemId $driveItemId ``` diff --git a/src/Files/Files/examples/v1.0/Restore-MgDriveItemVersion.md b/src/Files/Files/examples/v1.0/Restore-MgDriveItemVersion.md index 6f7f6cd0e47..8a45306d33f 100644 --- a/src/Files/Files/examples/v1.0/Restore-MgDriveItemVersion.md +++ b/src/Files/Files/examples/v1.0/Restore-MgDriveItemVersion.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Files Restore-MgDriveItemVersion -DriveId $driveId -DriveItemId $driveItemId -DriveItemVersionId $driveItemVersionId ``` diff --git a/src/Groups/Groups/examples/v1.0/Add-MgGroupFavorite.md b/src/Groups/Groups/examples/v1.0/Add-MgGroupFavorite.md index e12d6ccd193..93ffc3ce8e5 100644 --- a/src/Groups/Groups/examples/v1.0/Add-MgGroupFavorite.md +++ b/src/Groups/Groups/examples/v1.0/Add-MgGroupFavorite.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Add-MgGroupFavorite -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupAcceptedSender.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupAcceptedSender.md index 3699c804d50..f8924586b23 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupAcceptedSender.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupAcceptedSender.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupAcceptedSender -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupConversation.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupConversation.md index 4eba22bc88d..c221f9bd228 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupConversation.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupConversation.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupConversation -GroupId $groupId -ConversationId $conversationId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupConversation -GroupId $groupId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupConversation -GroupId $groupId -ConversationId $conversationId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupConversationThread.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupConversationThread.md index abcc46f439f..487110e6fe7 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupConversationThread.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupConversationThread.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupConversationThread -GroupId $groupId -ConversationId $conversationId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupDelta.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupDelta.md index 9c8ce98afaa..3184cd929b3 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupDelta.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupDelta.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupDelta ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicy.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicy.md index d8369504bfd..da42e7af79b 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicy.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicy.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupLifecyclePolicy -GroupLifecyclePolicyId $groupLifecyclePolicyId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupLifecyclePolicy ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicyByGroup.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicyByGroup.md index 72e24439c37..2b4320e659f 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicyByGroup.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicyByGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupLifecyclePolicyByGroup -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupMemberOf.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupMemberOf.md index fcb1266ddb6..eba19f1aea2 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupMemberOf.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupMemberOf.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupMemberOf -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupPermissionGrant.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupPermissionGrant.md index ed3e24bb0e7..2419daa4ea8 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupPermissionGrant.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupPermissionGrant.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupPermissionGrant -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupPhoto.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupPhoto.md index 3445c0fe94c..9f7153c1e45 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupPhoto.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupPhoto.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupPhoto -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupRejectedSender.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupRejectedSender.md index c6dce036c0e..466ec84e531 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupRejectedSender.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupRejectedSender.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupRejectedSender -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupThread.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupThread.md index 749535c9985..76c0ba16a4b 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupThread.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThread -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPost.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPost.md index ee952b47501..e03e3b8151b 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPost.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPost.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThreadPost -GroupId $groupId -ConversationThreadId $conversationThreadId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostAttachment.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostAttachment.md index 1b329ad1ece..9852ecbcc77 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostAttachment.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostAttachment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThreadPostAttachment -GroupId $groupId -ConversationThreadId $conversationThreadId -PostId $postId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostExtension.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostExtension.md index f10f25a3cbc..9405fa8183f 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostExtension.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostExtension.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThreadPostExtension -GroupId $groupId -ConversationThreadId $conversationThreadId -PostId $postId -ExtensionId $extensionId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMember.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMember.md index 4e36ba2e4f3..70d757b4a55 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMember.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupTransitiveMember -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMemberOf.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMemberOf.md index 803a1de3e00..bc9164a1345 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMemberOf.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMemberOf.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupTransitiveMemberOf -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgForwardGroupThreadPost.md b/src/Groups/Groups/examples/v1.0/Invoke-MgForwardGroupThreadPost.md index 8b806ce8ad0..096b0727aad 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgForwardGroupThreadPost.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgForwardGroupThreadPost.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ Comment = "comment-value" diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgGraphGroup.md b/src/Groups/Groups/examples/v1.0/Invoke-MgGraphGroup.md index ecb8c11437d..2a4971d8df4 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgGraphGroup.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgGraphGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Invoke-MgGraphGroup -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgRenewGroup.md b/src/Groups/Groups/examples/v1.0/Invoke-MgRenewGroup.md index 09d7c9044af..f7bd3836266 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgRenewGroup.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgRenewGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Invoke-MgRenewGroup -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThread.md b/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThread.md index dc83003b135..35aa3994de4 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThread.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ Post = @{ @@ -12,7 +12,7 @@ $params = @{ Invoke-MgReplyGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ Post = @{ @@ -32,7 +32,7 @@ $params = @{ Invoke-MgReplyGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ Post = @{ @@ -55,7 +55,7 @@ $params = @{ Invoke-MgReplyGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ Post = @{ diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThreadPost.md b/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThreadPost.md index 9598e6f1a51..6b9c8efaa7c 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThreadPost.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThreadPost.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ Post = @{ diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgSubscribeGroupByMail.md b/src/Groups/Groups/examples/v1.0/Invoke-MgSubscribeGroupByMail.md index 311524dcd25..f9551f9d1b5 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgSubscribeGroupByMail.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgSubscribeGroupByMail.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Invoke-MgSubscribeGroupByMail -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupAcceptedSenderByRef.md b/src/Groups/Groups/examples/v1.0/New-MgGroupAcceptedSenderByRef.md index 47be20ac9bc..e32681d0bed 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupAcceptedSenderByRef.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupAcceptedSenderByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/users/alexd@contoso.com" diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupConversation.md b/src/Groups/Groups/examples/v1.0/New-MgGroupConversation.md index a8461f4e755..dc149303111 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupConversation.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupConversation.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ Topic = "Take your wellness days and rest" diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupConversationThread.md b/src/Groups/Groups/examples/v1.0/New-MgGroupConversationThread.md index 5a099de6958..9d50d4fe18e 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupConversationThread.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupConversationThread.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ Topic = "Take your wellness days and rest" diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupLifecyclePolicy.md b/src/Groups/Groups/examples/v1.0/New-MgGroupLifecyclePolicy.md index 672b7773f93..2ff8ba11fe1 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupLifecyclePolicy.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupLifecyclePolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ GroupLifetimeInDays = 100 diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupMemberByRef.md b/src/Groups/Groups/examples/v1.0/New-MgGroupMemberByRef.md index 7e3e2e7c5c6..010302ab919 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupMemberByRef.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupMemberByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/directoryObjects/{id}" diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupRejectedSenderByRef.md b/src/Groups/Groups/examples/v1.0/New-MgGroupRejectedSenderByRef.md index 3a41dc6df61..739999691e0 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupRejectedSenderByRef.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupRejectedSenderByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/users/alexd@contoso.com" diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupThread.md b/src/Groups/Groups/examples/v1.0/New-MgGroupThread.md index f9ea04d55d9..b26a2d152ce 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupThread.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ Topic = "New Conversation Thread Topic" diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupConversation.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupConversation.md index 66fbffecce4..71f6b469b1d 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupConversation.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupConversation.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupConversation -GroupId $groupId -ConversationId $conversationId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupConversation -GroupId $groupId -ConversationId $conversationId ``` diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupFavorite.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupFavorite.md index 0dec0a542f5..ba101afb543 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupFavorite.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupFavorite.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupFavorite -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupLifecyclePolicy.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupLifecyclePolicy.md index c03a94a7d5d..e47e357278b 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupLifecyclePolicy.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupLifecyclePolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupLifecyclePolicy -GroupLifecyclePolicyId $groupLifecyclePolicyId ``` diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupMemberByRef.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupMemberByRef.md index b4929c5045c..0169b60e612 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupMemberByRef.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupMemberByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupMemberByRef -GroupId $groupId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupOwnerByRef.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupOwnerByRef.md index e219bc7bf38..4f5faf5a49a 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupOwnerByRef.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupOwnerByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupOwnerByRef -GroupId $groupId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupThread.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupThread.md index 10b2c8ba2e7..f163ba0e990 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupThread.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId ``` diff --git a/src/Groups/Groups/examples/v1.0/Reset-MgGroupUnseenCount.md b/src/Groups/Groups/examples/v1.0/Reset-MgGroupUnseenCount.md index 5c0a624455c..26b816a4792 100644 --- a/src/Groups/Groups/examples/v1.0/Reset-MgGroupUnseenCount.md +++ b/src/Groups/Groups/examples/v1.0/Reset-MgGroupUnseenCount.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups Reset-MgGroupUnseenCount -GroupId $groupId ``` diff --git a/src/Groups/Groups/examples/v1.0/Set-MgGroupLicense.md b/src/Groups/Groups/examples/v1.0/Set-MgGroupLicense.md index 9ee2ffd183e..e07f605e0bd 100644 --- a/src/Groups/Groups/examples/v1.0/Set-MgGroupLicense.md +++ b/src/Groups/Groups/examples/v1.0/Set-MgGroupLicense.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ AddLicenses = @( @@ -23,7 +23,7 @@ $params = @{ Set-MgGroupLicense -GroupId $groupId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ AddLicenses = @( diff --git a/src/Groups/Groups/examples/v1.0/Test-MgGroupProperty.md b/src/Groups/Groups/examples/v1.0/Test-MgGroupProperty.md index a2739b7bbdb..ae7a157d6cc 100644 --- a/src/Groups/Groups/examples/v1.0/Test-MgGroupProperty.md +++ b/src/Groups/Groups/examples/v1.0/Test-MgGroupProperty.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ DisplayName = "Myprefix_test_mysuffix" diff --git a/src/Groups/Groups/examples/v1.0/Update-MgGroupLifecyclePolicy.md b/src/Groups/Groups/examples/v1.0/Update-MgGroupLifecyclePolicy.md index fbf29e22aa8..523d6507d33 100644 --- a/src/Groups/Groups/examples/v1.0/Update-MgGroupLifecyclePolicy.md +++ b/src/Groups/Groups/examples/v1.0/Update-MgGroupLifecyclePolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ GroupLifetimeInDays = 180 diff --git a/src/Groups/Groups/examples/v1.0/Update-MgGroupThread.md b/src/Groups/Groups/examples/v1.0/Update-MgGroupThread.md index e2a392d3be7..dd7b691ce62 100644 --- a/src/Groups/Groups/examples/v1.0/Update-MgGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/Update-MgGroupThread.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ OriginalStartTimeZone = "originalStartTimeZone-value" diff --git a/src/Groups/Groups/examples/v1.0/Update-MgGroupThreadPostExtension.md b/src/Groups/Groups/examples/v1.0/Update-MgGroupThreadPostExtension.md index 2c481c6b70a..f2073990301 100644 --- a/src/Groups/Groups/examples/v1.0/Update-MgGroupThreadPostExtension.md +++ b/src/Groups/Groups/examples/v1.0/Update-MgGroupThreadPostExtension.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Groups $params = @{ "@odata.type" = "Microsoft.OutlookServices.OpenTypeExtension" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Confirm-MgDomain.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Confirm-MgDomain.md index 333e2912118..606470d37fa 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Confirm-MgDomain.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Confirm-MgDomain.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Confirm-MgDomain -DomainId $domainId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDelta.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDelta.md index b0959c6b286..5654009400b 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDelta.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDelta.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContactDelta ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDirectReport.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDirectReport.md index 8dbb53ee975..a9a73caa6ea 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDirectReport.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDirectReport.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContactDirectReport -OrgContactId $orgContactId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactManager.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactManager.md index 8b77227bb4e..1dafc8388b0 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactManager.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactManager.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContactManager -OrgContactId $orgContactId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactMemberOf.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactMemberOf.md index 5b3de72fbf6..726ea1bdad9 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactMemberOf.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactMemberOf.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContactMemberOf -OrgContactId $orgContactId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactTransitiveMemberOf.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactTransitiveMemberOf.md index 956f668130c..944d97cc019 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactTransitiveMemberOf.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactTransitiveMemberOf.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContactTransitiveMemberOf -OrgContactId $orgContactId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContract.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContract.md index 4d035db3146..7e5a9e665ff 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContract.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContract.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContract -ContractId $contractId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContract ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDevice.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDevice.md index 9ea061c28aa..a8b544ac254 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDevice.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDevice.md @@ -1,35 +1,35 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -Search "displayName:Android" -CountVariable CountVar -ConsistencyLevel eventual ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -DeviceId $deviceId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -DeviceId $deviceId -Property "id,extensionAttributes" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -Filter "extensionAttributes/extensionAttribute1 eq 'BYOD-Device'" -CountVariable CountVar -ConsistencyLevel eventual ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice ``` ### Example 6 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -Property "id,extensionAttributes" ``` ### Example 7 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -Filter "startswith(displayName, 'a')" -CountVariable CountVar -Top 1 -Sort "displayName" -ConsistencyLevel eventual ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceMemberOf.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceMemberOf.md index e7e77938dc6..65b2b5ae558 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceMemberOf.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceMemberOf.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDeviceMemberOf -DeviceId $deviceId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredOwner.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredOwner.md index 7b7e3ab4e94..60b6270efc6 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredOwner.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredOwner.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDeviceRegisteredOwner -DeviceId $deviceId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredUser.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredUser.md index 0c13aa48955..52eb4c8c431 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredUser.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredUser.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDeviceRegisteredUser -DeviceId $deviceId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceTransitiveMemberOf.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceTransitiveMemberOf.md index d302cdb445d..fd9e3deb5d9 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceTransitiveMemberOf.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceTransitiveMemberOf.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDeviceTransitiveMemberOf -DeviceId $deviceId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnit.md index be02bdc0d69..38dc5f336d5 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnit.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnit -AdministrativeUnitId $administrativeUnitId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnit ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMember.md index 5201718f2b3..17ceadbfb25 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnitMember -AdministrativeUnitId $administrativeUnitId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMemberByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMemberByRef.md index b8ff1f6e9ef..1734e44e850 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMemberByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMemberByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnitMemberByRef -AdministrativeUnitId $administrativeUnitId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitScopedRoleMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitScopedRoleMember.md index 749987644b4..7e13091f1f7 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitScopedRoleMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitScopedRoleMember.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnitScopedRoleMember -AdministrativeUnitId $administrativeUnitId -ScopedRoleMembershipId $scopedRoleMembershipId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnitScopedRoleMember -AdministrativeUnitId $administrativeUnitId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryFederationConfiguration.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryFederationConfiguration.md index 14a4c00deeb..f77a19dedde 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryFederationConfiguration.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryFederationConfiguration.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryFederationConfiguration -IdentityProviderBaseId $identityProviderBaseId -Filter "domains/any(x: x/id eq 'contoso.com')" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryFederationConfiguration -IdentityProviderBaseId $identityProviderBaseId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleDelta.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleDelta.md index 2d1902ba9b2..546e0150f7a 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleDelta.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleDelta.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryRoleDelta ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleScopedMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleScopedMember.md index e2bd8c52d4d..69eef37bf87 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleScopedMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleScopedMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryRoleScopedMember -DirectoryRoleId $directoryRoleId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleTemplate.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleTemplate.md index b5cd1a94ef5..311c409d55d 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleTemplate.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleTemplate.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryRoleTemplate -DirectoryRoleTemplateId $directoryRoleTemplateId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryRoleTemplate ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainNameReference.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainNameReference.md index af1dbea3ff6..2ef53aa351b 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainNameReference.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainNameReference.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDomainNameReference -DomainId $domainId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainServiceConfigurationRecord.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainServiceConfigurationRecord.md index ac65b819f86..12e121b1e60 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainServiceConfigurationRecord.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainServiceConfigurationRecord.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDomainServiceConfigurationRecord -DomainId $domainId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainVerificationDnsRecord.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainVerificationDnsRecord.md index b809ae36ac5..a483d9ab0f2 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainVerificationDnsRecord.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainVerificationDnsRecord.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDomainVerificationDnsRecord -DomainId $domainId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganization.md index 80768881c5d..58afc7a29b6 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganization.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganization -OrganizationId $organizationId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganization ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBranding.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBranding.md index c90e2436d0b..ddbbe3f52c8 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBranding.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBranding.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBranding -OrganizationId $organizationId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBranding -OrganizationId $organizationId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBranding -OrganizationId $organizationId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalization.md index 7a5a12789af..6174f4ce606 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalization.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBrandingLocalization -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBrandingLocalization -OrganizationId $organizationId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalizationBannerLogo.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalizationBannerLogo.md index 7af9390fdb2..01238c45c8c 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalizationBannerLogo.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalizationBannerLogo.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBrandingLocalizationBannerLogo -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBrandingLocalizationBannerLogo -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBrandingLocalizationBannerLogo -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId -OutFile $outFileId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Invoke-MgForceDomainDelete.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Invoke-MgForceDomainDelete.md index b5b83a0435c..d1e85e29381 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Invoke-MgForceDomainDelete.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Invoke-MgForceDomainDelete.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ DisableUserAccounts = $true diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDevice.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDevice.md index 94d74c185bd..170b67a2b84 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDevice.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDevice.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ AccountEnabled = $false diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredOwnerByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredOwnerByRef.md index 50872763d7f..2ebe90eb22e 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredOwnerByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredOwnerByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/directoryObjects/{id}" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredUserByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredUserByRef.md index 1a65697521a..06e6b5f2827 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredUserByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredUserByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/directoryObjects/{id}" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnit.md index 423ffacbaa5..5fc149ba783 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnit.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ DisplayName = "Seattle District Technical Schools" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitMemberByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitMemberByRef.md index 2e3cf6f591a..84fd36785f1 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitMemberByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitMemberByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/groups/{id}" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitScopedRoleMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitScopedRoleMember.md index f24ac3bfc86..187a1c8d21c 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitScopedRoleMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitScopedRoleMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ RoleId = "roleId-value" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryFederationConfiguration.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryFederationConfiguration.md index 1e6f041d73c..a15d1170287 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryFederationConfiguration.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryFederationConfiguration.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ "@odata.type" = "microsoft.graph.samlOrWsFedExternalDomainFederation" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryRole.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryRole.md index 6e3611cda4f..89d43ecffdc 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryRole.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryRole.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ RoleTemplateId = "fe930be7-5e62-47db-91af-98c3a49a38b1" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDomain.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDomain.md index d34f48ea7c4..c1b3f3ca703 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDomain.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDomain.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ Id = "contoso.com" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgOrganizationBrandingLocalization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgOrganizationBrandingLocalization.md index ffced58046e..3fd169e1104 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgOrganizationBrandingLocalization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgOrganizationBrandingLocalization.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ BackgroundColor = "#00000F" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDevice.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDevice.md index 5011401a3f9..5c954676d20 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDevice.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDevice.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDevice -DeviceId $deviceId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDeviceRegisteredOwnerByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDeviceRegisteredOwnerByRef.md index 0bc3013e80a..9ee57901ea7 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDeviceRegisteredOwnerByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDeviceRegisteredOwnerByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDeviceRegisteredOwnerByRef -DeviceId $deviceId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnit.md index dea1d746b37..574a0afd03c 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnit.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryAdministrativeUnit -AdministrativeUnitId $administrativeUnitId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitMemberByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitMemberByRef.md index 535eedffa8d..0c7e475423e 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitMemberByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitMemberByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryAdministrativeUnitMemberByRef -AdministrativeUnitId $administrativeUnitId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitScopedRoleMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitScopedRoleMember.md index 0ce3cf694df..d6d041bd10e 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitScopedRoleMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitScopedRoleMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryAdministrativeUnitScopedRoleMember -AdministrativeUnitId $administrativeUnitId -ScopedRoleMembershipId $scopedRoleMembershipId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryDeletedItem.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryDeletedItem.md index 0b0bf1458b1..737959a973b 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryDeletedItem.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryDeletedItem.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryDeletedItem -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryFederationConfiguration.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryFederationConfiguration.md index a384339ad43..114c7445897 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryFederationConfiguration.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryFederationConfiguration.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryFederationConfiguration -IdentityProviderBaseId $identityProviderBaseId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryRoleMemberByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryRoleMemberByRef.md index aff72b9dbb2..a66bc3a5d30 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryRoleMemberByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryRoleMemberByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryRoleMemberByRef -DirectoryRoleId $directoryRoleId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDomain.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDomain.md index 56ec6f1a644..5d9f4389d39 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDomain.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDomain.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDomain -DomainId $domainId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgOrganizationBrandingLocalization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgOrganizationBrandingLocalization.md index 97ed23aa0a8..c4eef6360fb 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgOrganizationBrandingLocalization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgOrganizationBrandingLocalization.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgOrganizationBrandingLocalization -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Restore-MgDirectoryDeletedItem.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Restore-MgDirectoryDeletedItem.md index b0176d85346..31a6ea139e6 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Restore-MgDirectoryDeletedItem.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Restore-MgDirectoryDeletedItem.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Restore-MgDirectoryDeletedItem -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDevice.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDevice.md index 19745d3f18e..941d483208f 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDevice.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDevice.md @@ -1,12 +1,12 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ } Update-MgDevice -DeviceId $deviceId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ AccountEnabled = $false diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDirectoryAdministrativeUnit.md index d8937a28605..766ae239bef 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDirectoryAdministrativeUnit.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ DisplayName = "Greater Seattle District Technical Schools" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDomain.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDomain.md index e69d257fa86..1a79ba174dc 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDomain.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDomain.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ IsDefault = $true diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganization.md index e93fbd6ae00..9e77822f663 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganization.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ MarketingNotificationEmails = @( diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBranding.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBranding.md index 1d45db05b5e..de9d27fcd3b 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBranding.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBranding.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ SignInPageText = "Default" diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBrandingLocalization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBrandingLocalization.md index ef585cf14f4..4707902bf0d 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBrandingLocalization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBrandingLocalization.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ BackgroundColor = "#00000F" @@ -8,7 +8,7 @@ $params = @{ Update-MgOrganizationBrandingLocalization -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ SignInPageText = "Welcome to Contoso France." diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md index f534d1a7f57..7d410e1c1a2 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackage.md index f0d27fa8dc4..a2ef9d71b20 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackage.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackage -AccessPackageId $accessPackageId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackage -AccessPackageId $accessPackageId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackage ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement.md index e54690b019f..321d6a57051 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement -AccessPackageId $accessPackageId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage.md index 9043fbabebb..f08018df317 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage -ApprovalId $approvalId -ApprovalStageId $approvalStageId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage -ApprovalId $approvalId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignment.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignment.md index b5e93300fac..b323d15e0d1 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignment.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignment.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignment -AccessPackageAssignmentId $accessPackageAssignmentId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignment -AccessPackageAssignmentId $accessPackageAssignmentId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignment ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentPolicy.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentPolicy.md index e13f6a5881d..6118c9e9fa0 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentPolicy.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentPolicy.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignmentPolicy -AccessPackageAssignmentPolicyId $accessPackageAssignmentPolicyId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignmentPolicy ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentRequest.md index 41dd292fdc4..cdd4cc21314 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentRequest.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignmentRequest ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementCatalog.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementCatalog.md index 0fe385ace98..215a09acdf8 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementCatalog.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementCatalog.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementCatalog -AccessPackageCatalogId $accessPackageCatalogId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementCatalog ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementConnectedOrganization.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementConnectedOrganization.md index 58a574d2e96..cbc4370214d 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementConnectedOrganization.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementConnectedOrganization.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementConnectedOrganization -ConnectedOrganizationId $connectedOrganizationId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementConnectedOrganization ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementSetting.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementSetting.md index eac63df616e..cf7156ddd23 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementSetting.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementSetting.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementSetting ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinition.md index d0cdecfa790..e8f42f5aa1c 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinition.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinition -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinition -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinition -Filter "contains(scope/microsoft.graph.accessReviewQueryScope/query, './members')" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinition -Top 100 -Skip 0 ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstance.md index f3103e0d248..2f949a49289 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstance.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer.md index ab40617d068..b8a381e3482 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md index 45b072d7450..e6fd1052b59 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md index c3a9db88ef9..35f9c76731a 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md index 073a29df038..350e098ace0 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinition.md index 6a419298ca2..0af243b12f7 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinition.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewHistoryDefinition -AccessReviewHistoryDefinitionId $accessReviewHistoryDefinitionId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewHistoryDefinition ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance.md index 00066239028..50426124db7 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance -AccessReviewHistoryDefinitionId $accessReviewHistoryDefinitionId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequest.md index 11af42188bf..079fc60524f 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequest.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequest -AppConsentRequestId $appConsentRequestId -Filter "userConsentRequests/any(u:u/status eq 'InProgress')" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequest -AppConsentRequestId $appConsentRequestId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequest ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequest -Filter "userConsentRequests/any (u:u/status eq 'InProgress')" ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest.md index 044e428f72b..5c358acfc2f 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest -AppConsentRequestId $appConsentRequestId -UserConsentRequestId $userConsentRequestId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest -AppConsentRequestId $appConsentRequestId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest -AppConsentRequestId $appConsentRequestId -UserConsentRequestId $userConsentRequestId -Filter " (status eq 'Completed')" ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreement.md index 0aba9b0f099..5f01ac05db3 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreement.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId -ExpandProperty "files" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceTermOfUseAgreement ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId -ExpandProperty "files" ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreementFile.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreementFile.md index 945bc31f991..fc828daa7a4 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreementFile.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreementFile.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceTermOfUseAgreementFile -AgreementId $agreementId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgUserAgreementAcceptance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgUserAgreementAcceptance.md index e02182fcff0..ccbe2772f0f 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgUserAgreementAcceptance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgUserAgreementAcceptance.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance # A UPN can also be used as -UserId. Get-MgUserAgreementAcceptance -UserId $userId diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md index 76e697936ce..95859aaf1bd 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md index 3baf7de009b..3e40b8b7812 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ Decision = "Approve" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAccessPackage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAccessPackage.md index 84be30c6e6d..59984e70498 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAccessPackage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAccessPackage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "sales reps" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentPolicy.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentPolicy.md index 87c28f8db9a..3d845993319 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentPolicy.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "policy for external access requests" @@ -117,7 +117,7 @@ $params = @{ New-MgEntitlementManagementAssignmentPolicy -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "New Policy" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentRequest.md index be6d6d71dda..486847f1bd8 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentRequest.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ RequestType = "AdminAdd" @@ -12,7 +12,7 @@ $params = @{ New-MgEntitlementManagementAssignmentRequest -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ RequestType = "AdminAdd" @@ -25,7 +25,7 @@ $params = @{ New-MgEntitlementManagementAssignmentRequest -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ RequestType = "AdminRemove" @@ -36,7 +36,7 @@ $params = @{ New-MgEntitlementManagementAssignmentRequest -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ RequestType = "userAdd" @@ -47,7 +47,7 @@ $params = @{ New-MgEntitlementManagementAssignmentRequest -BodyParameter $params ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ RequestType = "userAdd" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementCatalog.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementCatalog.md index 69f4f870f64..ceef55f6867 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementCatalog.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementCatalog.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "sales" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganization.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganization.md index c331095fb22..aa3920ee24b 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganization.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganization.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Connected organization name" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md index 2d35f0a5d1c..b1b0dfa762f 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/users/{id}" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md index 37f5bf3e9be..a2f711c1b33 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/users/{id}" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewDefinition.md index 256f0be7cbb..de225df6c20 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewDefinition.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Review employee access to LinkedIn" @@ -62,7 +62,7 @@ $params = @{ New-MgIdentityGovernanceAccessReviewDefinition -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Group Multi-stage Access Review" @@ -134,7 +134,7 @@ $params = @{ New-MgIdentityGovernanceAccessReviewDefinition -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Review inactive guests on teams" @@ -188,7 +188,7 @@ $params = @{ New-MgIdentityGovernanceAccessReviewDefinition -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Test create" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinition.md index b701ea1f26a..8312aade5ad 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinition.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Last quarter's group reviews April 2021" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md index 2cab5af9752..ac411dcc585 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri -AccessReviewHistoryDefinitionId $accessReviewHistoryDefinitionId -AccessReviewHistoryInstanceId $accessReviewHistoryInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceTermOfUseAgreement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceTermOfUseAgreement.md index 5db703ed208..bc0b060709b 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceTermOfUseAgreement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceTermOfUseAgreement.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Contoso ToU for guest users" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAccessPackage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAccessPackage.md index 5aeb765cbee..44387fc9efe 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAccessPackage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAccessPackage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementAccessPackage -AccessPackageId $accessPackageId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentPolicy.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentPolicy.md index bcebcafeae3..799537a74b8 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentPolicy.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementAssignmentPolicy -AccessPackageAssignmentPolicyId $accessPackageAssignmentPolicyId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentRequest.md index 727d1abb239..caa98a6bee2 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentRequest.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementCatalog.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementCatalog.md index 5f65ece4123..6166a899fda 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementCatalog.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementCatalog.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementCatalog -AccessPackageCatalogId $accessPackageCatalogId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganization.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganization.md index ce18e12ed38..d53d0ca8cad 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganization.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganization.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementConnectedOrganization -ConnectedOrganizationId $connectedOrganizationId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md index af31477811f..345d572a973 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef -ConnectedOrganizationId $connectedOrganizationId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md index 348b87c18aa..1f9ec17ac9a 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef -ConnectedOrganizationId $connectedOrganizationId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceAccessReviewDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceAccessReviewDefinition.md index 91f85d45ede..b9e89bf914c 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceAccessReviewDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceAccessReviewDefinition.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgIdentityGovernanceAccessReviewDefinition -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceTermOfUseAgreement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceTermOfUseAgreement.md index 38c865be699..71fb04bbd67 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceTermOfUseAgreement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceTermOfUseAgreement.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md index 80322bb4639..843f9be8da1 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder.md index 6f20653b577..551b513ff21 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgEntitlementManagementAssignmentRequest.md index c95d19d097b..4ca4ae16a52 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgEntitlementManagementAssignmentRequest.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Stop-MgEntitlementManagementAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstance.md index 1f03df5cc33..037410444ed 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstance.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Stop-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md index 721bc6f83b2..eb67c20650c 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId ``` diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementAccessPackage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementAccessPackage.md index 73e8365ac83..20f01907116 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementAccessPackage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementAccessPackage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Access Package New Name" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementCatalog.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementCatalog.md index e29a591b854..882de977eca 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementCatalog.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementCatalog.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Catalog One" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementConnectedOrganization.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementConnectedOrganization.md index eaf5b0dcda6..a78e73452c9 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementConnectedOrganization.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementConnectedOrganization.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "Connected organization new name" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementSetting.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementSetting.md index 09d12c8aad0..ff0536acfc8 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementSetting.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementSetting.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ ExternalUserLifecycleAction = "None" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstance.md index 56659c50fe2..bd88e9fbae0 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstance.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ Scope = @{ diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md index 05a1db9da07..210122e2139 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ "@odata.type" = "#microsoft.graph.accessReviewStage" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md index 4f301cadbf4..e61e165091d 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ Decision = "Approve" @@ -8,7 +8,7 @@ $params = @{ Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ Decision = "Approve" @@ -17,7 +17,7 @@ $params = @{ Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ Decision = "Approve" diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceTermOfUseAgreement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceTermOfUseAgreement.md index 274f6b3742b..8be48d5cb20 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceTermOfUseAgreement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceTermOfUseAgreement.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ DisplayName = "All Contoso volunteers - Terms of use" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Confirm-MgRiskyUserCompromised.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Confirm-MgRiskyUserCompromised.md index d7075154d90..a26f56f1e46 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Confirm-MgRiskyUserCompromised.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Confirm-MgRiskyUserCompromised.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ UserIds = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgDataPolicyOperation.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgDataPolicyOperation.md index b950aa60866..ba95c252bde 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgDataPolicyOperation.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgDataPolicyOperation.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgDataPolicyOperation -DataPolicyOperationId $dataPolicyOperationId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityApiConnector.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityApiConnector.md index ef20055d161..3bf281da3d7 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityApiConnector.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityApiConnector.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityApiConnector ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlow.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlow.md index be4c80f6b8a..cd58bf1e82c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlow.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlow.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlow -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlow -ExpandProperty "identityProviders" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlow ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowIdentityProvider.md index 1ce1780eed9..d75d630c190 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowIdentityProvider.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowIdentityProvider -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguage.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguage.md index 371f3ec7569..2e2819b37b3 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguage.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguage.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowLanguage -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowLanguage -B2xIdentityUserFlowId $b2xIdentityUserFlowId -UserFlowLanguageConfigurationId $userFlowLanguageConfigurationId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageDefaultPageContent.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageDefaultPageContent.md index 6170c996b0b..ad13acff2e2 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageDefaultPageContent.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageDefaultPageContent.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowLanguageDefaultPageContent -B2xIdentityUserFlowId $b2xIdentityUserFlowId -UserFlowLanguageConfigurationId $userFlowLanguageConfigurationId -UserFlowLanguagePageId $userFlowLanguagePageId -OutFile $outFileId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageOverridePage.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageOverridePage.md index b464fb12895..268b2bc8055 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageOverridePage.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageOverridePage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowLanguageOverridePage -B2xIdentityUserFlowId $b2xIdentityUserFlowId -UserFlowLanguageConfigurationId $userFlowLanguageConfigurationId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignment.md index b779f2b9b38..1a20312e7ef 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignment.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -IdentityUserFlowAttributeAssignmentId $identityUserFlowAttributeAssignmentId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -ExpandProperty "userAttribute" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -IdentityUserFlowAttributeAssignmentId $identityUserFlowAttributeAssignmentId -ExpandProperty "userAttribute" ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md index c433b92fb6a..984ea111d95 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityProvider.md index 8c7a76989f6..8d5693d43f6 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityProvider.md @@ -1,40 +1,40 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider -IdentityProviderId $identityProviderId ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider ``` ### Example 6 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider -OutFile $outFileId ``` ### Example 7 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId ``` ### Example 8 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityUserFlowAttribute.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityUserFlowAttribute.md index 24fae7780ef..f8aae8f9ce5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityUserFlowAttribute.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityUserFlowAttribute.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityUserFlowAttribute -IdentityUserFlowAttributeId $identityUserFlowAttributeId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityUserFlowAttribute ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionBitlockerRecoveryKey.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionBitlockerRecoveryKey.md index 6766990ddec..5d9a2186457 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionBitlockerRecoveryKey.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionBitlockerRecoveryKey.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $bitlockerRecoveryKeyId -Property "key" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $bitlockerRecoveryKeyId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionBitlockerRecoveryKey -Filter "deviceId eq '1ab40ab2-32a8-4b00-b6b5-ba724e407de9'" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionBitlockerRecoveryKey ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionThreatAssessmentRequest.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionThreatAssessmentRequest.md index 1bd7c7319b9..991e8feffc8 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionThreatAssessmentRequest.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionThreatAssessmentRequest.md @@ -1,30 +1,30 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId -ExpandProperty "results" ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest ``` ### Example 6 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrant.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrant.md index 17ee267ab5b..831fe2ac595 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrant.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrant.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgOauth2PermissionGrant -OAuth2PermissionGrantId $oAuth2PermissionGrantId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgOauth2PermissionGrant ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrantDelta.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrantDelta.md index 6fb180910df..2c5dda36ad9 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrantDelta.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrantDelta.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgOauth2PermissionGrantDelta ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOrganizationCertificateBasedAuthConfiguration.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOrganizationCertificateBasedAuthConfiguration.md index a5de0b630b5..f13eb2c02c8 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOrganizationCertificateBasedAuthConfiguration.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOrganizationCertificateBasedAuthConfiguration.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgOrganizationCertificateBasedAuthConfiguration -OrganizationId $organizationId -CertificateBasedAuthConfigurationId $certificateBasedAuthConfigurationId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgOrganizationCertificateBasedAuthConfiguration -OrganizationId $organizationId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyActivityBasedTimeoutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyActivityBasedTimeoutPolicy.md index 9222ad25a83..b9ae26353ef 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyActivityBasedTimeoutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyActivityBasedTimeoutPolicy.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyActivityBasedTimeoutPolicy ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyActivityBasedTimeoutPolicy -ActivityBasedTimeoutPolicyId $activityBasedTimeoutPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAdminConsentRequestPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAdminConsentRequestPolicy.md index bc65160e45b..340a78a3b92 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAdminConsentRequestPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAdminConsentRequestPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAdminConsentRequestPolicy ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationFlowPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationFlowPolicy.md index e21422bf2f8..520e1b9d0bf 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationFlowPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationFlowPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationFlowPolicy ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicy.md index 4a7924d6b37..cdd930e611c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationMethodPolicy ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md index bcdd1d78511..1a856eb7ed7 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyClaimMappingPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyClaimMappingPolicy.md index 1dd6d634705..15728f650ef 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyClaimMappingPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyClaimMappingPolicy.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyClaimMappingPolicy ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyClaimMappingPolicy -ClaimsMappingPolicyId $claimsMappingPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicy.md index 6bb7a34c22b..bcdd37e3839 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyCrossTenantAccessPolicy ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyDefault.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyDefault.md index d662c5a59f0..142f1bef1c1 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyDefault.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyDefault.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyCrossTenantAccessPolicyDefault ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyPartner.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyPartner.md index 926ee1b747b..567cb0a67b6 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyPartner.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyPartner.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyCrossTenantAccessPolicyPartner -CrossTenantAccessPolicyConfigurationPartnerTenantId $crossTenantAccessPolicyConfigurationPartnerTenantId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyCrossTenantAccessPolicyPartner ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyFeatureRolloutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyFeatureRolloutPolicy.md index a60b143329e..45bced25fae 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyFeatureRolloutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyFeatureRolloutPolicy.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyFeatureRolloutPolicy ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyFeatureRolloutPolicy -FeatureRolloutPolicyId $featureRolloutPolicyId -ExpandProperty "appliesTo" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyFeatureRolloutPolicy -FeatureRolloutPolicyId $featureRolloutPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md index cc691ddece6..272bdaaf1c2 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyHomeRealmDiscoveryPolicy ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyHomeRealmDiscoveryPolicy -HomeRealmDiscoveryPolicyId $homeRealmDiscoveryPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md index f04672b4f69..593317ba3ca 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicy.md index cae50e7a734..0ae5066eecb 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicy.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyPermissionGrantPolicy -PermissionGrantPolicyId $permissionGrantPolicyId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyPermissionGrantPolicy ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyExclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyExclude.md index af31615c408..dd4ba360124 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyExclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyExclude.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyPermissionGrantPolicyExclude -PermissionGrantPolicyId $permissionGrantPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyInclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyInclude.md index ec1740c8faa..73ac0083756 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyInclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyInclude.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyPermissionGrantPolicyInclude -PermissionGrantPolicyId $permissionGrantPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicy.md index ceb3487b80e..f5e332889da 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicy.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicy -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId -ExpandProperty "effectiveRules,rules" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicy -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicy -Filter "scopeId eq '/' and scopeType eq 'Directory'" -ExpandProperty "rules" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicy -Filter "scopeId eq '/' and scopeType eq 'DirectoryRole'" ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyAssignment.md index 976d3b80788..9e8faef9250 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyAssignment.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyAssignment -UnifiedRoleManagementPolicyAssignmentId $unifiedRoleManagementPolicyAssignmentId -ExpandProperty "policy(`$expand=rules)" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyAssignment -UnifiedRoleManagementPolicyAssignmentId $unifiedRoleManagementPolicyAssignmentId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyAssignment -Filter "scopeId eq '/' and scopeType eq 'DirectoryRole' and roleDefinitionId eq '62e90394-69f5-4237-9190-012177145e10'" -ExpandProperty "policy(`$expand=rules)" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyAssignment -Filter "scopeId eq '/' and scopeType eq 'Directory'" ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyRule.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyRule.md index fe42e59397a..940e9b857bd 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyRule.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyRule.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyRule -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId -UnifiedRoleManagementPolicyRuleId $unifiedRoleManagementPolicyRuleId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyRule -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenIssuancePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenIssuancePolicy.md index 4ecba283513..25f37e2c39b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenIssuancePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenIssuancePolicy.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyTokenIssuancePolicy -TokenIssuancePolicyId $tokenIssuancePolicyId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyTokenIssuancePolicy ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenLifetimePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenLifetimePolicy.md index a4b9411aff4..c639a4d2bc3 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenLifetimePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenLifetimePolicy.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyTokenLifetimePolicy ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyTokenLifetimePolicy -TokenLifetimePolicyId $tokenLifetimePolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskDetection.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskDetection.md index fe9425e208d..b4546dbc301 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskDetection.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskDetection.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskDetection -RiskDetectionId $riskDetectionId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskDetection ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUser.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUser.md index e2f03b57111..fcabc5916c7 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUser.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUser.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskyUser -RiskyUserId $riskyUserId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskyUser ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUserHistory.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUserHistory.md index ece968596e9..cf17cb91b90 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUserHistory.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUserHistory.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskyUserHistory -RiskyUserId $riskyUserId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskyUserHistory -RiskyUserId $riskyUserId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationEmailMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationEmailMethod.md index 9414284cfb7..1f717916c2a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationEmailMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationEmailMethod.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationEmailMethod -UserId $userId -EmailAuthenticationMethodId $emailAuthenticationMethodId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationEmailMethod -UserId $userId diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationFido2Method.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationFido2Method.md index 8b4e7b12459..f805e58aef2 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationFido2Method.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationFido2Method.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationFido2Method -UserId $userId -Fido2AuthenticationMethodId $fido2AuthenticationMethodId diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationMicrosoftAuthenticatorMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationMicrosoftAuthenticatorMethod.md index 6198396516c..8c6683fbc87 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationMicrosoftAuthenticatorMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationMicrosoftAuthenticatorMethod.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationMicrosoftAuthenticatorMethod -UserId $userId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationOperation.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationOperation.md index 0121dc717a6..6a99e84f01a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationOperation.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationOperation.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationOperation -UserId $userId -LongRunningOperationId $longRunningOperationId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPasswordMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPasswordMethod.md index 0c84dbcf482..290bab80c77 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPasswordMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPasswordMethod.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationPasswordMethod -UserId $userId -PasswordAuthenticationMethodId $passwordAuthenticationMethodId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationPasswordMethod -UserId $userId diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPhoneMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPhoneMethod.md index 4c71e5276ab..638d34c5782 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPhoneMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPhoneMethod.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationPhoneMethod -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationPhoneMethod -UserId $userId diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationSoftwareOathMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationSoftwareOathMethod.md index 342bcc950d3..449124deb82 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationSoftwareOathMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationSoftwareOathMethod.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationSoftwareOathMethod -UserId $userId -SoftwareOathAuthenticationMethodId $softwareOathAuthenticationMethodId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationSoftwareOathMethod -UserId $userId diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationTemporaryAccessPassMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationTemporaryAccessPassMethod.md index 996c9b813df..2ac213afec5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationTemporaryAccessPassMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationTemporaryAccessPassMethod.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationTemporaryAccessPassMethod -UserId $userId -TemporaryAccessPassAuthenticationMethodId $temporaryAccessPassAuthenticationMethodId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationTemporaryAccessPassMethod -UserId $userId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationWindowHelloForBusinessMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationWindowHelloForBusinessMethod.md index 3a21ff51437..657eaef7804 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationWindowHelloForBusinessMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationWindowHelloForBusinessMethod.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationWindowHelloForBusinessMethod -UserId $userId -WindowsHelloForBusinessAuthenticationMethodId $windowsHelloForBusinessAuthenticationMethodId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationWindowHelloForBusinessMethod -UserId $userId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgAvailableIdentityProviderType.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgAvailableIdentityProviderType.md index dd238e022d3..68d45fafed4 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgAvailableIdentityProviderType.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgAvailableIdentityProviderType.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Invoke-MgAvailableIdentityProviderType ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Invoke-MgAvailableIdentityProviderType ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Invoke-MgAvailableIdentityProviderType -OutFile $outFileId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgDismissRiskyUser.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgDismissRiskyUser.md index 093e06078cc..d780646579c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgDismissRiskyUser.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgDismissRiskyUser.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ UserIds = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgUploadIdentityApiConnectorClientCertificate.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgUploadIdentityApiConnectorClientCertificate.md index f9cf48005ea..5d9fc04b1c7 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgUploadIdentityApiConnectorClientCertificate.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgUploadIdentityApiConnectorClientCertificate.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Pkcs12Value = "eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ...kDJ04sJShkkgjL9Bm49plA" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityApiConnector.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityApiConnector.md index c4a5b11235b..fe3a33d24ce 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityApiConnector.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityApiConnector.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "Test API" @@ -13,7 +13,7 @@ $params = @{ New-MgIdentityApiConnector -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "Test API" @@ -27,7 +27,7 @@ $params = @{ New-MgIdentityApiConnector -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "Test API" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlow.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlow.md index 0a9a5cfe82c..e46fee3a2e7 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlow.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlow.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Id = "UserFlowWithAPIConnector" @@ -17,7 +17,7 @@ $params = @{ New-MgIdentityB2XUserFlow -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Id = "Partner" @@ -34,7 +34,7 @@ $params = @{ New-MgIdentityB2XUserFlow -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Id = "Partner" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlowUserAttributeAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlowUserAttributeAssignment.md index 54b0bd11e87..b85fb78473a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlowUserAttributeAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlowUserAttributeAssignment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ IsOptional = $false diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityProvider.md index dba51b443ab..570b76aba58 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityProvider.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "microsoft.graph.appleManagedIdentityProvider" @@ -12,7 +12,7 @@ $params = @{ New-MgIdentityProvider -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "microsoft.graph.socialIdentityProvider" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityUserFlowAttribute.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityUserFlowAttribute.md index e49ac549cc1..ada5e5f86d6 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityUserFlowAttribute.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityUserFlowAttribute.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "Hobby" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgInformationProtectionThreatAssessmentRequest.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgInformationProtectionThreatAssessmentRequest.md index 39a09bff64c..fd35e3e29f3 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgInformationProtectionThreatAssessmentRequest.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgInformationProtectionThreatAssessmentRequest.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.emailFileAssessmentRequest" @@ -11,7 +11,7 @@ $params = @{ New-MgInformationProtectionThreatAssessmentRequest -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.fileAssessmentRequest" @@ -23,7 +23,7 @@ $params = @{ New-MgInformationProtectionThreatAssessmentRequest -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.mailAssessmentRequest" @@ -35,7 +35,7 @@ $params = @{ New-MgInformationProtectionThreatAssessmentRequest -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.urlAssessmentRequest" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgOauth2PermissionGrant.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgOauth2PermissionGrant.md index e20f6adcec9..e102ac80673 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgOauth2PermissionGrant.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgOauth2PermissionGrant.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ ClientId = "ef969797-201d-4f6b-960c-e9ed5f31dab5" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyActivityBasedTimeoutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyActivityBasedTimeoutPolicy.md index 2ab9e0321c8..1adb903bbb9 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyActivityBasedTimeoutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyActivityBasedTimeoutPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyClaimMappingPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyClaimMappingPolicy.md index 7352db7acfe..e73a6f89f8d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyClaimMappingPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyClaimMappingPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyCrossTenantAccessPolicyPartner.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyCrossTenantAccessPolicyPartner.md index 47ce8af5ba0..83e1bf586e3 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyCrossTenantAccessPolicyPartner.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyCrossTenantAccessPolicyPartner.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ TenantId = "3d0f5dec-5d3d-455c-8016-e2af1ae4d31a" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicy.md index e03bc5665ad..d7869675802 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "PassthroughAuthentication rollout policy" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicyApplyToByRef.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicyApplyToByRef.md index a9bfb6fbce7..b6b4ef25769 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicyApplyToByRef.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicyApplyToByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.id" = "https://graph.microsoft.com/v1.0/directoryObjects/2441b489-4f12-4882-b039-8f6006bd66da" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md index fe3e8ecf9cd..46020bab5f4 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicy.md index ce1b434f9bb..c5e2d21d4df 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Id = "my-custom-consent-policy" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyExclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyExclude.md index 19760e67d2d..7667f1cda6d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyExclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyExclude.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ PermissionType = "delegated" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyInclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyInclude.md index 0fcb85af701..d1ed196cf7c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyInclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyInclude.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ PermissionType = "delegated" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenIssuancePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenIssuancePolicy.md index 138d793e713..daffdf53fdc 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenIssuancePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenIssuancePolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenLifetimePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenLifetimePolicy.md index 5415f5ff656..dcde45e6050 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenLifetimePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenLifetimePolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationEmailMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationEmailMethod.md index 1b58d931d5b..6f54d561d6d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationEmailMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationEmailMethod.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ EmailAddress = "kim@contoso.com" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationPhoneMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationPhoneMethod.md index 794520cef38..c491094dbb4 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationPhoneMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationPhoneMethod.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ PhoneNumber = "+1 2065555555" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationTemporaryAccessPassMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationTemporaryAccessPassMethod.md index aa54c1fd5d3..eb7194bf047 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationTemporaryAccessPassMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationTemporaryAccessPassMethod.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ StartDateTime = [System.DateTime]::Parse("2022-06-05T00:00:00.000Z") diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityApiConnector.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityApiConnector.md index f441e383f2b..32e61a1c7c3 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityApiConnector.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityApiConnector.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlow.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlow.md index a128b780187..dff0a0e40d3 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlow.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlow.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityB2XUserFlow -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlowUserAttributeAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlowUserAttributeAssignment.md index a16ed6fe010..b34f82f10f5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlowUserAttributeAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlowUserAttributeAssignment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -IdentityUserFlowAttributeAssignmentId $identityUserFlowAttributeAssignmentId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityProvider.md index 9c5318d9e40..74386102608 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityProvider.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityUserFlowAttribute.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityUserFlowAttribute.md index 58d93e9ae4a..7477c98d1aa 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityUserFlowAttribute.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityUserFlowAttribute.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityUserFlowAttribute -IdentityUserFlowAttributeId $identityUserFlowAttributeId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgOauth2PermissionGrant.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgOauth2PermissionGrant.md index 07cb4f13f51..186878776f0 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgOauth2PermissionGrant.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgOauth2PermissionGrant.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgOauth2PermissionGrant -OAuth2PermissionGrantId $oAuth2PermissionGrantId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyActivityBasedTimeoutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyActivityBasedTimeoutPolicy.md index 0a07a4e1283..f98367214d0 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyActivityBasedTimeoutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyActivityBasedTimeoutPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyActivityBasedTimeoutPolicy -ActivityBasedTimeoutPolicyId $activityBasedTimeoutPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md index 842f81363e8..e0c8c7ba91d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyClaimMappingPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyClaimMappingPolicy.md index 2dc41b07875..6c6ed0c13a7 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyClaimMappingPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyClaimMappingPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyClaimMappingPolicy -ClaimsMappingPolicyId $claimsMappingPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyCrossTenantAccessPolicyPartner.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyCrossTenantAccessPolicyPartner.md index 9a805a74594..54daa32654a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyCrossTenantAccessPolicyPartner.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyCrossTenantAccessPolicyPartner.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyCrossTenantAccessPolicyPartner -CrossTenantAccessPolicyConfigurationPartnerTenantId $crossTenantAccessPolicyConfigurationPartnerTenantId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicy.md index 3f159e203cd..2cda75a58ab 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyFeatureRolloutPolicy -FeatureRolloutPolicyId $featureRolloutPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md index 3d3cda8f27b..28edacc5c33 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyFeatureRolloutPolicyApplyToByRef -FeatureRolloutPolicyId $featureRolloutPolicyId -DirectoryObjectId $directoryObjectId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyHomeRealmDiscoveryPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyHomeRealmDiscoveryPolicy.md index 3435b7c5b1b..d7fb3c12087 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyHomeRealmDiscoveryPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyHomeRealmDiscoveryPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyHomeRealmDiscoveryPolicy -HomeRealmDiscoveryPolicyId $homeRealmDiscoveryPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicy.md index 2b1c9ab0400..628f87a04a2 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyPermissionGrantPolicy -PermissionGrantPolicyId $permissionGrantPolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyExclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyExclude.md index 912d0e8e4e9..b2ded98e9ce 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyExclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyExclude.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyPermissionGrantPolicyExclude -PermissionGrantPolicyId $permissionGrantPolicyId -PermissionGrantConditionSetId $permissionGrantConditionSetId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyInclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyInclude.md index 62c808fa010..c5b9c98ec9d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyInclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyInclude.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyPermissionGrantPolicyInclude -PermissionGrantPolicyId $permissionGrantPolicyId -PermissionGrantConditionSetId $permissionGrantConditionSetId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenIssuancePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenIssuancePolicy.md index e1526b82d47..32b7eb1dafc 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenIssuancePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenIssuancePolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyTokenIssuancePolicy -TokenIssuancePolicyId $tokenIssuancePolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenLifetimePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenLifetimePolicy.md index 4190f828bc2..5074e84036b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenLifetimePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenLifetimePolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyTokenLifetimePolicy -TokenLifetimePolicyId $tokenLifetimePolicyId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationEmailMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationEmailMethod.md index 32d2b7c92f8..1c1936772a8 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationEmailMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationEmailMethod.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationEmailMethod -UserId $userId -EmailAuthenticationMethodId $emailAuthenticationMethodId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationFido2Method.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationFido2Method.md index c8501c5ad62..1011b6aaeee 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationFido2Method.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationFido2Method.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationFido2Method -UserId $userId -Fido2AuthenticationMethodId $fido2AuthenticationMethodId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod.md index 904d20b2b37..ff88d86debe 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod -UserId $userId -MicrosoftAuthenticatorAuthenticationMethodId $microsoftAuthenticatorAuthenticationMethodId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationPhoneMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationPhoneMethod.md index 573e07cd4f5..dc67e4598eb 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationPhoneMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationPhoneMethod.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Remove-MgUserAuthenticationPhoneMethod -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationSoftwareOathMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationSoftwareOathMethod.md index 310be3c721f..95a7d59cab1 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationSoftwareOathMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationSoftwareOathMethod.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationSoftwareOathMethod -UserId $userId -SoftwareOathAuthenticationMethodId $softwareOathAuthenticationMethodId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationTemporaryAccessPassMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationTemporaryAccessPassMethod.md index a7ff328f33d..08b72aed538 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationTemporaryAccessPassMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationTemporaryAccessPassMethod.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationTemporaryAccessPassMethod -UserId $userId -TemporaryAccessPassAuthenticationMethodId $temporaryAccessPassAuthenticationMethodId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationWindowHelloForBusinessMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationWindowHelloForBusinessMethod.md index 049aca7545f..01617bc0eaf 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationWindowHelloForBusinessMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationWindowHelloForBusinessMethod.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationWindowHelloForBusinessMethod -UserId $userId -WindowsHelloForBusinessAuthenticationMethodId $windowsHelloForBusinessAuthenticationMethodId ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md index eee5a3f89ad..16906c7b561 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault ``` diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowLanguageOverridePageContent.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowLanguageOverridePageContent.md index c279c85ed9e..f607d2d7369 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowLanguageOverridePageContent.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowLanguageOverridePageContent.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ LocalizedStrings = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md index 2177a9167d6..39a7a1646e8 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ NewAssignmentOrder = @{ diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityApiConnector.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityApiConnector.md index 976e367a37e..15ceea0a39b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityApiConnector.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityApiConnector.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ AuthenticationConfiguration = @{ @@ -11,7 +11,7 @@ $params = @{ Update-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "New Test API" @@ -25,7 +25,7 @@ $params = @{ Update-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ AuthenticationConfiguration = @{ diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityB2XUserFlowUserAttributeAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityB2XUserFlowUserAttributeAssignment.md index 316d4bef11c..c2f868837e5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityB2XUserFlowUserAttributeAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityB2XUserFlowUserAttributeAssignment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ UserInputType = "textBox" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityProvider.md index ba487d9c509..28f43034fb2 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityProvider.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.socialIdentityProvider" @@ -8,7 +8,7 @@ $params = @{ Update-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ ClientSecret = "1111111111111" @@ -16,7 +16,7 @@ $params = @{ Update-MgIdentityProvider -IdentityProviderId $identityProviderId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.socialIdentityProvider" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityUserFlowAttribute.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityUserFlowAttribute.md index 2fb92849746..5acc19aa1ad 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityUserFlowAttribute.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityUserFlowAttribute.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Description = "Your new hobby" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgOauth2PermissionGrant.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgOauth2PermissionGrant.md index 2351251d972..cf0efa32513 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgOauth2PermissionGrant.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgOauth2PermissionGrant.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Scope = "User.ReadBasic.All Group.ReadWrite.All" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyActivityBasedTimeoutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyActivityBasedTimeoutPolicy.md index 559c2f5f54a..2a41758531c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyActivityBasedTimeoutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyActivityBasedTimeoutPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationFlowPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationFlowPolicy.md index e98d6cca8c0..2f0dbc1d7dc 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationFlowPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationFlowPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ SelfServiceSignUp = @{ diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicy.md index 394dc22893c..59d31ae9b4c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.context" = "https://graph.microsoft.com/v1.0/$metadata#authenticationMethodsPolicy" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md index 5ea41be65bf..e17b2a2bef8 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.emailAuthenticationMethodConfiguration" @@ -8,7 +8,7 @@ $params = @{ Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.fido2AuthenticationMethodConfiguration" @@ -18,7 +18,7 @@ $params = @{ Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration" @@ -27,7 +27,7 @@ $params = @{ Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyClaimMappingPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyClaimMappingPolicy.md index b0765a611b4..ea5b4efceff 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyClaimMappingPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyClaimMappingPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "UpdateClaimsPolicy" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicy.md index b8ac98af3ae..4cd8ebb4f84 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "CrossTenantAccessPolicy" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyDefault.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyDefault.md index c6a0c571c8e..630526d0f06 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyDefault.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyDefault.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ B2bCollaborationOutbound = @{ diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyPartner.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyPartner.md index 377bee39382..acede6a3384 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyPartner.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyPartner.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ InboundTrust = @{ diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyFeatureRolloutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyFeatureRolloutPolicy.md index 3a4c6ea1410..1635df117ba 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyFeatureRolloutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyFeatureRolloutPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "PasswordHashSync Rollout Policy" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyHomeRealmDiscoveryPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyHomeRealmDiscoveryPolicy.md index ba41a93d1ce..26e0daa2825 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyHomeRealmDiscoveryPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyHomeRealmDiscoveryPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md index 37f4225a70d..e8c83bda37c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ IsEnabled = $false diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyPermissionGrantPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyPermissionGrantPolicy.md index 632343a64e5..a1668526158 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyPermissionGrantPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyPermissionGrantPolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ DisplayName = "Custom permission grant policy" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyRoleManagementPolicyRule.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyRoleManagementPolicyRule.md index ad2735afa02..68aadbaa1ad 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyRoleManagementPolicyRule.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyRoleManagementPolicyRule.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ "@odata.type" = "#microsoft.graph.unifiedRoleManagementPolicyExpirationRule" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenIssuancePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenIssuancePolicy.md index f1480824f40..29887e5a041 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenIssuancePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenIssuancePolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenLifetimePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenLifetimePolicy.md index 653208d70a9..cf99ac4252a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenLifetimePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenLifetimePolicy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ Definition = @( diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationEmailMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationEmailMethod.md index fbe17de5237..9e3c96fbb2d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationEmailMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationEmailMethod.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ EmailAddress = "kim@contoso.com" diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationPhoneMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationPhoneMethod.md index 2af86b7fe12..ef08ab1401c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationPhoneMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationPhoneMethod.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ PhoneNumber = "+1 2065555554" diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserInferenceClassificationOverride.md b/src/Mail/Mail/examples/v1.0/Get-MgUserInferenceClassificationOverride.md index 5b2e11edf56..09b2c7db8c1 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserInferenceClassificationOverride.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserInferenceClassificationOverride.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserInferenceClassificationOverride -UserId $userId diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolder.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolder.md index d4284255d15..de848b97c64 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolder.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolder.md @@ -1,17 +1,17 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolder -UserId $userId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderChildFolder.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderChildFolder.md index 3f82fe798f4..071f125f52f 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderChildFolder.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderChildFolder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolderChildFolder -UserId $userId -MailFolderId $mailFolderId diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessage.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessage.md index 9f8ac847c95..4386c1a6bc2 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessage.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolderMessage -UserId $userId -MailFolderId $mailFolderId diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessageRule.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessageRule.md index 7584487d170..2daab704ef0 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessageRule.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessageRule.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolderMessageRule -UserId $userId -MailFolderId $mailFolderId -MessageRuleId $messageRuleId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolderMessageRule -UserId $userId -MailFolderId $mailFolderId diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md index d0ec234b4ca..b455cd8075f 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md @@ -1,29 +1,29 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessage -UserId $userId -MessageId $messageId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessage -UserId $userId -MessageId $messageId -Property "internetMessageHeaders" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessage -UserId $userId -MessageId $messageId -Property "subject,body,bodyPreview,uniqueBody" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessage -UserId $userId -MessageId $messageId ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessage -UserId $userId -Property "sender,subject" diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMessageAttachment.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMessageAttachment.md index 3a335b2e2f2..6d071fe7e45 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMessageAttachment.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMessageAttachment.md @@ -1,41 +1,41 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId -ExpandProperty "microsoft.graph.itemattachment/item" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId -ExpandProperty "microsoft.graph.itemattachment/item" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId ``` ### Example 6 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId ``` ### Example 7 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMessageExtension.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMessageExtension.md index cad8751b65a..6836e4f401d 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMessageExtension.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMessageExtension.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageExtension -UserId $userId -MessageId $messageId -ExtensionId $extensionId diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserInferenceClassificationOverride.md b/src/Mail/Mail/examples/v1.0/New-MgUserInferenceClassificationOverride.md index 81373fc0b8f..83dbd1bc536 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserInferenceClassificationOverride.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserInferenceClassificationOverride.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail $params = @{ ClassifyAs = "focused" diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolder.md b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolder.md index 86428b05183..aec85f5293a 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolder.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail $params = @{ DisplayName = "Clutter" diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderChildFolder.md b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderChildFolder.md index 1e6bd43d9ba..15f5e9908fd 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderChildFolder.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderChildFolder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail $params = @{ DisplayName = "displayName-value" @@ -9,7 +9,7 @@ $params = @{ New-MgUserMailFolderChildFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail $params = @{ "@odata.type" = "microsoft.graph.mailSearchFolder" diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessage.md b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessage.md index cf469e90e30..db4b2fc3fc1 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessage.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail $params = @{ ReceivedDateTime = [System.DateTime]::Parse("datetime-value") diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessageRule.md b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessageRule.md index 8d56de19ddd..f325d4339de 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessageRule.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessageRule.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail $params = @{ DisplayName = "From partner" diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMessage.md b/src/Mail/Mail/examples/v1.0/New-MgUserMessage.md index 8f6c2d8c122..1f69077c702 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMessage.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail $params = @{ Subject = "Did you see last night's game?" @@ -20,7 +20,7 @@ $params = @{ New-MgUserMessage -UserId $userId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail $params = @{ Subject = "9/8/2018: concert" diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMessageAttachment.md b/src/Mail/Mail/examples/v1.0/New-MgUserMessageAttachment.md index 8f34b7dc6a2..9646a505a5f 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMessageAttachment.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMessageAttachment.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail $params = @{ "@odata.type" = "microsoft.graph.fileAttachment" @@ -13,7 +13,7 @@ $params = @{ New-MgUserMessageAttachment -UserId $userId -MessageId $messageId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail $params = @{ "@odata.type" = "#microsoft.graph.fileAttachment" diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserInferenceClassificationOverride.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserInferenceClassificationOverride.md index 7d66082cbe3..0a334e715ef 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserInferenceClassificationOverride.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserInferenceClassificationOverride.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserInferenceClassificationOverride -UserId $userId -InferenceClassificationOverrideId $inferenceClassificationOverrideId diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolder.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolder.md index 5a735e9b969..589b783a4d4 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolder.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolderMessageRule.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolderMessageRule.md index 7708ad05483..360c5d39f98 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolderMessageRule.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolderMessageRule.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserMailFolderMessageRule -UserId $userId -MailFolderId $mailFolderId -MessageRuleId $messageRuleId diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserMessage.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserMessage.md index 6fdb890c241..c4751b3bb57 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserMessage.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserMessage.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserMessage -UserId $userId -MessageId $messageId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserMessage -UserId $userId -MessageId $messageId diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserMessageExtension.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserMessageExtension.md index 42ae5bf6c33..0eb829dadc9 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserMessageExtension.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserMessageExtension.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserMessageExtension -UserId $userId -MessageId $messageId -ExtensionId $extensionId diff --git a/src/Mail/Mail/examples/v1.0/Update-MgUserInferenceClassificationOverride.md b/src/Mail/Mail/examples/v1.0/Update-MgUserInferenceClassificationOverride.md index dd1b0310b36..96ab1b42c8f 100644 --- a/src/Mail/Mail/examples/v1.0/Update-MgUserInferenceClassificationOverride.md +++ b/src/Mail/Mail/examples/v1.0/Update-MgUserInferenceClassificationOverride.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail $params = @{ ClassifyAs = "focused" diff --git a/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolder.md b/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolder.md index bdf1316e581..bcbf2f8bfe6 100644 --- a/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolder.md +++ b/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail $params = @{ DisplayName = "displayName-value" @@ -8,7 +8,7 @@ $params = @{ Update-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail $params = @{ "@odata.type" = "microsoft.graph.mailSearchFolder" diff --git a/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolderMessageRule.md b/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolderMessageRule.md index 605f003e950..1fec0c700db 100644 --- a/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolderMessageRule.md +++ b/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolderMessageRule.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail $params = @{ DisplayName = "Important from partner" diff --git a/src/Mail/Mail/examples/v1.0/Update-MgUserMessage.md b/src/Mail/Mail/examples/v1.0/Update-MgUserMessage.md index b11ce2d33fc..10e184c9799 100644 --- a/src/Mail/Mail/examples/v1.0/Update-MgUserMessage.md +++ b/src/Mail/Mail/examples/v1.0/Update-MgUserMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail $params = @{ IsRead = $true @@ -8,7 +8,7 @@ $params = @{ Update-MgUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Mail $params = @{ Subject = "subject-value" diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebook.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebook.md index 05c1ab754b7..99c91bff4b8 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebook.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebook.md @@ -1,17 +1,17 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteNotebook -UserId $userId -NotebookId $notebookId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteNotebook -UserId $userId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteNotebook -UserId $userId -NotebookId $notebookId diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSection.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSection.md index 31d46778861..dd1d412cb27 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSection.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSection.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteNotebookSection -UserId $userId -NotebookId $notebookId diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSectionGroup.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSectionGroup.md index 44daad71305..ceff548e6a9 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSectionGroup.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSectionGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteNotebookSectionGroup -UserId $userId -NotebookId $notebookId diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteOperation.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteOperation.md index 38cdba5f8b3..b65550c1f0f 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteOperation.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteOperation.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteOperation -UserId $userId -OnenoteOperationId $onenoteOperationId diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSection.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSection.md index c6cdfe2ceb6..2b54f582860 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSection.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSection.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteSection -UserId $userId -OnenoteSectionId $onenoteSectionId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteSection -UserId $userId diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroup.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroup.md index 05d799a901f..19b8a8c6c67 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroup.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteSectionGroup -UserId $userId diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroupSection.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroupSection.md index 8186bb09d2a..db07955a518 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroupSection.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroupSection.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteSectionGroupSection -UserId $userId -SectionGroupId $sectionGroupId diff --git a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebook.md b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebook.md index eea843256b6..6fa7d7c84f6 100644 --- a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebook.md +++ b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebook.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Notes $params = @{ DisplayName = "My Private notebook" diff --git a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSection.md b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSection.md index d2477327e1e..303950047de 100644 --- a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSection.md +++ b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSection.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Notes $params = @{ DisplayName = "Section name" diff --git a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSectionGroup.md b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSectionGroup.md index a895e33f346..69733e7ceb7 100644 --- a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSectionGroup.md +++ b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSectionGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Notes $params = @{ DisplayName = "Section group name" diff --git a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteSectionGroupSection.md b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteSectionGroupSection.md index ca20d69074c..b106f9b3fe9 100644 --- a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteSectionGroupSection.md +++ b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteSectionGroupSection.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Notes $params = @{ DisplayName = "Section name" diff --git a/src/Notes/Notes/examples/v1.0/Remove-MgUserOnenotePage.md b/src/Notes/Notes/examples/v1.0/Remove-MgUserOnenotePage.md index 9e2eaeb93f1..38180c8b3fa 100644 --- a/src/Notes/Notes/examples/v1.0/Remove-MgUserOnenotePage.md +++ b/src/Notes/Notes/examples/v1.0/Remove-MgUserOnenotePage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Remove-MgUserOnenotePage -UserId $userId -OnenotePageId $onenotePageId diff --git a/src/People/People/examples/v1.0/Get-MgUserPerson.md b/src/People/People/examples/v1.0/Get-MgUserPerson.md index 9174033463b..7de9339cb8c 100644 --- a/src/People/People/examples/v1.0/Get-MgUserPerson.md +++ b/src/People/People/examples/v1.0/Get-MgUserPerson.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.People # A UPN can also be used as -UserId. Get-MgUserPerson -UserId $userId diff --git a/src/People/People/examples/v1.0/Get-MgUserUsedInsight.md b/src/People/People/examples/v1.0/Get-MgUserUsedInsight.md index f083d68161b..2734f0d0630 100644 --- a/src/People/People/examples/v1.0/Get-MgUserUsedInsight.md +++ b/src/People/People/examples/v1.0/Get-MgUserUsedInsight.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.People # A UPN can also be used as -UserId. Get-MgUserUsedInsight -UserId $userId -Sort "LastUsed/LastAccessedDateTime desc" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.People # A UPN can also be used as -UserId. Get-MgUserUsedInsight -UserId $userId diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContact.md index ee5f7efbb0b..8bbcb5cf72e 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContact.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContact -UserId $userId -ContactId $contactId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContact -UserId $userId diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolder.md index f2d0284baf1..6b3a0528aa8 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolder.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContactFolder -UserId $userId -ContactFolderId $contactFolderId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContactFolder -UserId $userId diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderChildFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderChildFolder.md index dc99ff6715a..2986883153c 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderChildFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderChildFolder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContactFolderChildFolder -UserId $userId -ContactFolderId $contactFolderId diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderContact.md index 97d2545d40d..bfa8b0d531d 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderContact.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContactFolderContact -UserId $userId -ContactFolderId $contactFolderId diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContact.md index 8410ad0f243..e4b155d2590 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContact.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ GivenName = "Pavel" diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolder.md index c8ffb03b89d..2aa943b1c23 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ ParentFolderId = "AQMkADIxYjJiYgEzLTFmNjYALTRjYTMtODA1NC0wZDkxZGNmOTcxNTQALgAAA8RJzXYaLKZPlmn0ge0edZkBADa3qi2IMXRNg6RwQSHe_F8AAAIBDgAAAA==" diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderChildFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderChildFolder.md index 40b12df6671..da7f5bd83f7 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderChildFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderChildFolder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ DisplayName = "Family" diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderContact.md index 6708559bdc9..ebfcacef34a 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderContact.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ ParentFolderId = "parentFolderId-value" diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContact.md index e076f8a8289..3e8b3ca1804 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContact.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Remove-MgUserContact -UserId $userId -ContactId $contactId diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContactFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContactFolder.md index 148d3205dc8..af28c84d221 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContactFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContactFolder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Remove-MgUserContactFolder -UserId $userId -ContactFolderId $contactFolderId diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContact.md index 3ab70f92d82..0b9480b25fb 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContact.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ HomeAddress = @{ diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContactFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContactFolder.md index 3eef6f035de..19e76238c5b 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContactFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContactFolder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ ParentFolderId = "parentFolderId-value" diff --git a/src/Planner/Planner/examples/v1.0/Get-MgGroupPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Get-MgGroupPlannerPlan.md index a98ed179ad1..22dd6e3d15b 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgGroupPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgGroupPlannerPlan.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Get-MgGroupPlannerPlan -GroupId $groupId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlanner.md b/src/Planner/Planner/examples/v1.0/Get-MgPlanner.md index 0224144bd8b..713ee09ed31 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlanner.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlanner.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Get-MgPlanner ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucket.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucket.md index dc477fd5cdf..53660263266 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucket.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucket.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerBucket ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerBucket -PlannerBucketId $plannerBucketId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucketTask.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucketTask.md index 1c663f51123..982a483bdaa 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucketTask.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucketTask.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerBucketTask -PlannerBucketId $plannerBucketId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlan.md index 9991c60b5d7..c9b54db0db3 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlan.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerPlan -PlannerPlanId $plannerPlanId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerPlan ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanBucket.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanBucket.md index 49bec75952a..1a3b8da4e1f 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanBucket.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanBucket.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerPlanBucket -PlannerPlanId $plannerPlanId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanDetail.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanDetail.md index 210e561949e..fffbbfc3237 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanDetail.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanDetail.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerPlanDetail -PlannerPlanId $plannerPlanId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanTask.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanTask.md index 18f430d8011..3b9f65432bc 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanTask.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanTask.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerPlanTask -PlannerPlanId $plannerPlanId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTask.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTask.md index 8c096d04310..0a1a591f7b9 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTask.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTask -PlannerTaskId $plannerTaskId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTask ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskAssignedToTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskAssignedToTaskBoardFormat.md index 68df60e31af..d2ea0ebcf04 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskAssignedToTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskAssignedToTaskBoardFormat.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTaskAssignedToTaskBoardFormat -PlannerTaskId $plannerTaskId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskBucketTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskBucketTaskBoardFormat.md index e0d88d31403..ea7a4414202 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskBucketTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskBucketTaskBoardFormat.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTaskBucketTaskBoardFormat -PlannerTaskId $plannerTaskId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskDetail.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskDetail.md index eeddf87decd..36d4e1300d4 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskDetail.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskDetail.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTaskDetail -PlannerTaskId $plannerTaskId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskProgressTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskProgressTaskBoardFormat.md index ec360648cee..73ee527ce92 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskProgressTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskProgressTaskBoardFormat.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTaskProgressTaskBoardFormat -PlannerTaskId $plannerTaskId ``` diff --git a/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerPlan.md index fc97294181e..593d898cf9e 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerPlan.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner # A UPN can also be used as -UserId. Get-MgUserPlannerPlan -UserId $userId diff --git a/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerTask.md b/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerTask.md index 6a3808d068c..66e8fdf6400 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerTask.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner # A UPN can also be used as -UserId. Get-MgUserPlannerTask -UserId $userId diff --git a/src/Planner/Planner/examples/v1.0/New-MgPlannerBucket.md b/src/Planner/Planner/examples/v1.0/New-MgPlannerBucket.md index 05dda00a05c..ab2eabd4283 100644 --- a/src/Planner/Planner/examples/v1.0/New-MgPlannerBucket.md +++ b/src/Planner/Planner/examples/v1.0/New-MgPlannerBucket.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner $params = @{ Name = "Advertising" diff --git a/src/Planner/Planner/examples/v1.0/New-MgPlannerPlan.md b/src/Planner/Planner/examples/v1.0/New-MgPlannerPlan.md index 52cbacaed2a..3a20581ad83 100644 --- a/src/Planner/Planner/examples/v1.0/New-MgPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/New-MgPlannerPlan.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner $params = @{ Owner = "ebf3b108-5234-4e22-b93d-656d7dae5874" diff --git a/src/Planner/Planner/examples/v1.0/New-MgPlannerTask.md b/src/Planner/Planner/examples/v1.0/New-MgPlannerTask.md index 69c062bade2..881cc621916 100644 --- a/src/Planner/Planner/examples/v1.0/New-MgPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/New-MgPlannerTask.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner $params = @{ PlanId = "xqQg5FS2LkCp935s-FIFm2QAFkHM" diff --git a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerBucket.md b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerBucket.md index 97060b273a3..cefe18482ae 100644 --- a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerBucket.md +++ b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerBucket.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Remove-MgPlannerBucket -PlannerBucketId $plannerBucketId-If-Match W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc=" ``` diff --git a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerPlan.md index 8948cabd2c0..0c78ca23263 100644 --- a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerPlan.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Remove-MgPlannerPlan -PlannerPlanId $plannerPlanId-If-Match W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc=" ``` diff --git a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerTask.md b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerTask.md index 1ec81169e97..c8c6064fddc 100644 --- a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerTask.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner Remove-MgPlannerTask -PlannerTaskId $plannerTaskId-If-Match W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc=" ``` diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerBucket.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerBucket.md index e0ff0844663..4cdc762db8c 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerBucket.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerBucket.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner $params = @{ Name = "Development" diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlan.md index 597926d6514..5eb99c5578c 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlan.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner $params = @{ Title = "title-value" diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlanDetail.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlanDetail.md index 68f7fb0b5b0..83e46acfe38 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlanDetail.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlanDetail.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner $params = @{ SharedWith = @{ diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTask.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTask.md index 52af9c33d08..19d5f5975cd 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTask.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner $params = @{ Assignments = @{ diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskAssignedToTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskAssignedToTaskBoardFormat.md index 4c0b8c88fd7..5c40826904a 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskAssignedToTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskAssignedToTaskBoardFormat.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner $params = @{ OrderHintsByAssignee = @{ diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskBucketTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskBucketTaskBoardFormat.md index c948a794933..dd7237a1ffa 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskBucketTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskBucketTaskBoardFormat.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner $params = @{ OrderHint = "A6673H Ejkl!" diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskDetail.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskDetail.md index c60c06865fc..0b46afa4008 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskDetail.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskDetail.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner $params = @{ PreviewType = "noPreview" diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskProgressTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskProgressTaskBoardFormat.md index c7a1b6d051a..6c347812d4a 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskProgressTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskProgressTaskBoardFormat.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Planner $params = @{ OrderHint = "A6673H Ejkl!" diff --git a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogDirectoryAudit.md b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogDirectoryAudit.md index a53cd9d1933..0d8bd19e69b 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogDirectoryAudit.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogDirectoryAudit.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogDirectoryAudit -DirectoryAuditId $directoryAuditId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogDirectoryAudit ``` diff --git a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogProvisioning.md b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogProvisioning.md index 1b5ab113835..520dd00faeb 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogProvisioning.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogProvisioning.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogProvisioning ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogProvisioning ``` diff --git a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogSignIn.md b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogSignIn.md index 6e6b9956758..751b8f46b16 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogSignIn.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogSignIn.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogSignIn -SignInId $signInId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogSignIn -Filter "startsWith(appDisplayName,'Graph')" -Top 10 ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogSignIn ``` diff --git a/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByPrinter.md b/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByPrinter.md index c714d49e802..c5ba5fa586d 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByPrinter.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByPrinter.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Reports Get-MgReportDailyPrintUsageByPrinter -PrintUsageByPrinterId $printUsageByPrinterId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Reports Get-MgReportDailyPrintUsageByPrinter ``` diff --git a/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByUser.md b/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByUser.md index 2c915071165..0ae385cc5f1 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByUser.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByUser.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Reports Get-MgReportDailyPrintUsageByUser -PrintUsageByUserId $printUsageByUserId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Reports Get-MgReportDailyPrintUsageByUser ``` diff --git a/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByPrinter.md b/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByPrinter.md index c5af1250780..f19f605f27c 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByPrinter.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByPrinter.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Reports Get-MgReportMonthlyPrintUsageByPrinter ``` diff --git a/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByUser.md b/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByUser.md index cd453d38d30..2e4165d3f4d 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByUser.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByUser.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Reports Get-MgReportMonthlyPrintUsageByUser ``` diff --git a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Get-MgSchemaExtension.md b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Get-MgSchemaExtension.md index 1afdcdca6e2..60e80f05d4b 100644 --- a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Get-MgSchemaExtension.md +++ b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Get-MgSchemaExtension.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.SchemaExtensions Get-MgSchemaExtension -SchemaExtensionId $schemaExtensionId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.SchemaExtensions Get-MgSchemaExtension -Filter "id eq 'graphlearn_test'" ``` diff --git a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/New-MgSchemaExtension.md b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/New-MgSchemaExtension.md index 621712f6793..8ee08f44815 100644 --- a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/New-MgSchemaExtension.md +++ b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/New-MgSchemaExtension.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.SchemaExtensions $params = @{ Id = "graphlearn_courses" @@ -25,7 +25,7 @@ $params = @{ New-MgSchemaExtension -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.SchemaExtensions $params = @{ Id = "courses" @@ -51,7 +51,7 @@ $params = @{ New-MgSchemaExtension -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.SchemaExtensions $params = @{ Id = "courses" diff --git a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Remove-MgSchemaExtension.md b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Remove-MgSchemaExtension.md index 06490fe5694..78b5b2dbd2f 100644 --- a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Remove-MgSchemaExtension.md +++ b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Remove-MgSchemaExtension.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.SchemaExtensions Remove-MgSchemaExtension -SchemaExtensionId $schemaExtensionId ``` diff --git a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Update-MgSchemaExtension.md b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Update-MgSchemaExtension.md index 50a5c2a5368..f78257ff2dc 100644 --- a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Update-MgSchemaExtension.md +++ b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Update-MgSchemaExtension.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.SchemaExtensions $params = @{ Owner = "ef4cb9a8-97c3-4ca7-854b-5cb5ced376fa" @@ -25,7 +25,7 @@ $params = @{ Update-MgSchemaExtension -SchemaExtensionId $schemaExtensionId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.SchemaExtensions $params = @{ Owner = "ef4cb9a8-97c3-4ca7-854b-5cb5ced376fa" diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnection.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnection.md index a51608ad906..b90e294d292 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnection.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnection.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnection -ExternalConnectionId $externalConnectionId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnection ``` diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionGroup.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionGroup.md index 33ea6a98318..625d0f8fa88 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionGroup.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnectionGroup -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId ``` diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionItem.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionItem.md index c195949ded4..ccab4044713 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionItem.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionItem.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnectionItem -ExternalConnectionId $externalConnectionId -ExternalItemId $externalItemId ``` diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionOperation.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionOperation.md index 69162ecb857..0ea7547c811 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionOperation.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionOperation.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnectionOperation -ExternalConnectionId $externalConnectionId -ConnectionOperationId $connectionOperationId ``` diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionSchema.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionSchema.md index 909a7715aec..e09659af1e8 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionSchema.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionSchema.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnectionSchema -ExternalConnectionId $externalConnectionId ``` diff --git a/src/Search/Search/examples/v1.0/New-MgExternalConnection.md b/src/Search/Search/examples/v1.0/New-MgExternalConnection.md index 6419a6cb0de..773972673ed 100644 --- a/src/Search/Search/examples/v1.0/New-MgExternalConnection.md +++ b/src/Search/Search/examples/v1.0/New-MgExternalConnection.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Search $params = @{ Id = "contosohr" diff --git a/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroup.md b/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroup.md index 75653ab7f39..3ce20940f54 100644 --- a/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroup.md +++ b/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Search $params = @{ Id = "31bea3d537902000" diff --git a/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroupMember.md b/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroupMember.md index a55dda2589c..34d560a9d10 100644 --- a/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroupMember.md +++ b/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroupMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Search $params = @{ Id = "e5477431-1038-484e-bf69-1dfedb97a110" @@ -8,7 +8,7 @@ $params = @{ New-MgExternalConnectionGroupMember -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Search $params = @{ Id = "e811976d-83df-4cbd-8b9b-5215b18aa874" @@ -17,7 +17,7 @@ $params = @{ New-MgExternalConnectionGroupMember -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Search $params = @{ Id = "1431b9c38ee647f6a" diff --git a/src/Search/Search/examples/v1.0/Remove-MgExternalConnection.md b/src/Search/Search/examples/v1.0/Remove-MgExternalConnection.md index 61fa06bfc6c..37f49c496c1 100644 --- a/src/Search/Search/examples/v1.0/Remove-MgExternalConnection.md +++ b/src/Search/Search/examples/v1.0/Remove-MgExternalConnection.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Search Remove-MgExternalConnection -ExternalConnectionId $externalConnectionId ``` diff --git a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroup.md b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroup.md index 76118170771..ae271f9df9c 100644 --- a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroup.md +++ b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Search Remove-MgExternalConnectionGroup -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId ``` diff --git a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroupMember.md b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroupMember.md index e041359f8ed..f13eb1f9f5c 100644 --- a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroupMember.md +++ b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroupMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Search Remove-MgExternalConnectionGroupMember -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId -IdentityId $identityId ``` diff --git a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionItem.md b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionItem.md index f2502bd9870..82927357365 100644 --- a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionItem.md +++ b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionItem.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Search Remove-MgExternalConnectionItem -ExternalConnectionId $externalConnectionId -ExternalItemId $externalItemId ``` diff --git a/src/Search/Search/examples/v1.0/Update-MgExternalConnection.md b/src/Search/Search/examples/v1.0/Update-MgExternalConnection.md index 4a3629d755e..3e7058af164 100644 --- a/src/Search/Search/examples/v1.0/Update-MgExternalConnection.md +++ b/src/Search/Search/examples/v1.0/Update-MgExternalConnection.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Search $params = @{ Name = "Contoso HR Service Tickets" diff --git a/src/Search/Search/examples/v1.0/Update-MgExternalConnectionGroup.md b/src/Search/Search/examples/v1.0/Update-MgExternalConnectionGroup.md index 71badded947..bd8144399e6 100644 --- a/src/Search/Search/examples/v1.0/Update-MgExternalConnectionGroup.md +++ b/src/Search/Search/examples/v1.0/Update-MgExternalConnectionGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Search $params = @{ DisplayName = "Contoso Marketing" diff --git a/src/Search/Search/examples/v1.0/Update-MgExternalConnectionItem.md b/src/Search/Search/examples/v1.0/Update-MgExternalConnectionItem.md index bfa6c384583..40c0b3e507b 100644 --- a/src/Search/Search/examples/v1.0/Update-MgExternalConnectionItem.md +++ b/src/Search/Search/examples/v1.0/Update-MgExternalConnectionItem.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Search $params = @{ Acl = @( diff --git a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseCustodianHold.md b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseCustodianHold.md index 2b9cf3c16b4..80f0412d3a3 100644 --- a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseCustodianHold.md +++ b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseCustodianHold.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Add-MgSecurityCaseEdiscoveryCaseCustodianHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Add-MgSecurityCaseEdiscoveryCaseCustodianHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md index e18c297e3b5..2e0e8a94c9d 100644 --- a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md +++ b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` diff --git a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag.md b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag.md index c2c5a48a8d2..f3b521541a3 100644 --- a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag.md +++ b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ TagsToAdd = @( diff --git a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md index 3b0f8418e84..b1594a89319 100644 --- a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md +++ b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ Search = @{ diff --git a/src/Security/Security/examples/v1.0/Close-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Close-MgSecurityCaseEdiscoveryCase.md index 70f0a257c93..35c20a1cc76 100644 --- a/src/Security/Security/examples/v1.0/Close-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Close-MgSecurityCaseEdiscoveryCase.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Close-MgSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityAlert.md b/src/Security/Security/examples/v1.0/Get-MgSecurityAlert.md index 099f86e789b..7979802a2e5 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityAlert.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityAlert.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityAlert -AlertId $alertId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityAlert ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCase.md index f5b0a884e22..5ecd041f14f 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCase.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCase ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodian.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodian.md index deb8bb0dc23..343af34d913 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodian.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodian.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation.md index 054d934fca5..c74e95bed6e 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md index f16924a66bd..d501e914189 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md index a55ad7e4a35..8cbd3cd8278 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource.md index 047ca92e68a..70df5202271 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md index b8b37734650..e6fd6468e29 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -ExpandProperty "dataSource" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -ExpandProperty "dataSource" -OutFile $outFileId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId -ExpandProperty "dataSource" ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseOperation.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseOperation.md index 0b6f069bccc..5f1d042bb65 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseOperation.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseOperation.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseOperation -EdiscoveryCaseId $ediscoveryCaseId -CaseOperationId $caseOperationId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseOperation -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSet.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSet.md index d8fc64a2e74..17345fdce02 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSet.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSet.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseReviewSet -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseReviewSet -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md index becf267f19f..87edebf3741 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -EdiscoveryReviewSetQueryId $ediscoveryReviewSetQueryId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearch.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearch.md index c330bc76b68..c768db77f31 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearch.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearch.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearch -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearch -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource.md index cf16513303c..b0e3f5ef54f 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -OutFile $outFileId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource.md index 799e222ba62..a94e0213dd2 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation.md index 469d82783c8..8ce9f1104e1 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource.md index 406f721fa84..16b3afebe91 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSetting.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSetting.md index 8c9b9df5a2e..09ea2e78c13 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSetting.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSetting.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSetting -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md index b614e74f7d4..248c476e687 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseTag -EdiscoveryCaseId $ediscoveryCaseId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseTag -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewTagId $ediscoveryReviewTagId ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScore.md b/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScore.md index 15f8c758ab3..cb976dd98d6 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScore.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScore.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecuritySecureScore -SecureScoreId $secureScoreId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecuritySecureScore -Top 1 ``` diff --git a/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScoreControlProfile.md b/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScoreControlProfile.md index 33965f940dc..e276a01647d 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScoreControlProfile.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScoreControlProfile.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecuritySecureScoreControlProfile -SecureScoreControlProfileId $secureScoreControlProfileId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Get-MgSecuritySecureScoreControlProfile ``` diff --git a/src/Security/Security/examples/v1.0/Initialize-MgSecurityCaseEdiscoveryCaseCustodian.md b/src/Security/Security/examples/v1.0/Initialize-MgSecurityCaseEdiscoveryCaseCustodian.md index e6d27df293b..ebec0a5f883 100644 --- a/src/Security/Security/examples/v1.0/Initialize-MgSecurityCaseEdiscoveryCaseCustodian.md +++ b/src/Security/Security/examples/v1.0/Initialize-MgSecurityCaseEdiscoveryCaseCustodian.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Initialize-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md b/src/Security/Security/examples/v1.0/Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md index 07e67503d62..f6c39fe3082 100644 --- a/src/Security/Security/examples/v1.0/Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md +++ b/src/Security/Security/examples/v1.0/Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md b/src/Security/Security/examples/v1.0/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md index 02e16aa28c4..afdbd2e8a29 100644 --- a/src/Security/Security/examples/v1.0/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md +++ b/src/Security/Security/examples/v1.0/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` diff --git a/src/Security/Security/examples/v1.0/Invoke-MgReopenSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Invoke-MgReopenSecurityCaseEdiscoveryCase.md index 64ef4525245..506b5c3e0aa 100644 --- a/src/Security/Security/examples/v1.0/Invoke-MgReopenSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Invoke-MgReopenSecurityCaseEdiscoveryCase.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Invoke-MgReopenSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCase.md index 3adb979e55f..934645f5060 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCase.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ DisplayName = "CONTOSO LITIGATION-005" diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodian.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodian.md index 7392ef693e7..472724e53ae 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodian.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodian.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ Email = "AdeleV@contoso.com" diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md index d7e83425c65..cdc95e04675 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ Site = @{ diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md index 65152c41329..84760272330 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ Group = @{ @@ -10,7 +10,7 @@ $params = @{ New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ "Group@odata.bind" = "https://graph.microsoft.com/v1.0/groups/93f90172-fe05-43ea-83cf-ff785a40d610" @@ -19,7 +19,7 @@ $params = @{ New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ "Group@odata.bind" = "https://graph.microsoft.com/v1.0/groups/93f90172-fe05-43ea-83cf-ff785a40d610" diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md index 57caf521d29..ea197bd1726 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ DataSource = @{ diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSet.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSet.md index 7a113a212cb..9bd5d77b904 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSet.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSet.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ DisplayName = "My review set 2" diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md index 4d651519dee..6f197291dbb 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ DisplayName = "My Query 1" diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseSearch.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseSearch.md index c9479cb7c43..70869fd2ec3 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseSearch.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseSearch.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ DisplayName = "My search 2" diff --git a/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseCustodian.md b/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseCustodian.md index 7c625fdf424..25e9b45b067 100644 --- a/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseCustodian.md +++ b/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseCustodian.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Publish-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md b/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md index 580fb2205b6..a1b12b8f6f2 100644 --- a/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md +++ b/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCase.md index 8edb867a084..659f0032058 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCase.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseCustodianHold.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseCustodianHold.md index 492a1bcdc2f..b0fdf8d7a81 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseCustodianHold.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseCustodianHold.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseCustodianHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md index 46eddab98c1..0e76320f500 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md index 472ede3153e..77c7e705bd7 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -EdiscoveryReviewSetQueryId $ediscoveryReviewSetQueryId ``` diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseSearch.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseSearch.md index 4829d3dcffd..50cf9a1395b 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseSearch.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseSearch.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseSearch -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseTag.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseTag.md index fe8fa3e369b..074fccd6bd9 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseTag.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseTag.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseTag -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewTagId $ediscoveryReviewTagId ``` diff --git a/src/Security/Security/examples/v1.0/Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault.md b/src/Security/Security/examples/v1.0/Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault.md index af1feb0fb9b..1c478ae6e80 100644 --- a/src/Security/Security/examples/v1.0/Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault.md +++ b/src/Security/Security/examples/v1.0/Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault -EdiscoveryCaseId $ediscoveryCaseId ``` diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityAlert.md b/src/Security/Security/examples/v1.0/Update-MgSecurityAlert.md index 37f6b1f6368..2109a359300 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityAlert.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityAlert.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ AssignedTo = "String" @@ -20,7 +20,7 @@ $params = @{ Update-MgSecurityAlert -AlertId $alertId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ AssignedTo = "String" diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCase.md index d1580828f14..2f0ee079c05 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCase.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ DisplayName = "My Case 1 - Renamed" diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseCustodianIndex.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseCustodianIndex.md index 77dccd9866f..8cd2a2128ba 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseCustodianIndex.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseCustodianIndex.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Update-MgSecurityCaseEdiscoveryCaseCustodianIndex -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md index 27bf9d0ed55..ceeb93964f4 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md index fd6a3fd5e5f..97797e02385 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ DisplayName = "My Query 1 (update)" diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSearch.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSearch.md index 404a5a57095..ffed2bb600b 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSearch.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSearch.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ DisplayName = "Teams search" diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSetting.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSetting.md index 8f657d1faed..1330208ecdd 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSetting.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSetting.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ "@odata.type" = "#microsoft.graph.security.ediscoveryCaseSettings" diff --git a/src/Security/Security/examples/v1.0/Update-MgSecuritySecureScoreControlProfile.md b/src/Security/Security/examples/v1.0/Update-MgSecuritySecureScoreControlProfile.md index 1c2b5715d53..f28b84b649f 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecuritySecureScoreControlProfile.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecuritySecureScoreControlProfile.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ AssignedTo = "" @@ -15,7 +15,7 @@ $params = @{ Update-MgSecuritySecureScoreControlProfile -SecureScoreControlProfileId $secureScoreControlProfileId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Security $params = @{ AssignedTo = "" diff --git a/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopy.md b/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopy.md index dbca81af84b..e6f18471a7f 100644 --- a/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopy.md +++ b/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopy.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ ContentType = "https://graph.microsoft.com/v1.0/sites/{site-id}/contentTypes/0x0101" diff --git a/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopyFromContentTypeHub.md b/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopyFromContentTypeHub.md index a6d507c2e65..8da14cad5f1 100644 --- a/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopyFromContentTypeHub.md +++ b/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopyFromContentTypeHub.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ ContentTypeId = "0x0101" @@ -7,7 +7,7 @@ $params = @{ Add-MgSiteListContentTypeCopyFromContentTypeHub -SiteId $siteId -ListId $listId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ ContentTypeId = "0x0101" @@ -15,7 +15,7 @@ $params = @{ Add-MgSiteListContentTypeCopyFromContentTypeHub -SiteId $siteId -ListId $listId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ ContentTypeId = "0x0101" diff --git a/src/Sites/Sites/examples/v1.0/Copy-MgSiteContentTypeToDefaultContentLocation.md b/src/Sites/Sites/examples/v1.0/Copy-MgSiteContentTypeToDefaultContentLocation.md index 522493abb38..9d4b217a7f8 100644 --- a/src/Sites/Sites/examples/v1.0/Copy-MgSiteContentTypeToDefaultContentLocation.md +++ b/src/Sites/Sites/examples/v1.0/Copy-MgSiteContentTypeToDefaultContentLocation.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ SourceFile = @{ diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSite.md b/src/Sites/Sites/examples/v1.0/Get-MgSite.md index 1fe9bc23960..ee8f4d58b71 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSite.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSite.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSite -SiteId $siteId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSite -Search "{query}" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSite -Search "{query}" -OutFile $outFileId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteColumn.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteColumn.md index 0a566e41e4f..a17bd6a1f66 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteColumn.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteColumn.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteColumn -SiteId $siteId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteContentType.md index b0548c7736c..ef9609d2181 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteContentType.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteContentType -SiteId $siteId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteContentType -SiteId $siteId -OutFile $outFileId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteContentTypeColumn.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteContentTypeColumn.md index ddf248f6ee3..cb4f69a0634 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteContentTypeColumn.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteContentTypeColumn.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteContentTypeColumn -SiteId $siteId -ContentTypeId $contentTypeId -ColumnDefinitionId $columnDefinitionId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteContentTypeColumn -SiteId $siteId -ContentTypeId $contentTypeId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteDefaultDrive.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteDefaultDrive.md index f43ecf68739..0654804431f 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteDefaultDrive.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteDefaultDrive.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteDefaultDrive -SiteId $siteId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md index 3d448ad9706..e7b543a2fd7 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteDrive -SiteId $siteId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteList.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteList.md index 480cf7ffaa1..391edae102f 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteList.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteList.md @@ -1,30 +1,30 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId -ListId $listId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId -ListId $listId ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId -ListId $listId -Property "id,name,lastModifiedDateTime" -ExpandProperty "columns(select=name,description),items)" ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId -ListId $listId ``` ### Example 6 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId -ListId $listId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListColumn.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListColumn.md index b01586ed665..d1a888522d4 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListColumn.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListColumn.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListColumn -SiteId $siteId -ListId $listId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentType.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentType.md index 8dd52485a92..049e2dbb4e5 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentType.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentType.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListContentType -SiteId $siteId -ListId $listId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentTypeCompatibleHubContentType.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentTypeCompatibleHubContentType.md index df08f56cada..6b87d0a1f4e 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentTypeCompatibleHubContentType.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentTypeCompatibleHubContentType.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListContentTypeCompatibleHubContentType -SiteId $siteId -ListId $listId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItem.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItem.md index 498cb5fcd07..d6ad319efdf 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItem.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItem.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListItem -SiteId $siteId -ListId $listId -ListItemId $listItemId -ExpandProperty "fields" ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemDocumentSetVersion.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemDocumentSetVersion.md index 8745b2e6916..bd81be791d5 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemDocumentSetVersion.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemDocumentSetVersion.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -DocumentSetVersionId $documentSetVersionId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemVersion.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemVersion.md index 0a88110d67b..322047f245e 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemVersion.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemVersion.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListItemVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListItemVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -ListItemVersionId $listItemVersionId -ExpandProperty "fields" ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSitePermission.md b/src/Sites/Sites/examples/v1.0/Get-MgSitePermission.md index 07f016fae21..c9b5794b762 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSitePermission.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSitePermission.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSitePermission -SiteId $siteId -PermissionId $permissionId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSitePermission -SiteId $siteId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStore.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStore.md index 584bb8a6b85..3ca2cad6442 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStore.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStore.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStore -SiteId $siteId -OutFile $outFileId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroup.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroup.md index 631f71241c9..f6caea29dff 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroup.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroup.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreGroup -SiteId $siteId -OutFile $outFileId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreGroup -SiteId $siteId -GroupId $groupId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreGroup -SiteId $siteId -GroupId $groupId -Property "*,parentSiteId" ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSet.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSet.md index a48437d4b96..3c6184a2210 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSet.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSet.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreGroupSet -SiteId $siteId -GroupId $groupId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSetTerm.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSetTerm.md index 0872e0a0eeb..01d37687d2d 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSetTerm.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSetTerm.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreGroupSetTerm -SiteId $siteId -GroupId $groupId -SetId $setId -TermId $termId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSet.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSet.md index 4119a85e788..d0de88d1c83 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSet.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSet.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreSet -SiteId $siteId -SetId $setId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetChild.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetChild.md index 35e12b1de64..a9b143956de 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetChild.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetChild.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreSetChild -SiteId $siteId -SetId $setId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetRelation.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetRelation.md index e45d6270493..5455fc896f1 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetRelation.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetRelation.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreSetRelation -SiteId $siteId -SetId $setId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSubSite.md b/src/Sites/Sites/examples/v1.0/Get-MgSubSite.md index 5d79d0b61bc..0dd3e4f140e 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSubSite.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSubSite.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Get-MgSubSite -SiteId $siteId ``` diff --git a/src/Sites/Sites/examples/v1.0/Get-MgUserFollowedSite.md b/src/Sites/Sites/examples/v1.0/Get-MgUserFollowedSite.md index a46e0825c32..ed0288099cf 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgUserFollowedSite.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgUserFollowedSite.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites # A UPN can also be used as -UserId. Get-MgUserFollowedSite -UserId $userId diff --git a/src/Sites/Sites/examples/v1.0/Join-MgSiteContentTypeWithHubSite.md b/src/Sites/Sites/examples/v1.0/Join-MgSiteContentTypeWithHubSite.md index 2cb29fae941..9970a30e971 100644 --- a/src/Sites/Sites/examples/v1.0/Join-MgSiteContentTypeWithHubSite.md +++ b/src/Sites/Sites/examples/v1.0/Join-MgSiteContentTypeWithHubSite.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ HubSiteUrls = @( diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteColumn.md b/src/Sites/Sites/examples/v1.0/New-MgSiteColumn.md index 173d58cbd6f..33ca4a7d6db 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteColumn.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteColumn.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ Description = "test" diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/New-MgSiteContentType.md index 817f191ee1c..852f77ebed5 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteContentType.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ Name = "docSet" diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteContentTypeColumn.md b/src/Sites/Sites/examples/v1.0/New-MgSiteContentTypeColumn.md index 853b9f57cb6..b98e1c3ed44 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteContentTypeColumn.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteContentTypeColumn.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ "SourceColumn@odata.bind" = "https://graph.microsoft.com/v1.0/sites/root/columns/99ddcf45-e2f7-4f17-82b0-6fba34445103" diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteList.md b/src/Sites/Sites/examples/v1.0/New-MgSiteList.md index 2ab69a16f53..3c5eb8e8994 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteList.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteList.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ DisplayName = "Books" diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteListColumn.md b/src/Sites/Sites/examples/v1.0/New-MgSiteListColumn.md index 0321438d88a..51ac572cbcc 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteListColumn.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteListColumn.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ Description = "test" diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteListItem.md b/src/Sites/Sites/examples/v1.0/New-MgSiteListItem.md index 3dfb6805baf..a71c08b328e 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteListItem.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteListItem.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ Fields = @{ diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteListItemDocumentSetVersion.md b/src/Sites/Sites/examples/v1.0/New-MgSiteListItemDocumentSetVersion.md index e39ff1b6152..f4aae23160b 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteListItemDocumentSetVersion.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteListItemDocumentSetVersion.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ Comment = "v1" diff --git a/src/Sites/Sites/examples/v1.0/New-MgSitePermission.md b/src/Sites/Sites/examples/v1.0/New-MgSitePermission.md index 6a0ba332377..b0b38cfe544 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSitePermission.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSitePermission.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ Roles = @( diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreGroup.md b/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreGroup.md index 10a9fed0bcf..8764bb73f19 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreGroup.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ DisplayName = "myGroup" diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreSetChild.md b/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreSetChild.md index c72edaddc4a..b75aaaf9706 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreSetChild.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreSetChild.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ Labels = @( diff --git a/src/Sites/Sites/examples/v1.0/Publish-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Publish-MgSiteContentType.md index 593afdd3460..fb99d209f40 100644 --- a/src/Sites/Sites/examples/v1.0/Publish-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Publish-MgSiteContentType.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Publish-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId ``` diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentType.md index 9c13eac286c..58dae877f0f 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentType.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId ``` diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentTypeColumn.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentTypeColumn.md index 6d0b71a4130..90575599bdc 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentTypeColumn.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentTypeColumn.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteContentTypeColumn -SiteId $siteId -ContentTypeId $contentTypeId -ColumnDefinitionId $columnDefinitionId ``` diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItem.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItem.md index 557b69c122f..a48246db81b 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItem.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItem.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteListItem -SiteId $siteId -ListId $listId -ListItemId $listItemId ``` diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItemDocumentSetVersion.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItemDocumentSetVersion.md index 24c1b5ee959..e828298f042 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItemDocumentSetVersion.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItemDocumentSetVersion.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -DocumentSetVersionId $documentSetVersionId ``` diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSitePermission.md b/src/Sites/Sites/examples/v1.0/Remove-MgSitePermission.md index 861aa2ebb78..8237c853d2e 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSitePermission.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSitePermission.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Remove-MgSitePermission -SiteId $siteId -PermissionId $permissionId ``` diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreGroup.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreGroup.md index 753ab023046..cdeb5b84cc3 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreGroup.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteTermStoreGroup -SiteId $siteId -GroupId $groupId ``` diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSet.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSet.md index 1c794218884..834560cfc11 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSet.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSet.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteTermStoreSet -SiteId $siteId -SetId $setId ``` diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSetTerm.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSetTerm.md index 41d429a7e4a..d2758014626 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSetTerm.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSetTerm.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteTermStoreSetTerm -SiteId $siteId -SetId $setId -TermId $termId ``` diff --git a/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemDocumentSetVersion.md b/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemDocumentSetVersion.md index 10ecb11b1d6..a9567d5a88c 100644 --- a/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemDocumentSetVersion.md +++ b/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemDocumentSetVersion.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Restore-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -DocumentSetVersionId $documentSetVersionId ``` diff --git a/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemVersion.md b/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemVersion.md index 776aebbbbb2..d25d115e09c 100644 --- a/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemVersion.md +++ b/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemVersion.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Restore-MgSiteListItemVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -ListItemVersionId $listItemVersionId ``` diff --git a/src/Sites/Sites/examples/v1.0/Test-MgSiteContentTypePublished.md b/src/Sites/Sites/examples/v1.0/Test-MgSiteContentTypePublished.md index acb06e5249f..02fb6eb74be 100644 --- a/src/Sites/Sites/examples/v1.0/Test-MgSiteContentTypePublished.md +++ b/src/Sites/Sites/examples/v1.0/Test-MgSiteContentTypePublished.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Test-MgSiteContentTypePublished -SiteId $siteId -ContentTypeId $contentTypeId ``` diff --git a/src/Sites/Sites/examples/v1.0/Unpublish-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Unpublish-MgSiteContentType.md index 471602b1cb5..83823f2624b 100644 --- a/src/Sites/Sites/examples/v1.0/Unpublish-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Unpublish-MgSiteContentType.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites Unpublish-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId ``` diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteContentType.md index 91f9654eb1f..f14246f1e6b 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteContentType.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ Name = "updatedCt" diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteListItemField.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteListItemField.md index 12cf2c4261b..08b53978506 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteListItemField.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteListItemField.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ Color = "Fuchsia" diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSitePermission.md b/src/Sites/Sites/examples/v1.0/Update-MgSitePermission.md index 22f8cddc7c7..38a6a74faaf 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSitePermission.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSitePermission.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ Roles = @( diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStore.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStore.md index 2184fff05b9..2534822bad4 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStore.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStore.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ DefaultLanguageTag = "en-US" diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSet.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSet.md index 9d4827ea692..7c55fc957d6 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSet.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSet.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ Description = "mySet" diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSetTerm.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSetTerm.md index 07de568b808..a24bf1a070c 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSetTerm.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSetTerm.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Sites $params = @{ Labels = @( diff --git a/src/Teams/Teams/examples/v1.0/Add-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/Add-MgTeamMember.md index cd51055899b..c894bbb7dfc 100644 --- a/src/Teams/Teams/examples/v1.0/Add-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/Add-MgTeamMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Values = @( @@ -21,7 +21,7 @@ $params = @{ Add-MgTeamMember -TeamId $teamId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Values = @( @@ -43,7 +43,7 @@ $params = @{ Add-MgTeamMember -TeamId $teamId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Values = @( diff --git a/src/Teams/Teams/examples/v1.0/Complete-MgTeamChannelMigration.md b/src/Teams/Teams/examples/v1.0/Complete-MgTeamChannelMigration.md index bcefc811e24..14d597f233e 100644 --- a/src/Teams/Teams/examples/v1.0/Complete-MgTeamChannelMigration.md +++ b/src/Teams/Teams/examples/v1.0/Complete-MgTeamChannelMigration.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Complete-MgTeamChannelMigration -TeamId $teamId -ChannelId $channelId ``` diff --git a/src/Teams/Teams/examples/v1.0/Complete-MgTeamMigration.md b/src/Teams/Teams/examples/v1.0/Complete-MgTeamMigration.md index e50d9cbc1f0..3d4dfa65392 100644 --- a/src/Teams/Teams/examples/v1.0/Complete-MgTeamMigration.md +++ b/src/Teams/Teams/examples/v1.0/Complete-MgTeamMigration.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Complete-MgTeamMigration -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Copy-MgTeam.md b/src/Teams/Teams/examples/v1.0/Copy-MgTeam.md index 2040b5c8856..e82ffd5ce73 100644 --- a/src/Teams/Teams/examples/v1.0/Copy-MgTeam.md +++ b/src/Teams/Teams/examples/v1.0/Copy-MgTeam.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "Library Assist" diff --git a/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamApp.md b/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamApp.md index 2daae47c931..636e96fb1ee 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamApp.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamApp.md @@ -1,25 +1,25 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamApp -Filter "externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee'" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamApp -Filter "id eq 'b1c5353a-7aca-41b3-830f-27d5218fe0e5'" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamApp -ExpandProperty "appDefinitions(`$expand=bot)" -Filter "appDefinitions/any(a:a/bot ne null)" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamApp -Filter "id eq '876df28f-2e78-423b-94a5-44181bd0e225'" -ExpandProperty "appDefinitions" ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamApp -Filter "distributionMethod eq 'organization'" ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md b/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md index b2a34536926..8204be87855 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamAppDefinitionBot -TeamsAppId $teamsAppId -TeamsAppDefinitionId $teamsAppDefinitionId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChat.md b/src/Teams/Teams/examples/v1.0/Get-MgChat.md index cdb8049d07d..224f490b31b 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChat.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChat.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChat -ChatId $chatId -ExpandProperty "members" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChat -ChatId $chatId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChat -ChatId $chatId ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChat -Sort "lastMessagePreview/createdDateTime desc" ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatInstalledApp.md b/src/Teams/Teams/examples/v1.0/Get-MgChatInstalledApp.md index 56fe7e6b87c..9d3acb0468c 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatInstalledApp.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChatInstalledApp -ChatId $chatId -TeamsAppInstallationId $teamsAppInstallationId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChatInstalledApp -ChatId $chatId -ExpandProperty "teamsApp,teamsAppDefinition" -Filter "teamsApp/externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee'" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChatInstalledApp -ChatId $chatId -ExpandProperty "teamsAppDefinition(`$expand=bot)" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChatInstalledApp -ChatId $chatId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatMember.md b/src/Teams/Teams/examples/v1.0/Get-MgChatMember.md index c65a5af5d8c..596d37ffca6 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatMember.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChatMember -ChatId $chatId -ConversationMemberId $conversationMemberId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChatMember -ChatId $chatId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatMessage.md b/src/Teams/Teams/examples/v1.0/Get-MgChatMessage.md index 8f034a85a5b..2235cf0358f 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatMessage.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatMessage.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChatMessage -ChatId $chatId -Top 2 ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChatMessage -ChatId $chatId -ChatMessageId $chatMessageId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatMessageHostedContent.md b/src/Teams/Teams/examples/v1.0/Get-MgChatMessageHostedContent.md index 505ad86b3d6..ad4da7dfae5 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatMessageHostedContent.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatMessageHostedContent.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChatMessageHostedContent -ChatId $chatId -ChatMessageId $chatMessageId -ChatMessageHostedContentId $chatMessageHostedContentId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChatMessageHostedContent -ChatId $chatId -ChatMessageId $chatMessageId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatTab.md b/src/Teams/Teams/examples/v1.0/Get-MgChatTab.md index 9b30fced93e..6b703caf613 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatTab.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatTab.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChatTab -ChatId $chatId -TeamsTabId $teamsTabId -ExpandProperty "teamsApp" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChatTab -ChatId $chatId -ExpandProperty "teamsApp" -Filter "teamsApp/id eq 'com.microsoft.teamspace.tab.web'" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgChatTab -ChatId $chatId -ExpandProperty "teamsApp" ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeam.md b/src/Teams/Teams/examples/v1.0/Get-MgTeam.md index 7afe9e4141d..6a46c254303 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeam.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeam.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeam -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannel.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannel.md index 0477f565852..515d3a90af6 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannel.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannel.md @@ -1,25 +1,25 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannel -TeamId $teamId -ChannelId $channelId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannel -TeamId $teamId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannel -TeamId $teamId -Filter "membershipType eq 'shared'" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannel -TeamId $teamId ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannel -TeamId $teamId -Filter "membershipType eq 'private'" ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelFileFolder.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelFileFolder.md index a56ea7f6076..ebf2742c62c 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelFileFolder.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelFileFolder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelFileFolder -TeamId $teamId -ChannelId $channelId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMember.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMember.md index 890c0325656..72a3f7895f4 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMember.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -ConversationMemberId $conversationMemberId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessage.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessage.md index 1ce3e304d5b..45a0cf19b49 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessage.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessage.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessage -TeamId $teamId -Filter "lastModifiedDateTime gt 2019-11-01T00:00:00Z and lastModifiedDateTime lt 2021-11-01T00:00:00Z" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -Top 3 ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageHostedContent.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageHostedContent.md index 9a1d51f12ea..1c09ea30037 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageHostedContent.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageHostedContent.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessageHostedContent -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReply.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReply.md index c8f912f1e64..1a321041f1c 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReply.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReply.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessageReply -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReplyHostedContent.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReplyHostedContent.md index a4a234fe1b9..4216f0efa5a 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReplyHostedContent.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReplyHostedContent.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessageReplyHostedContent -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId -ChatMessageId1 $chatMessageId1 ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeam.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeam.md index a79a0709590..16ff399c184 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeam.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeam.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelSharedWithTeam -TeamId $teamId -ChannelId $channelId -SharedWithChannelTeamInfoId $sharedWithChannelTeamInfoId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelSharedWithTeam -TeamId $teamId -ChannelId $channelId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeamAllowedMember.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeamAllowedMember.md index 749b9153755..86cea2237ad 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeamAllowedMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeamAllowedMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelSharedWithTeamAllowedMember -TeamId $teamId -ChannelId $channelId -SharedWithChannelTeamInfoId $sharedWithChannelTeamInfoId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelTab.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelTab.md index 7b4c38e2430..86dd415be27 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelTab.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelTab.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelTab -TeamId $teamId -ChannelId $channelId -ExpandProperty "teamsApp" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelTab -TeamId $teamId -ChannelId $channelId -ExpandProperty "teamsApp" -Filter "teamsApp/id eq 'com.microsoft.teamspace.tab.planner'" ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamIncomingChannel.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamIncomingChannel.md index cfc6c74b288..e937bd7a8c0 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamIncomingChannel.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamIncomingChannel.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamIncomingChannel -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamInstalledApp.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamInstalledApp.md index 483194f6b7c..60a66535301 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamInstalledApp.md @@ -1,25 +1,25 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId -ExpandProperty "teamsAppDefinition" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamInstalledApp -TeamId $teamId -ExpandProperty "teamsApp,teamsAppDefinition" -Filter "teamsApp/externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee'" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamInstalledApp -TeamId $teamId ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamInstalledApp -TeamId $teamId -ExpandProperty "teamsAppDefinition" ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamMember.md index ae0b6af428a..3e4f36fe5a3 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamMember.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamMember -TeamId $teamId -Filter "(microsoft.graph.aadUserConversationMember/userId eq '73761f06-2ac9-469c-9f10-279a8cc267f9')" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamMember -TeamId $teamId -Filter "(microsoft.graph.aadUserConversationMember/displayName eq 'Harry Johnson' or microsoft.graph.aadUserConversationMember/email eq 'admin@M365x987948.OnMicrosoft.com')" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamMember -TeamId $teamId ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamMember -TeamId $teamId -ConversationMemberId $conversationMemberId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamPrimaryChannel.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamPrimaryChannel.md index 00abb3de8a2..94f10c1f613 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamPrimaryChannel.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamPrimaryChannel.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamPrimaryChannel -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamSchedule.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamSchedule.md index ec060b74d9c..e39cb38c0cf 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamSchedule.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamSchedule.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamSchedule -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOfferShiftRequest.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOfferShiftRequest.md index c37958adfa4..826e3264d5b 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOfferShiftRequest.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOfferShiftRequest.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOfferShiftRequest -TeamId $teamId -OfferShiftRequestId $offerShiftRequestId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOfferShiftRequest -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShift.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShift.md index 9d978906033..2ecda0c9907 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShift.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShift.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOpenShift -TeamId $teamId -OpenShiftId $openShiftId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOpenShift -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShiftChangeRequest.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShiftChangeRequest.md index 239575001c8..18e2c3ec7cc 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShiftChangeRequest.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShiftChangeRequest.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOpenShiftChangeRequest -TeamId $teamId -OpenShiftChangeRequestId $openShiftChangeRequestId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOpenShiftChangeRequest -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSchedulingGroup.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSchedulingGroup.md index f68f790047d..bf938150534 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSchedulingGroup.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSchedulingGroup.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleSchedulingGroup -TeamId $teamId -SchedulingGroupId $schedulingGroupId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleSchedulingGroup -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleShift.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleShift.md index 310d1bb1ebb..6720124ebe6 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleShift.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleShift.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleShift -TeamId $teamId -Filter "sharedShift/startDateTime ge 2019-03-11T00:00:00.000Z and sharedShift/endDateTime le 2019-03-18T00:00:00.000Z and draftShift/startDateTime ge 2019-03-11T00:00:00.000Z and draftShift/endDateTime le 2019-03-18T00:00:00.000Z" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleShift -TeamId $teamId -ShiftId $shiftId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSwapShiftChangeRequest.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSwapShiftChangeRequest.md index 391ccae112c..e7524240e7d 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSwapShiftChangeRequest.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSwapShiftChangeRequest.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleSwapShiftChangeRequest -TeamId $teamId -SwapShiftsChangeRequestId $swapShiftsChangeRequestId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleSwapShiftChangeRequest -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOff.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOff.md index a70bf8e2e54..d16792722ba 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOff.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOff.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOff -TeamId $teamId -Filter "sharedTimeOff/startDateTime ge 2019-03-11T00:00:00.000Z and sharedTimeOff/endDateTime le 2019-03-18T00:00:00.000Z and draftTimeOff/startDateTime ge 2019-03-11T00:00:00.000Z and draftTimeOff/endDateTime le 2019-03-18T00:00:00.000Z" ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOff -TeamId $teamId -TimeOffId $timeOffId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffReason.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffReason.md index e345150417e..926fff8446b 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffReason.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffReason.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOffReason -TeamId $teamId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOffReason -TeamId $teamId -TimeOffReasonId $timeOffReasonId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffRequest.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffRequest.md index ad8f6daaa4f..c14a7b7d261 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffRequest.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffRequest.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOffRequest -TeamId $teamId -TimeOffRequestId $timeOffRequestId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOffRequest -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamworkWorkforceIntegration.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamworkWorkforceIntegration.md index d1dccc6f0f1..fd602c8b0d7 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamworkWorkforceIntegration.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamworkWorkforceIntegration.md @@ -1,10 +1,10 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamworkWorkforceIntegration -WorkforceIntegrationId $workforceIntegrationId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamworkWorkforceIntegration ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserChat.md b/src/Teams/Teams/examples/v1.0/Get-MgUserChat.md index f3d1672147f..e74a7ea5b21 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserChat.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserChat.md @@ -1,15 +1,15 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgUserChat -UserId $userId -ChatId $chatId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgUserChat -UserId $userId -ExpandProperty "members" ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgUserChat -UserId $userId ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserChatMember.md b/src/Teams/Teams/examples/v1.0/Get-MgUserChatMember.md index 6a2547a35ec..d30629ea6e1 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserChatMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserChatMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams # A UPN can also be used as -UserId. Get-MgUserChatMember -UserId $userId -ChatId $chatId diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserJoinedTeam.md b/src/Teams/Teams/examples/v1.0/Get-MgUserJoinedTeam.md index 8be81793df0..bba9a39e5e3 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserJoinedTeam.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserJoinedTeam.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams # A UPN can also be used as -UserId. Get-MgUserJoinedTeam -UserId $userId diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkAssociatedTeam.md b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkAssociatedTeam.md index e68cfda9923..789388e4865 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkAssociatedTeam.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkAssociatedTeam.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams # A UPN can also be used as -UserId. Get-MgUserTeamworkAssociatedTeam -UserId $userId diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledApp.md b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledApp.md index 118a9a3db3c..f4dbef07d90 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledApp.md @@ -1,20 +1,20 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgUserTeamworkInstalledApp -UserId $userId -UserScopeTeamsAppInstallationId $userScopeTeamsAppInstallationId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgUserTeamworkInstalledApp -UserId $userId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgUserTeamworkInstalledApp -UserId $userId -ExpandProperty "teamsApp,teamsAppDefinition" -Filter "teamsApp/externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee'" ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgUserTeamworkInstalledApp -UserId $userId -ExpandProperty "teamsAppDefinition" ``` diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledAppChat.md b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledAppChat.md index 4f44f7c31ee..e99adebaa13 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledAppChat.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledAppChat.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Get-MgUserTeamworkInstalledAppChat -UserId $userId -UserScopeTeamsAppInstallationId $userScopeTeamsAppInstallationId ``` diff --git a/src/Teams/Teams/examples/v1.0/Invoke-MgArchiveTeam.md b/src/Teams/Teams/examples/v1.0/Invoke-MgArchiveTeam.md index 621f47573e4..2f56f2c71d5 100644 --- a/src/Teams/Teams/examples/v1.0/Invoke-MgArchiveTeam.md +++ b/src/Teams/Teams/examples/v1.0/Invoke-MgArchiveTeam.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Invoke-MgArchiveTeam -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/Invoke-MgShareTeamSchedule.md b/src/Teams/Teams/examples/v1.0/Invoke-MgShareTeamSchedule.md index 7f53d7d007a..8ca39474385 100644 --- a/src/Teams/Teams/examples/v1.0/Invoke-MgShareTeamSchedule.md +++ b/src/Teams/Teams/examples/v1.0/Invoke-MgShareTeamSchedule.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ NotifyTeam = $true diff --git a/src/Teams/Teams/examples/v1.0/Invoke-MgUnarchiveTeam.md b/src/Teams/Teams/examples/v1.0/Invoke-MgUnarchiveTeam.md index a03a15a3379..12e8a20d0ce 100644 --- a/src/Teams/Teams/examples/v1.0/Invoke-MgUnarchiveTeam.md +++ b/src/Teams/Teams/examples/v1.0/Invoke-MgUnarchiveTeam.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Invoke-MgUnarchiveTeam -TeamId $teamId ``` diff --git a/src/Teams/Teams/examples/v1.0/New-MgAppCatalogTeamApp.md b/src/Teams/Teams/examples/v1.0/New-MgAppCatalogTeamApp.md index 1ca7b331983..775441c7106 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgAppCatalogTeamApp.md +++ b/src/Teams/Teams/examples/v1.0/New-MgAppCatalogTeamApp.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams New-MgAppCatalogTeamApp -Requiresreview true ``` diff --git a/src/Teams/Teams/examples/v1.0/New-MgChat.md b/src/Teams/Teams/examples/v1.0/New-MgChat.md index 6329b849aec..3758d8401f8 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChat.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChat.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ ChatType = "group" @@ -31,7 +31,7 @@ $params = @{ New-MgChat -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ ChatType = "group" @@ -63,7 +63,7 @@ $params = @{ New-MgChat -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ ChatType = "group" @@ -95,7 +95,7 @@ $params = @{ New-MgChat -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ ChatType = "oneOnOne" @@ -120,7 +120,7 @@ $params = @{ New-MgChat -BodyParameter $params ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ ChatType = "oneOnOne" @@ -144,7 +144,7 @@ $params = @{ New-MgChat -BodyParameter $params ``` ### Example 6 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ ChatType = "oneOnOne" diff --git a/src/Teams/Teams/examples/v1.0/New-MgChatInstalledApp.md b/src/Teams/Teams/examples/v1.0/New-MgChatInstalledApp.md index 8dfc3f0cc87..b9afd8cd676 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChatInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChatInstalledApp.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/12345678-9abc-def0-123456789a" diff --git a/src/Teams/Teams/examples/v1.0/New-MgChatMember.md b/src/Teams/Teams/examples/v1.0/New-MgChatMember.md index 34406359f10..49f70fe8c28 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChatMember.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChatMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -12,7 +12,7 @@ $params = @{ New-MgChatMember -ChatId $chatId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -25,7 +25,7 @@ $params = @{ New-MgChatMember -ChatId $chatId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -37,7 +37,7 @@ $params = @{ New-MgChatMember -ChatId $chatId -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" diff --git a/src/Teams/Teams/examples/v1.0/New-MgChatMessage.md b/src/Teams/Teams/examples/v1.0/New-MgChatMessage.md index 5b58a4fed82..e0119df695a 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChatMessage.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChatMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ @@ -21,7 +21,7 @@ $params = @{ New-MgChatMessage -ChatId $chatId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ diff --git a/src/Teams/Teams/examples/v1.0/New-MgChatTab.md b/src/Teams/Teams/examples/v1.0/New-MgChatTab.md index 070c9a7959b..4302937d1ad 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChatTab.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChatTab.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "My Contoso Tab" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeam.md b/src/Teams/Teams/examples/v1.0/New-MgTeam.md index 64bf12ac32f..74c57519553 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeam.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeam.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" @@ -33,7 +33,7 @@ $params = @{ New-MgTeam -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('educationClass')" @@ -43,7 +43,7 @@ $params = @{ New-MgTeam -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('educationClass')" @@ -78,7 +78,7 @@ $params = @{ New-MgTeam -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" @@ -87,7 +87,7 @@ $params = @{ New-MgTeam -BodyParameter $params ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" @@ -168,7 +168,7 @@ $params = @{ New-MgTeam -BodyParameter $params ``` ### Example 6 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" @@ -187,7 +187,7 @@ $params = @{ New-MgTeam -BodyParameter $params ``` ### Example 7 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" @@ -197,7 +197,7 @@ $params = @{ New-MgTeam -BodyParameter $params ``` ### Example 8 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "Template@odata.bind" = "https://graph.microsoft.com/v1.0/teamsTemplates('standard')" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannel.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannel.md index 729ebc5e673..a9292b65eb3 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannel.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannel.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@microsoft.graph.channelCreationMode" = "migration" @@ -10,7 +10,7 @@ $params = @{ New-MgTeamChannel -TeamId $teamId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "Architecture Discussion" @@ -20,7 +20,7 @@ $params = @{ New-MgTeamChannel -TeamId $teamId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#Microsoft.Graph.channel" @@ -40,7 +40,7 @@ $params = @{ New-MgTeamChannel -TeamId $teamId -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#Microsoft.Graph.channel" @@ -60,7 +60,7 @@ $params = @{ New-MgTeamChannel -TeamId $teamId -BodyParameter $params ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "My First Shared Channel" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelEmail.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelEmail.md index 51a35b0412a..3a42d6432bb 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelEmail.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelEmail.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams New-MgTeamChannelEmail -TeamId $teamId -ChannelId $channelId ``` diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMember.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMember.md index df921637fe2..8ac9576561c 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMember.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -11,12 +11,12 @@ $params = @{ New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -28,7 +28,7 @@ $params = @{ New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -39,7 +39,7 @@ $params = @{ New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -50,7 +50,7 @@ $params = @{ New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` ### Example 6 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -61,7 +61,7 @@ $params = @{ New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` ### Example 7 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessage.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessage.md index 6030a9cf22c..a801dd9a72d 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessage.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ @@ -9,7 +9,7 @@ $params = @{ New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ @@ -19,7 +19,7 @@ $params = @{ New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ @@ -43,7 +43,7 @@ $params = @{ New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Subject = $null @@ -78,7 +78,7 @@ $params = @{ New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ @@ -97,7 +97,7 @@ $params = @{ New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` ### Example 6 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Subject = $null @@ -210,7 +210,7 @@ $params = @{ New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` ### Example 7 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ @@ -234,7 +234,7 @@ $params = @{ New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` ### Example 8 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessageReply.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessageReply.md index c2942ba36b4..95e1e61404c 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessageReply.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessageReply.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ @@ -10,7 +10,7 @@ $params = @{ New-MgTeamChannelMessageReply -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Body = @{ diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamInstalledApp.md b/src/Teams/Teams/examples/v1.0/New-MgTeamInstalledApp.md index 8486d7b0708..1112956070a 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamInstalledApp.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/12345678-9abc-def0-123456789a" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/New-MgTeamMember.md index 83869845686..d7cca129aa2 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" @@ -11,7 +11,7 @@ $params = @{ New-MgTeamMember -TeamId $teamId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOfferShiftRequest.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOfferShiftRequest.md index bebbfd2991d..daebca6206e 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOfferShiftRequest.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOfferShiftRequest.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ SenderShiftId = "SHFT_f7e484ed-fdd6-421c-92d9-0bc9e62e2c29" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShift.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShift.md index f804148345f..d3abb18d6c2 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShift.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShift.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Id = "OPNSHFT_577b75d2-a927-48c0-a5d1-dc984894e7b8" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShiftChangeRequest.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShiftChangeRequest.md index 60c8595b832..25b091b9656 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShiftChangeRequest.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShiftChangeRequest.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ SenderMessage = "Can I take this shift?" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSchedulingGroup.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSchedulingGroup.md index 5d08e75d7f7..24aa2b9eb51 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSchedulingGroup.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSchedulingGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "Cashiers" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleShift.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleShift.md index 488ee9354c6..78419774054 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleShift.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleShift.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Id = "SHFT_577b75d2-a927-48c0-a5d1-dc984894e7b8" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSwapShiftChangeRequest.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSwapShiftChangeRequest.md index 0b76be779a6..1fcfcf9953c 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSwapShiftChangeRequest.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSwapShiftChangeRequest.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ SenderShiftId = "5ad10161-6524-4c7c-9beb-4e8677ba2f6d" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOff.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOff.md index 27323a8bfef..4daff183729 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOff.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOff.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ UserId = "c5d0c76b-80c4-481c-be50-923cd8d680a1" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOffReason.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOffReason.md index 2443e1bbcdb..50fb9cc697f 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOffReason.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOffReason.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "Vacation" diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamworkWorkforceIntegration.md b/src/Teams/Teams/examples/v1.0/New-MgTeamworkWorkforceIntegration.md index ee765d2985e..c2c2d99d700 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamworkWorkforceIntegration.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamworkWorkforceIntegration.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "displayName-value" diff --git a/src/Teams/Teams/examples/v1.0/New-MgUserTeamworkInstalledApp.md b/src/Teams/Teams/examples/v1.0/New-MgUserTeamworkInstalledApp.md index 4d9feebb926..764ee28d72f 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgUserTeamworkInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/New-MgUserTeamworkInstalledApp.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "TeamsApp@odata.bind" = "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/12345678-9abc-def0-123456789a" diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgAppCatalogTeamApp.md b/src/Teams/Teams/examples/v1.0/Remove-MgAppCatalogTeamApp.md index b5d24d6e555..1b57568a44c 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgAppCatalogTeamApp.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgAppCatalogTeamApp.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgAppCatalogTeamApp -TeamsAppId $teamsAppId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgChatInstalledApp.md b/src/Teams/Teams/examples/v1.0/Remove-MgChatInstalledApp.md index d83fb02359e..3ffe37f14f9 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgChatInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgChatInstalledApp.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgChatInstalledApp -ChatId $chatId -TeamsAppInstallationId $teamsAppInstallationId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgChatMember.md b/src/Teams/Teams/examples/v1.0/Remove-MgChatMember.md index 77227b8a071..5ce5e49ce6f 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgChatMember.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgChatMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgChatMember -ChatId $chatId -ConversationMemberId $conversationMemberId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgChatTab.md b/src/Teams/Teams/examples/v1.0/Remove-MgChatTab.md index 0bb9139b3f2..b8596e7a4bf 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgChatTab.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgChatTab.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgChatTab -ChatId $chatId -TeamsTabId $teamsTabId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannel.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannel.md index e2874c0e21a..85a25440d8e 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannel.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannel.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamChannel -TeamId $teamId -ChannelId $channelId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelEmail.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelEmail.md index 5de2be566f9..0b66f0f1ed3 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelEmail.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelEmail.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamChannelEmail -TeamId $teamId -ChannelId $channelId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelMember.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelMember.md index ac57b62158e..47b38825993 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelMember.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -ConversationMemberId $conversationMemberId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelSharedWithTeam.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelSharedWithTeam.md index 29078a92fc7..766c5ff904a 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelSharedWithTeam.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelSharedWithTeam.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamChannelSharedWithTeam -TeamId $teamId -ChannelId $channelId -SharedWithChannelTeamInfoId $sharedWithChannelTeamInfoId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamInstalledApp.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamInstalledApp.md index 2696dd0fb6b..9e010218361 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamInstalledApp.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamMember.md index 17d6371b851..5ec52db5e36 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamMember -TeamId $teamId -ConversationMemberId $conversationMemberId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleOpenShift.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleOpenShift.md index 3319e680d91..820d7c648ca 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleOpenShift.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleOpenShift.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleOpenShift -TeamId $teamId -OpenShiftId $openShiftId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleSchedulingGroup.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleSchedulingGroup.md index 3d6feaa6de8..b44031dba05 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleSchedulingGroup.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleSchedulingGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleSchedulingGroup -TeamId $teamId -SchedulingGroupId $schedulingGroupId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleShift.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleShift.md index 08009f2384d..103003f2342 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleShift.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleShift.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleShift -TeamId $teamId -ShiftId $shiftId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOff.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOff.md index 2f2a6a5cb03..3e2a17bae8b 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOff.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOff.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleTimeOff -TeamId $teamId -TimeOffId $timeOffId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffReason.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffReason.md index 9e505cf5332..72d430ab2d4 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffReason.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffReason.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleTimeOffReason -TeamId $teamId -TimeOffReasonId $timeOffReasonId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffRequest.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffRequest.md index 1a80c99ae39..41523a79610 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffRequest.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffRequest.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleTimeOffRequest -TeamId $teamId -TimeOffRequestId $timeOffRequestId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamworkWorkforceIntegration.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamworkWorkforceIntegration.md index 2683036ba82..0406f22f521 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamworkWorkforceIntegration.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamworkWorkforceIntegration.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamworkWorkforceIntegration -WorkforceIntegrationId $workforceIntegrationId ``` diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgUserTeamworkInstalledApp.md b/src/Teams/Teams/examples/v1.0/Remove-MgUserTeamworkInstalledApp.md index 4ce04144b34..dfd4b71f74a 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgUserTeamworkInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgUserTeamworkInstalledApp.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Remove-MgUserTeamworkInstalledApp -UserId $userId -UserScopeTeamsAppInstallationId $userScopeTeamsAppInstallationId ``` diff --git a/src/Teams/Teams/examples/v1.0/Send-MgChatActivityNotification.md b/src/Teams/Teams/examples/v1.0/Send-MgChatActivityNotification.md index 19ab840f46b..0bd15ba99c9 100644 --- a/src/Teams/Teams/examples/v1.0/Send-MgChatActivityNotification.md +++ b/src/Teams/Teams/examples/v1.0/Send-MgChatActivityNotification.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ @@ -24,7 +24,7 @@ $params = @{ Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ @@ -49,7 +49,7 @@ $params = @{ Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ @@ -75,7 +75,7 @@ $params = @{ Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ @@ -101,7 +101,7 @@ $params = @{ Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params ``` ### Example 5 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ diff --git a/src/Teams/Teams/examples/v1.0/Send-MgTeamActivityNotification.md b/src/Teams/Teams/examples/v1.0/Send-MgTeamActivityNotification.md index df46ce1bb00..af08be3a38d 100644 --- a/src/Teams/Teams/examples/v1.0/Send-MgTeamActivityNotification.md +++ b/src/Teams/Teams/examples/v1.0/Send-MgTeamActivityNotification.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ @@ -25,7 +25,7 @@ $params = @{ Send-MgTeamActivityNotification -TeamId $teamId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ @@ -50,7 +50,7 @@ $params = @{ Send-MgTeamActivityNotification -TeamId $teamId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ @@ -79,7 +79,7 @@ $params = @{ Send-MgTeamActivityNotification -TeamId $teamId -BodyParameter $params ``` ### Example 4 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = @{ diff --git a/src/Teams/Teams/examples/v1.0/Update-MgChat.md b/src/Teams/Teams/examples/v1.0/Update-MgChat.md index 79e84c3da35..635f05ef288 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgChat.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgChat.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Topic = "Group chat title update" diff --git a/src/Teams/Teams/examples/v1.0/Update-MgChatInstalledApp.md b/src/Teams/Teams/examples/v1.0/Update-MgChatInstalledApp.md index f56a79a1af5..321fdbbf55c 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgChatInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgChatInstalledApp.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Update-MgChatInstalledApp -ChatId $chatId -TeamsAppInstallationId $teamsAppInstallationId ``` diff --git a/src/Teams/Teams/examples/v1.0/Update-MgChatTab.md b/src/Teams/Teams/examples/v1.0/Update-MgChatTab.md index cb24eaa60e3..91b213756bd 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgChatTab.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgChatTab.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "My Contoso Tab - updated again" diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeam.md b/src/Teams/Teams/examples/v1.0/Update-MgTeam.md index 827288fe1e5..86d9c6293d6 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeam.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeam.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ MemberSettings = @{ diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannel.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannel.md index 3104e0ffb5e..0449d11a47a 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannel.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannel.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Update-MgTeamChannel -TeamId $teamId -ChannelId $channelId ``` diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMember.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMember.md index 175fbfa0763..69048045abd 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMember.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMessage.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMessage.md index 9e8319bc654..ace62533047 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMessage.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ PolicyViolation = @{ diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamInstalledApp.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamInstalledApp.md index 9d662d2b358..46fb7cf299b 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamInstalledApp.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams Update-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId ``` diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamMember.md index e633d36c638..6a53451aeec 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamMember.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ "@odata.type" = "#microsoft.graph.aadUserConversationMember" diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleOpenShift.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleOpenShift.md index 19dcb8709b8..826e741d4f6 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleOpenShift.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleOpenShift.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ SchedulingGroupId = "TAG_228940ed-ff84-4e25-b129-1b395cf78be0" diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleShift.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleShift.md index 7d9240c8743..1c12f3b4618 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleShift.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleShift.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ Id = "SHFT_577b75d2-a927-48c0-a5d1-dc984894e7b8" diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamworkWorkforceIntegration.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamworkWorkforceIntegration.md index edb36d4eb0d..e70cc178cb1 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamworkWorkforceIntegration.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamworkWorkforceIntegration.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Teams $params = @{ DisplayName = "displayName-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Clear-MgUserPresence.md b/src/Users.Actions/Users.Actions/examples/v1.0/Clear-MgUserPresence.md index ff4834ed310..18ba179fce9 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Clear-MgUserPresence.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Clear-MgUserPresence.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ SessionId = "22553876-f5ab-4529-bffb-cfe50aa89f87" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberGroup.md b/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberGroup.md index e4b7651372a..405d65dc541 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberGroup.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ GroupIds = @( diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberObject.md b/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberObject.md index 754ffe713cb..d9567c5ee78 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberObject.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberObject.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Ids = @( diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMailFolder.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMailFolder.md index 073026ce0b9..1c8a8de2fb0 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMailFolder.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMailFolder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ DestinationId = "destinationId-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMessage.md index 122601ecbce..07fda129d8f 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ DestinationId = "destinationId-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteNotebook.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteNotebook.md index 6fc36353947..d31841acdf5 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteNotebook.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteNotebook.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ GroupId = "groupId-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenotePageToSection.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenotePageToSection.md index 7831dbb74fb..7d8fc478c84 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenotePageToSection.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenotePageToSection.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Id = "id-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToNotebook.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToNotebook.md index f896791fae1..6ee52f28fe1 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToNotebook.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToNotebook.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Id = "id-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToSectionGroup.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToSectionGroup.md index 1267a2243c2..1db0bde3e6b 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToSectionGroup.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToSectionGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Id = "id-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Disable-MgUserAuthenticationPhoneMethodSmSign.md b/src/Users.Actions/Users.Actions/examples/v1.0/Disable-MgUserAuthenticationPhoneMethodSmSign.md index c740da88d47..b9386f56e13 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Disable-MgUserAuthenticationPhoneMethodSmSign.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Disable-MgUserAuthenticationPhoneMethodSmSign.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. Disable-MgUserAuthenticationPhoneMethodSmSign -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Enable-MgUserAuthenticationPhoneMethodSmSign.md b/src/Users.Actions/Users.Actions/examples/v1.0/Enable-MgUserAuthenticationPhoneMethodSmSign.md index 216df0d6d53..9a28954e70d 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Enable-MgUserAuthenticationPhoneMethodSmSign.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Enable-MgUserAuthenticationPhoneMethodSmSign.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. Enable-MgUserAuthenticationPhoneMethodSmSign -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Export-MgUserPersonalData.md b/src/Users.Actions/Users.Actions/examples/v1.0/Export-MgUserPersonalData.md index a44940dd905..7a8de3e4183 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Export-MgUserPersonalData.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Export-MgUserPersonalData.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ StorageLocation = "storageLocation-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Find-MgUserMeetingTime.md b/src/Users.Actions/Users.Actions/examples/v1.0/Find-MgUserMeetingTime.md index eaf69ea3dfb..b91a890b2fd 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Find-MgUserMeetingTime.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Find-MgUserMeetingTime.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Attendees = @( diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserDefaultCalendarSchedule.md b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserDefaultCalendarSchedule.md index 1fd66a8b3d7..762e908310f 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserDefaultCalendarSchedule.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserDefaultCalendarSchedule.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Schedules = @( diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMailTip.md b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMailTip.md index 096ce87c3d8..c99731b5ecb 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMailTip.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMailTip.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ EmailAddresses = @( diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMemberGroup.md b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMemberGroup.md index 80508ab4e9f..b62f4db7c8b 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMemberGroup.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMemberGroup.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ SecurityEnabledOnly = $true diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md index 9987579033b..5a9bd6943a4 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ WebUrl = "webUrl value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEvent.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEvent.md index c6108ef3bb2..71e581f1a3b 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEvent.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEvent.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Comment = "comment-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEventTentatively.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEventTentatively.md index 3c616877a2b..3e687bdcbce 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEventTentatively.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEventTentatively.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Comment = "I may not be able to make this week. How about next week?" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgCreateOrGetUserOnlineMeeting.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgCreateOrGetUserOnlineMeeting.md index 6c99d8173a7..eeb0c219d94 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgCreateOrGetUserOnlineMeeting.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgCreateOrGetUserOnlineMeeting.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ StartDateTime = [System.DateTime]::Parse("2020-02-06T01:49:21.3524945+00:00") diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDeclineUserEvent.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDeclineUserEvent.md index cb37e1cce38..29b754e9a82 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDeclineUserEvent.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDeclineUserEvent.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Comment = "I won't be able to make this week. How about next week?" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDismissUserEventReminder.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDismissUserEventReminder.md index 897db4da632..73b430c06d6 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDismissUserEventReminder.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDismissUserEventReminder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. Invoke-MgDismissUserEventReminder -UserId $userId -EventId $eventId diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserEvent.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserEvent.md index 8f9ead58a3f..a1a5820d96f 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserEvent.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserEvent.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ ToRecipients = @( diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserMessage.md index d2453c6e76c..1e2d5ef4d81 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Comment = "comment-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgLicenseUser.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgLicenseUser.md index 2c13ab98515..8af40cfa972 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgLicenseUser.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgLicenseUser.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions Invoke-MgLicenseUser -UserId $userId ``` diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyAllUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyAllUserMessage.md index 6a6bcc9fa34..6cc6e3072c7 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyAllUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyAllUserMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Comment = "comment-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyUserMessage.md index 4b5a29ea8fd..79d2e9ebe4b 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyUserMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Message = @{ diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgSnoozeUserEventReminder.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgSnoozeUserEventReminder.md index c1cc74b852f..d6d1342aa03 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgSnoozeUserEventReminder.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgSnoozeUserEventReminder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ NewReminderTime = @{ diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgTranslateUserExchangeId.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgTranslateUserExchangeId.md index f38dea005f7..fc81537def9 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgTranslateUserExchangeId.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgTranslateUserExchangeId.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ InputIds = @( diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMailFolder.md b/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMailFolder.md index 2fcc9eb527d..bf2d8dab10f 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMailFolder.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMailFolder.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ DestinationId = "destinationId-value" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMessage.md index 7cbf788ecf7..8de569d5dde 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ DestinationId = "deleteditems" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageAttachmentUploadSession.md b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageAttachmentUploadSession.md index c72044e7d35..d236a97ed89 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageAttachmentUploadSession.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageAttachmentUploadSession.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ AttachmentItem = @{ @@ -14,7 +14,7 @@ $params = @{ New-MgUserMessageAttachmentUploadSession -UserId $userId -MessageId $messageId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ AttachmentItem = @{ diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageForward.md b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageForward.md index 5fc1ba0575c..d6639476f62 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageForward.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageForward.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. New-MgUserMessageForward -UserId $userId -MessageId $messageId diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReply.md b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReply.md index bd0a6a0bdf8..ed7ac9ccbf2 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReply.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReply.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. New-MgUserMessageReply -UserId $userId -MessageId $messageId diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReplyAll.md b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReplyAll.md index e46896c5366..d48b4044bd3 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReplyAll.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReplyAll.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. New-MgUserMessageReplyAll -UserId $userId -MessageId $messageId diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Revoke-MgUserSign.md b/src/Users.Actions/Users.Actions/examples/v1.0/Revoke-MgUserSign.md index 9e4a02841b1..86c406664e7 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Revoke-MgUserSign.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Revoke-MgUserSign.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. Revoke-MgUserSign -UserId $userId diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMail.md b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMail.md index 12079677759..4151f3da089 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMail.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMail.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Message = @{ @@ -29,7 +29,7 @@ $params = @{ Send-MgUserMail -UserId $userId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Message = @{ @@ -59,7 +59,7 @@ $params = @{ Send-MgUserMail -UserId $userId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Message = @{ diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMessage.md index f923112124f..1b38db96321 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMessage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. Send-MgUserMessage -UserId $userId -MessageId $messageId diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserTeamworkActivityNotification.md b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserTeamworkActivityNotification.md index 40347c49113..e1a7fe2299d 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserTeamworkActivityNotification.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserTeamworkActivityNotification.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Topic = @{ @@ -21,7 +21,7 @@ $params = @{ Send-MgUserTeamworkActivityNotification -UserId $userId -BodyParameter $params ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Topic = @{ @@ -43,7 +43,7 @@ $params = @{ Send-MgUserTeamworkActivityNotification -UserId $userId -BodyParameter $params ``` ### Example 3 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Topic = @{ diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Set-MgUserPresence.md b/src/Users.Actions/Users.Actions/examples/v1.0/Set-MgUserPresence.md index f5302a486a2..21d7ac00d53 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Set-MgUserPresence.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Set-MgUserPresence.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ SessionId = "22553876-f5ab-4529-bffb-cfe50aa89f87" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Stop-MgUserEvent.md b/src/Users.Actions/Users.Actions/examples/v1.0/Stop-MgUserEvent.md index aca9485313f..eb1aefabfa9 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Stop-MgUserEvent.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Stop-MgUserEvent.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ Comment = "Cancelling for this week due to all hands" diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Update-MgUserPassword.md b/src/Users.Actions/Users.Actions/examples/v1.0/Update-MgUserPassword.md index e9bf4aa5ec2..685ba36d0f8 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Update-MgUserPassword.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Update-MgUserPassword.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ CurrentPassword = "xWwvJ]6NMw+bWH-d" diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserContactFolderDelta.md b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserContactFolderDelta.md index fb21b9f395e..d683305e1c8 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserContactFolderDelta.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserContactFolderDelta.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Functions # A UPN can also be used as -UserId. Get-MgUserContactFolderDelta -UserId $userId diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserDelta.md b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserDelta.md index 91e73eb7ca8..c8f1bd0d15f 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserDelta.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserDelta.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Functions Get-MgUserDelta ``` diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserMailFolderMessageDelta.md b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserMailFolderMessageDelta.md index bc114672896..6a84d4dc3bd 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserMailFolderMessageDelta.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserMailFolderMessageDelta.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Functions # A UPN can also be used as -UserId. Get-MgUserMailFolderMessageDelta -UserId $userId -MailFolderId $mailFolderId diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgRecentUserActivity.md b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgRecentUserActivity.md index 451b4cde90e..3855a06a7ba 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgRecentUserActivity.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgRecentUserActivity.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Functions # A UPN can also be used as -UserId. Invoke-MgRecentUserActivity -UserId $userId diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgSupportedUserOutlookLanguage.md b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgSupportedUserOutlookLanguage.md index c1d64dabfa7..af662804568 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgSupportedUserOutlookLanguage.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgSupportedUserOutlookLanguage.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Functions # A UPN can also be used as -UserId. Invoke-MgSupportedUserOutlookLanguage -UserId $userId diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgTimeUserOutlook.md b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgTimeUserOutlook.md index 1faddcfff8d..12dd8594b58 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgTimeUserOutlook.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgTimeUserOutlook.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users.Functions # A UPN can also be used as -UserId. Invoke-MgTimeUserOutlook -UserId $userId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserMemberOf.md b/src/Users/Users/examples/v1.0/Get-MgUserMemberOf.md index 0670cdb1f9e..21cdb6b5da8 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserMemberOf.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserMemberOf.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users Get-MgUserMemberOf -UserId $userId ``` diff --git a/src/Users/Users/examples/v1.0/Get-MgUserOutlookMasterCategory.md b/src/Users/Users/examples/v1.0/Get-MgUserOutlookMasterCategory.md index 33cc562c3b4..2ff9abcc6f7 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserOutlookMasterCategory.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserOutlookMasterCategory.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserOutlookMasterCategory -UserId $userId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserOutlookMasterCategory -UserId $userId -OutlookCategoryId $outlookCategoryId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserOwnedDevice.md b/src/Users/Users/examples/v1.0/Get-MgUserOwnedDevice.md index eed58b72d2c..29fdd8568c8 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserOwnedDevice.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserOwnedDevice.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserOwnedDevice -UserId $userId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserOwnedObject.md b/src/Users/Users/examples/v1.0/Get-MgUserOwnedObject.md index 1dd51e8aca8..9daa25f5629 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserOwnedObject.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserOwnedObject.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserOwnedObject -UserId $userId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserRegisteredDevice.md b/src/Users/Users/examples/v1.0/Get-MgUserRegisteredDevice.md index fbde4525c8a..20bfefc1ea4 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserRegisteredDevice.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserRegisteredDevice.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserRegisteredDevice -UserId $userId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserSettingShiftPreference.md b/src/Users/Users/examples/v1.0/Get-MgUserSettingShiftPreference.md index 46e9ab6cb6a..85c2169a387 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserSettingShiftPreference.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserSettingShiftPreference.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users Get-MgUserSettingShiftPreference -UserId $userId ``` diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTodoList.md b/src/Users/Users/examples/v1.0/Get-MgUserTodoList.md index 8ae16887c88..a248b167011 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTodoList.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTodoList.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoList -UserId $userId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoList -UserId $userId -TodoTaskListId $todoTaskListId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTask.md b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTask.md index ae99fb6c351..5d62dc76731 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTask.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTask.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTask -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTask -UserId $userId -TodoTaskListId $todoTaskListId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskChecklistItem.md b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskChecklistItem.md index 0b49bb7546c..1b58d63a04f 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskChecklistItem.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskChecklistItem.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -ChecklistItemId $checklistItemId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskLinkedResource.md b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskLinkedResource.md index 658c7ca3692..d0e63db2849 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskLinkedResource.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskLinkedResource.md @@ -1,11 +1,11 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTaskLinkedResource -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -LinkedResourceId $linkedResourceId ``` ### Example 2 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTaskLinkedResource -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTransitiveMemberOf.md b/src/Users/Users/examples/v1.0/Get-MgUserTransitiveMemberOf.md index 23b3cfec4bf..396a9bb5a66 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTransitiveMemberOf.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTransitiveMemberOf.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users Get-MgUserTransitiveMemberOf -UserId $userId ``` diff --git a/src/Users/Users/examples/v1.0/New-MgUserOutlookMasterCategory.md b/src/Users/Users/examples/v1.0/New-MgUserOutlookMasterCategory.md index ebc7fe34b16..1dfed7824fc 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserOutlookMasterCategory.md +++ b/src/Users/Users/examples/v1.0/New-MgUserOutlookMasterCategory.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users $params = @{ DisplayName = "Project expenses" diff --git a/src/Users/Users/examples/v1.0/New-MgUserTodoList.md b/src/Users/Users/examples/v1.0/New-MgUserTodoList.md index 96db581da85..84ab802382a 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserTodoList.md +++ b/src/Users/Users/examples/v1.0/New-MgUserTodoList.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users $params = @{ DisplayName = "Travel items" diff --git a/src/Users/Users/examples/v1.0/New-MgUserTodoListTask.md b/src/Users/Users/examples/v1.0/New-MgUserTodoListTask.md index 85be0ca05fc..5e1150a423b 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserTodoListTask.md +++ b/src/Users/Users/examples/v1.0/New-MgUserTodoListTask.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users $params = @{ Title = "A new task" diff --git a/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskChecklistItem.md b/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskChecklistItem.md index 0f6002e6959..ff5cdd03b24 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskChecklistItem.md +++ b/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskChecklistItem.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users $params = @{ DisplayName = "Final sign-off from the team" diff --git a/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskLinkedResource.md b/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskLinkedResource.md index 3f5362adb73..c03d380a206 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskLinkedResource.md +++ b/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskLinkedResource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users $params = @{ WebUrl = "https://microsoft.com" diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserOutlookMasterCategory.md b/src/Users/Users/examples/v1.0/Remove-MgUserOutlookMasterCategory.md index 486c8e9ae0c..795d502f7d6 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserOutlookMasterCategory.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserOutlookMasterCategory.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Remove-MgUserOutlookMasterCategory -UserId $userId -OutlookCategoryId $outlookCategoryId diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserTodoList.md b/src/Users/Users/examples/v1.0/Remove-MgUserTodoList.md index d996caf458d..ac221c4541d 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserTodoList.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserTodoList.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Remove-MgUserTodoList -UserId $userId -TodoTaskListId $todoTaskListId diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTask.md b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTask.md index 9e574df6634..c0085472bc9 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTask.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTask.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Remove-MgUserTodoListTask -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskChecklistItem.md b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskChecklistItem.md index 16c93074abe..c0dd9909d93 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskChecklistItem.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskChecklistItem.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Remove-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -ChecklistItemId $checklistItemId diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskLinkedResource.md b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskLinkedResource.md index c1a98d86581..274f3d8bbbd 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskLinkedResource.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskLinkedResource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Remove-MgUserTodoListTaskLinkedResource -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -LinkedResourceId $linkedResourceId diff --git a/src/Users/Users/examples/v1.0/Update-MgUserOutlookMasterCategory.md b/src/Users/Users/examples/v1.0/Update-MgUserOutlookMasterCategory.md index 857f842596b..359fbdde7b5 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserOutlookMasterCategory.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserOutlookMasterCategory.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users $params = @{ Color = "preset15" diff --git a/src/Users/Users/examples/v1.0/Update-MgUserSettingShiftPreference.md b/src/Users/Users/examples/v1.0/Update-MgUserSettingShiftPreference.md index f77a9f7ae41..244772f1b77 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserSettingShiftPreference.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserSettingShiftPreference.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users $params = @{ Id = "SHPR_eeab4fb1-20e5-48ca-ad9b-98119d94bee7" diff --git a/src/Users/Users/examples/v1.0/Update-MgUserTodoList.md b/src/Users/Users/examples/v1.0/Update-MgUserTodoList.md index 41ff107d646..9b7b5363021 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserTodoList.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserTodoList.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users $params = @{ DisplayName = "Vacation Plan" diff --git a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTask.md b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTask.md index d69ff9d87f4..181a9ca8030 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTask.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTask.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users $params = @{ DueDateTime = @{ diff --git a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskChecklistItem.md b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskChecklistItem.md index b27dc03338a..37f9da69fec 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskChecklistItem.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskChecklistItem.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users $params = @{ DisplayName = "buy cake" diff --git a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskLinkedResource.md b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskLinkedResource.md index af34d81a4f6..6c8f77388c5 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskLinkedResource.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskLinkedResource.md @@ -1,5 +1,5 @@ ### Example 1 -``` powershell +```powershell Import-Module Microsoft.Graph.Users $params = @{ "@odata.type" = "#microsoft.graph.linkedResource" From 89ea8531f265d3a253883af2326980990c9a4128 Mon Sep 17 00:00:00 2001 From: SteveWilkins1123 Date: Wed, 14 Sep 2022 14:09:19 -0700 Subject: [PATCH 4/4] Added descriptions --- .../examples/v1.0/Add-MgApplicationKey.md | 8 +++-- .../v1.0/Add-MgServicePrincipalKey.md | 8 +++-- .../v1.0/Add-MgServicePrincipalPassword.md | 4 ++- ...ServicePrincipalTokenSigningCertificate.md | 4 ++- .../Clear-MgApplicationVerifiedPublisher.md | 4 ++- .../examples/v1.0/Get-MgApplicationDelta.md | 4 ++- .../Get-MgApplicationExtensionProperty.md | 8 +++-- ...gApplicationFederatedIdentityCredential.md | 8 +++-- .../examples/v1.0/Get-MgApplicationOwner.md | 4 ++- .../v1.0/Get-MgApplicationTemplate.md | 8 +++-- .../Get-MgApplicationTokenIssuancePolicy.md | 4 ++- .../Get-MgApplicationTokenLifetimePolicy.md | 4 ++- ...Get-MgServicePrincipalAppRoleAssignedTo.md | 4 ++- ...et-MgServicePrincipalClaimMappingPolicy.md | 4 ++- .../Get-MgServicePrincipalCreatedObject.md | 4 ++- ...ncipalDelegatedPermissionClassification.md | 4 ++- .../v1.0/Get-MgServicePrincipalDelta.md | 4 ++- ...ervicePrincipalHomeRealmDiscoveryPolicy.md | 4 ++- .../v1.0/Get-MgServicePrincipalMemberOf.md | 4 ++- ...MgServicePrincipalOauth2PermissionGrant.md | 4 ++- .../v1.0/Get-MgServicePrincipalOwnedObject.md | 4 ++- ...et-MgServicePrincipalTransitiveMemberOf.md | 4 ++- ...Invoke-MgInstantiateApplicationTemplate.md | 4 ++- .../New-MgApplicationExtensionProperty.md | 4 ++- ...gApplicationFederatedIdentityCredential.md | 4 ++- ...w-MgApplicationTokenIssuancePolicyByRef.md | 4 ++- ...w-MgApplicationTokenLifetimePolicyByRef.md | 4 ++- ...New-MgServicePrincipalAppRoleAssignedTo.md | 4 ++- ...New-MgServicePrincipalAppRoleAssignment.md | 4 ++- ...ServicePrincipalClaimMappingPolicyByRef.md | 4 ++- ...ncipalDelegatedPermissionClassification.md | 4 ++- ...ePrincipalHomeRealmDiscoveryPolicyByRef.md | 4 ++- .../Remove-MgApplicationExtensionProperty.md | 4 ++- ...gApplicationFederatedIdentityCredential.md | 4 ++- .../examples/v1.0/Remove-MgApplicationKey.md | 4 ++- .../v1.0/Remove-MgApplicationOwnerByRef.md | 4 ++- .../v1.0/Remove-MgApplicationPassword.md | 4 ++- ...e-MgApplicationTokenIssuancePolicyByRef.md | 4 ++- ...e-MgApplicationTokenLifetimePolicyByRef.md | 4 ++- .../v1.0/Remove-MgGroupAppRoleAssignment.md | 4 ++- .../v1.0/Remove-MgServicePrincipal.md | 4 ++- ...ove-MgServicePrincipalAppRoleAssignedTo.md | 4 ++- ...ServicePrincipalClaimMappingPolicyByRef.md | 4 ++- ...ncipalDelegatedPermissionClassification.md | 4 ++- ...ePrincipalHomeRealmDiscoveryPolicyByRef.md | 4 ++- .../v1.0/Remove-MgServicePrincipalKey.md | 4 ++- .../v1.0/Remove-MgServicePrincipalPassword.md | 4 ++- .../Set-MgApplicationVerifiedPublisher.md | 4 ++- ...gApplicationFederatedIdentityCredential.md | 4 ++- .../examples/v1.0/Get-MgBookingBusiness.md | 12 +++++-- .../v1.0/Get-MgBookingBusinessAppointment.md | 8 +++-- .../v1.0/Get-MgBookingBusinessCalendarView.md | 4 ++- .../Get-MgBookingBusinessCustomQuestion.md | 8 +++-- .../v1.0/Get-MgBookingBusinessCustomer.md | 8 +++-- .../v1.0/Get-MgBookingBusinessService.md | 8 +++-- .../v1.0/Get-MgBookingBusinessStaffMember.md | 8 +++-- .../examples/v1.0/Get-MgBookingCurrency.md | 8 +++-- .../examples/v1.0/New-MgBookingBusiness.md | 4 ++- .../v1.0/New-MgBookingBusinessAppointment.md | 4 ++- .../New-MgBookingBusinessCustomQuestion.md | 4 ++- .../v1.0/New-MgBookingBusinessCustomer.md | 4 ++- .../v1.0/New-MgBookingBusinessService.md | 4 ++- .../v1.0/New-MgBookingBusinessStaffMember.md | 4 ++- .../v1.0/Publish-MgBookingBusiness.md | 4 ++- .../examples/v1.0/Remove-MgBookingBusiness.md | 4 ++- .../Remove-MgBookingBusinessAppointment.md | 4 ++- .../Remove-MgBookingBusinessCustomQuestion.md | 4 ++- .../v1.0/Remove-MgBookingBusinessCustomer.md | 4 ++- .../v1.0/Remove-MgBookingBusinessService.md | 4 ++- .../Remove-MgBookingBusinessStaffMember.md | 4 ++- .../v1.0/Stop-MgBookingBusinessAppointment.md | 4 ++- .../v1.0/Unpublish-MgBookingBusiness.md | 4 ++- .../examples/v1.0/Update-MgBookingBusiness.md | 4 ++- .../Update-MgBookingBusinessAppointment.md | 4 ++- .../Update-MgBookingBusinessCustomQuestion.md | 4 ++- .../v1.0/Update-MgBookingBusinessCustomer.md | 4 ++- .../v1.0/Update-MgBookingBusinessService.md | 4 ++- .../Update-MgBookingBusinessStaffMember.md | 4 ++- .../examples/v1.0/Get-MgGroupEvent.md | 8 +++-- .../v1.0/Get-MgGroupEventExtension.md | 4 ++- .../Calendar/examples/v1.0/Get-MgPlace.md | 16 +++++++--- .../examples/v1.0/Get-MgUserCalendar.md | 4 ++- .../examples/v1.0/Get-MgUserCalendarGroup.md | 8 +++-- .../v1.0/Get-MgUserCalendarGroupCalendar.md | 4 ++- .../v1.0/Get-MgUserCalendarPermission.md | 4 ++- .../examples/v1.0/Get-MgUserCalendarView.md | 4 ++- .../v1.0/Get-MgUserDefaultCalendar.md | 4 ++- .../Calendar/examples/v1.0/Get-MgUserEvent.md | 12 +++++-- .../v1.0/Get-MgUserEventAttachment.md | 4 ++- .../examples/v1.0/Get-MgUserEventInstance.md | 4 ++- .../examples/v1.0/New-MgGroupEvent.md | 4 ++- .../examples/v1.0/New-MgUserCalendar.md | 4 ++- .../examples/v1.0/New-MgUserCalendarEvent.md | 8 +++-- .../examples/v1.0/New-MgUserCalendarGroup.md | 4 ++- .../v1.0/New-MgUserCalendarGroupCalendar.md | 4 ++- .../Calendar/examples/v1.0/New-MgUserEvent.md | 16 +++++++--- .../v1.0/New-MgUserEventAttachment.md | 12 +++++-- .../examples/v1.0/Remove-MgGroupEvent.md | 4 ++- .../v1.0/Remove-MgUserCalendarGroup.md | 4 ++- .../v1.0/Remove-MgUserCalendarPermission.md | 4 ++- .../examples/v1.0/Remove-MgUserEvent.md | 4 ++- .../v1.0/Remove-MgUserEventAttachment.md | 4 ++- .../Calendar/examples/v1.0/Update-MgPlace.md | 8 +++-- .../v1.0/Update-MgUserCalendarGroup.md | 4 ++- .../v1.0/Update-MgUserCalendarPermission.md | 4 ++- .../examples/v1.0/Update-MgUserEvent.md | 4 ++- .../examples/v1.0/Get-MgSubscription.md | 8 +++-- .../examples/v1.0/New-MgSubscription.md | 4 ++- .../examples/v1.0/Remove-MgSubscription.md | 4 ++- .../examples/v1.0/Update-MgSubscription.md | 4 ++- .../examples/v1.0/Get-MgCommunicationCall.md | 8 +++-- .../Get-MgCommunicationCallParticipant.md | 8 +++-- .../v1.0/Get-MgCommunicationCallRecord.md | 16 +++++++--- .../Get-MgCommunicationCallRecordSession.md | 8 +++-- .../v1.0/Get-MgCommunicationOnlineMeeting.md | 4 ++- .../v1.0/Get-MgCommunicationPresence.md | 4 ++- .../Get-MgCommunicationPresenceByUserId.md | 4 ++- .../examples/v1.0/Get-MgUserOnlineMeeting.md | 8 +++-- ...Get-MgUserOnlineMeetingAttendanceReport.md | 8 +++-- ...MeetingAttendanceReportAttendanceRecord.md | 4 ++- .../examples/v1.0/Get-MgUserPresence.md | 8 +++-- .../v1.0/Invoke-MgAnswerCommunicationCall.md | 12 +++++-- ...ke-MgInviteCommunicationCallParticipant.md | 28 ++++++++++++---- .../Invoke-MgKeepCommunicationCallAlive.md | 4 ++- ...nicationCallTeleconferenceDeviceQuality.md | 4 ++- .../v1.0/Invoke-MgMuteCommunicationCall.md | 4 ++- ...voke-MgMuteCommunicationCallParticipant.md | 4 ++- .../Invoke-MgPlayCommunicationCallPrompt.md | 4 ++- ...nvoke-MgRecordCommunicationCallResponse.md | 4 ++- .../Invoke-MgRedirectCommunicationCall.md | 8 +++-- .../v1.0/Invoke-MgRejectCommunicationCall.md | 8 +++-- ...voke-MgSubscribeCommunicationCallToTone.md | 4 ++- .../v1.0/Invoke-MgUnmuteCommunicationCall.md | 4 ++- .../examples/v1.0/Move-MgCommunicationCall.md | 20 +++++++++--- .../examples/v1.0/New-MgCommunicationCall.md | 16 +++++++--- .../examples/v1.0/New-MgUserOnlineMeeting.md | 4 ++- .../v1.0/Remove-MgCommunicationCall.md | 4 ++- .../Remove-MgCommunicationCallParticipant.md | 12 +++++-- .../v1.0/Remove-MgUserOnlineMeeting.md | 4 ++- ...me-MgCommunicationCallScreenSharingRole.md | 4 ++- ...MgCommunicationCallParticipantHoldMusic.md | 4 ++- ...Stop-MgCommunicationCallMediaProcessing.md | 4 ++- ...MgCommunicationCallParticipantHoldMusic.md | 4 ++- ...date-MgCommunicationCallRecordingStatus.md | 4 ++- .../v1.0/Update-MgUserOnlineMeeting.md | 8 +++-- .../examples/v1.0/Remove-MgUserActivity.md | 4 ++- ...MgRoleManagementDirectoryRoleAssignment.md | 20 +++++++++--- ...nagementDirectoryRoleAssignmentSchedule.md | 12 +++++-- ...DirectoryRoleAssignmentScheduleInstance.md | 12 +++++-- ...tDirectoryRoleAssignmentScheduleRequest.md | 20 +++++++++--- ...MgRoleManagementDirectoryRoleDefinition.md | 16 +++++++--- ...agementDirectoryRoleEligibilitySchedule.md | 12 +++++-- ...irectoryRoleEligibilityScheduleInstance.md | 12 +++++-- ...DirectoryRoleEligibilityScheduleRequest.md | 12 +++++-- ...mentEntitlementManagementRoleAssignment.md | 4 ++- ...mentEntitlementManagementRoleDefinition.md | 4 ++- ...MgRoleManagementDirectoryRoleAssignment.md | 12 +++++-- ...tDirectoryRoleAssignmentScheduleRequest.md | 8 +++-- ...MgRoleManagementDirectoryRoleDefinition.md | 4 ++- ...DirectoryRoleEligibilityScheduleRequest.md | 8 +++-- ...mentEntitlementManagementRoleAssignment.md | 4 ++- ...MgRoleManagementDirectoryRoleAssignment.md | 4 ++- ...MgRoleManagementDirectoryRoleDefinition.md | 4 ++- ...tDirectoryRoleAssignmentScheduleRequest.md | 4 ++- ...DirectoryRoleEligibilityScheduleRequest.md | 4 ++- ...MgRoleManagementDirectoryRoleDefinition.md | 4 ++- .../examples/v1.0/Get-MgPrintConnector.md | 8 +++-- .../examples/v1.0/Get-MgPrintOperation.md | 4 ++- .../examples/v1.0/Get-MgPrintPrinter.md | 12 +++++-- .../v1.0/Get-MgPrintPrinterConnector.md | 4 ++- .../v1.0/Get-MgPrintPrinterTaskTrigger.md | 8 +++-- .../examples/v1.0/Get-MgPrintService.md | 8 +++-- .../v1.0/Get-MgPrintServiceEndpoint.md | 8 +++-- .../examples/v1.0/Get-MgPrintShare.md | 12 +++++-- .../v1.0/Get-MgPrintShareAllowedGroup.md | 4 ++- .../v1.0/Get-MgPrintShareAllowedUser.md | 4 ++- .../v1.0/Get-MgPrintTaskDefinition.md | 8 +++-- .../v1.0/Get-MgPrintTaskDefinitionTask.md | 8 +++-- .../v1.0/New-MgPrintPrinterTaskTrigger.md | 4 ++- .../examples/v1.0/New-MgPrintShare.md | 4 ++- .../v1.0/New-MgPrintShareAllowedGroupByRef.md | 4 ++- .../v1.0/New-MgPrintShareAllowedUserByRef.md | 4 ++- .../v1.0/New-MgPrintTaskDefinition.md | 4 ++- .../examples/v1.0/Remove-MgPrintConnector.md | 4 ++- .../examples/v1.0/Remove-MgPrintPrinter.md | 4 ++- .../v1.0/Remove-MgPrintPrinterTaskTrigger.md | 4 ++- .../examples/v1.0/Remove-MgPrintShare.md | 4 ++- .../Remove-MgPrintShareAllowedGroupByRef.md | 4 ++- .../Remove-MgPrintShareAllowedUserByRef.md | 4 ++- .../v1.0/Remove-MgPrintTaskDefinition.md | 4 ++- .../Restore-MgPrintPrinterFactoryDefault.md | 4 ++- .../examples/v1.0/Update-MgPrintConnector.md | 4 ++- .../examples/v1.0/Update-MgPrintPrinter.md | 4 ++- .../examples/v1.0/Update-MgPrintShare.md | 4 ++- .../v1.0/Update-MgPrintTaskDefinition.md | 4 ++- .../v1.0/Update-MgPrintTaskDefinitionTask.md | 4 ++- ...Get-MgServiceAnnouncementHealthOverview.md | 16 +++++++--- .../v1.0/Get-MgServiceAnnouncementIssue.md | 8 +++-- .../v1.0/Get-MgServiceAnnouncementMessage.md | 8 +++-- ...-MgServiceAnnouncementMessageAttachment.md | 8 +++-- ...iceAnnouncementMessageAttachmentArchive.md | 8 +++-- ...iceAnnouncementMessageAttachmentContent.md | 8 +++-- ...oke-MgArchiveServiceAnnouncementMessage.md | 4 ++- ...ke-MgFavoriteServiceAnnouncementMessage.md | 4 ++- ...ke-MgMarkServiceAnnouncementMessageRead.md | 4 ++- ...-MgMarkServiceAnnouncementMessageUnread.md | 4 ++- ...gReportServiceAnnouncementIssueIncident.md | 4 ++- ...e-MgUnarchiveServiceAnnouncementMessage.md | 4 ++- ...-MgUnfavoriteServiceAnnouncementMessage.md | 4 ++- .../Confirm-MgDirectoryObjectMemberGroup.md | 4 ++- .../examples/v1.0/Get-MgDirectoryObject.md | 4 ++- ...rectoryObjectAvailableExtensionProperty.md | 4 ++- .../v1.0/Get-MgDirectoryObjectById.md | 4 ++- .../v1.0/Get-MgDirectoryObjectMemberGroup.md | 4 ++- .../v1.0/Get-MgDirectoryObjectMemberObject.md | 4 ++- .../examples/v1.0/Remove-MgDirectoryObject.md | 4 ++- .../v1.0/Test-MgDirectoryObjectProperty.md | 4 ++- .../examples/v1.0/Get-MgEducationClass.md | 8 +++-- .../v1.0/Get-MgEducationClassAssignment.md | 12 +++++-- .../Get-MgEducationClassAssignmentCategory.md | 8 +++-- ...MgEducationClassAssignmentCategoryDelta.md | 16 +++++++--- .../Get-MgEducationClassAssignmentDefault.md | 4 ++- .../Get-MgEducationClassAssignmentDelta.md | 12 +++++-- .../Get-MgEducationClassAssignmentResource.md | 28 ++++++++++++---- .../Get-MgEducationClassAssignmentRubric.md | 4 ++- .../Get-MgEducationClassAssignmentSetting.md | 4 ++- ...et-MgEducationClassAssignmentSubmission.md | 16 +++++++--- ...ucationClassAssignmentSubmissionOutcome.md | 4 ++- ...cationClassAssignmentSubmissionResource.md | 28 ++++++++++++---- ...ssAssignmentSubmissionSubmittedResource.md | 4 ++- .../v1.0/Get-MgEducationClassDelta.md | 4 ++- .../v1.0/Get-MgEducationClassMember.md | 4 ++- .../v1.0/Get-MgEducationClassSchool.md | 4 ++- .../v1.0/Get-MgEducationClassTeacher.md | 4 ++- .../v1.0/Get-MgEducationMeAssignment.md | 4 ++- .../examples/v1.0/Get-MgEducationMeClass.md | 4 ++- .../examples/v1.0/Get-MgEducationMeRubric.md | 8 +++-- .../examples/v1.0/Get-MgEducationMeSchool.md | 4 ++- .../examples/v1.0/Get-MgEducationSchool.md | 8 +++-- .../v1.0/Get-MgEducationSchoolClass.md | 4 ++- .../v1.0/Get-MgEducationSchoolDelta.md | 4 ++- .../v1.0/Get-MgEducationSchoolUser.md | 4 ++- .../examples/v1.0/Get-MgEducationUser.md | 8 +++-- .../v1.0/Get-MgEducationUserAssignment.md | 8 +++-- .../examples/v1.0/Get-MgEducationUserDelta.md | 4 ++- .../v1.0/Get-MgEducationUserTaughtClass.md | 8 +++-- ...ssignEducationClassAssignmentSubmission.md | 8 +++-- ...eturnEducationClassAssignmentSubmission.md | 4 ++- ...ubmitEducationClassAssignmentSubmission.md | 4 ++- .../examples/v1.0/New-MgEducationClass.md | 4 ++- .../v1.0/New-MgEducationClassAssignment.md | 4 ++- .../New-MgEducationClassAssignmentCategory.md | 4 ++- ...MgEducationClassAssignmentCategoryByRef.md | 8 +++-- .../New-MgEducationClassAssignmentResource.md | 24 ++++++++++---- ...cationClassAssignmentSubmissionResource.md | 24 ++++++++++---- .../v1.0/New-MgEducationClassMemberByRef.md | 4 ++- .../v1.0/New-MgEducationClassTeacherByRef.md | 4 ++- .../examples/v1.0/New-MgEducationMeRubric.md | 8 +++-- .../examples/v1.0/New-MgEducationSchool.md | 4 ++- .../v1.0/New-MgEducationSchoolClassByRef.md | 4 ++- .../v1.0/New-MgEducationSchoolUserByRef.md | 4 ++- .../examples/v1.0/New-MgEducationUser.md | 4 ++- .../Publish-MgEducationClassAssignment.md | 4 ++- .../examples/v1.0/Remove-MgEducationClass.md | 4 ++- .../v1.0/Remove-MgEducationClassAssignment.md | 4 ++- ...move-MgEducationClassAssignmentCategory.md | 4 ++- ...MgEducationClassAssignmentCategoryByRef.md | 4 ++- ...move-MgEducationClassAssignmentResource.md | 4 ++- ...e-MgEducationClassAssignmentRubricByRef.md | 4 ++- ...cationClassAssignmentSubmissionResource.md | 4 ++- .../v1.0/Remove-MgEducationMeRubric.md | 4 ++- .../examples/v1.0/Remove-MgEducationSchool.md | 4 ++- .../examples/v1.0/Remove-MgEducationUser.md | 4 ++- ...t-MgEducationClassAssignmentRubricByRef.md | 4 ++- ...it-MgEducationClassAssignmentSubmission.md | 4 ++- .../examples/v1.0/Update-MgEducationClass.md | 4 ++- .../v1.0/Update-MgEducationClassAssignment.md | 4 ++- ...pdate-MgEducationClassAssignmentDefault.md | 4 ++- ...pdate-MgEducationClassAssignmentSetting.md | 4 ++- ...ucationClassAssignmentSubmissionOutcome.md | 12 +++++-- .../v1.0/Update-MgEducationMeRubric.md | 4 ++- .../examples/v1.0/Update-MgEducationSchool.md | 4 ++- .../examples/v1.0/Update-MgEducationUser.md | 4 ++- src/Files/Files/examples/v1.0/Get-MgDrive.md | 4 ++- .../examples/v1.0/Get-MgDriveItemChild.md | 4 ++- .../examples/v1.0/Get-MgGroupDefaultDrive.md | 4 ++- .../Files/examples/v1.0/Get-MgGroupDrive.md | 4 ++- .../examples/v1.0/Get-MgShareDriveItem.md | 8 +++-- ...t-MgShareSharedDriveItemSharedDriveItem.md | 4 ++- .../examples/v1.0/Get-MgUserDefaultDrive.md | 8 +++-- .../Files/examples/v1.0/Get-MgUserDrive.md | 8 +++-- .../examples/v1.0/Grant-MgSharePermission.md | 4 ++- .../v1.0/Invoke-MgCheckinDriveItem.md | 4 ++- .../v1.0/Invoke-MgCheckoutDriveItem.md | 4 ++- .../v1.0/Restore-MgDriveItemVersion.md | 4 ++- .../examples/v1.0/Add-MgGroupFavorite.md | 4 ++- .../v1.0/Get-MgGroupAcceptedSender.md | 4 ++- .../examples/v1.0/Get-MgGroupConversation.md | 12 +++++-- .../v1.0/Get-MgGroupConversationThread.md | 4 ++- .../Groups/examples/v1.0/Get-MgGroupDelta.md | 4 ++- .../v1.0/Get-MgGroupLifecyclePolicy.md | 8 +++-- .../v1.0/Get-MgGroupLifecyclePolicyByGroup.md | 4 ++- .../examples/v1.0/Get-MgGroupMemberOf.md | 4 ++- .../v1.0/Get-MgGroupPermissionGrant.md | 4 ++- .../Groups/examples/v1.0/Get-MgGroupPhoto.md | 4 ++- .../v1.0/Get-MgGroupRejectedSender.md | 4 ++- .../Groups/examples/v1.0/Get-MgGroupThread.md | 12 +++++-- .../examples/v1.0/Get-MgGroupThreadPost.md | 4 ++- .../v1.0/Get-MgGroupThreadPostAttachment.md | 4 ++- .../v1.0/Get-MgGroupThreadPostExtension.md | 4 ++- .../v1.0/Get-MgGroupTransitiveMember.md | 4 ++- .../v1.0/Get-MgGroupTransitiveMemberOf.md | 4 ++- .../v1.0/Invoke-MgForwardGroupThreadPost.md | 4 ++- .../examples/v1.0/Invoke-MgGraphGroup.md | 4 ++- .../examples/v1.0/Invoke-MgRenewGroup.md | 4 ++- .../v1.0/Invoke-MgReplyGroupThread.md | 16 +++++++--- .../v1.0/Invoke-MgReplyGroupThreadPost.md | 4 ++- .../v1.0/Invoke-MgSubscribeGroupByMail.md | 4 ++- .../v1.0/New-MgGroupAcceptedSenderByRef.md | 4 ++- .../examples/v1.0/New-MgGroupConversation.md | 4 ++- .../v1.0/New-MgGroupConversationThread.md | 4 ++- .../v1.0/New-MgGroupLifecyclePolicy.md | 4 ++- .../examples/v1.0/New-MgGroupMemberByRef.md | 4 ++- .../v1.0/New-MgGroupRejectedSenderByRef.md | 4 ++- .../Groups/examples/v1.0/New-MgGroupThread.md | 4 ++- .../v1.0/Remove-MgGroupConversation.md | 8 +++-- .../examples/v1.0/Remove-MgGroupFavorite.md | 4 ++- .../v1.0/Remove-MgGroupLifecyclePolicy.md | 4 ++- .../v1.0/Remove-MgGroupMemberByRef.md | 4 ++- .../examples/v1.0/Remove-MgGroupOwnerByRef.md | 4 ++- .../examples/v1.0/Remove-MgGroupThread.md | 8 +++-- .../examples/v1.0/Reset-MgGroupUnseenCount.md | 4 ++- .../examples/v1.0/Set-MgGroupLicense.md | 8 +++-- .../examples/v1.0/Test-MgGroupProperty.md | 4 ++- .../v1.0/Update-MgGroupLifecyclePolicy.md | 4 ++- .../examples/v1.0/Update-MgGroupThread.md | 4 ++- .../v1.0/Update-MgGroupThreadPostExtension.md | 4 ++- .../examples/v1.0/Confirm-MgDomain.md | 4 ++- .../examples/v1.0/Get-MgContactDelta.md | 4 ++- .../v1.0/Get-MgContactDirectReport.md | 4 ++- .../examples/v1.0/Get-MgContactManager.md | 4 ++- .../examples/v1.0/Get-MgContactMemberOf.md | 4 ++- .../v1.0/Get-MgContactTransitiveMemberOf.md | 4 ++- .../examples/v1.0/Get-MgContract.md | 8 +++-- .../examples/v1.0/Get-MgDevice.md | 28 ++++++++++++---- .../examples/v1.0/Get-MgDeviceMemberOf.md | 4 ++- .../v1.0/Get-MgDeviceRegisteredOwner.md | 4 ++- .../v1.0/Get-MgDeviceRegisteredUser.md | 4 ++- .../v1.0/Get-MgDeviceTransitiveMemberOf.md | 4 ++- .../v1.0/Get-MgDirectoryAdministrativeUnit.md | 8 +++-- ...Get-MgDirectoryAdministrativeUnitMember.md | 4 ++- ...gDirectoryAdministrativeUnitMemberByRef.md | 4 ++- ...ctoryAdministrativeUnitScopedRoleMember.md | 8 +++-- .../Get-MgDirectoryFederationConfiguration.md | 8 +++-- .../examples/v1.0/Get-MgDirectoryRoleDelta.md | 4 ++- .../v1.0/Get-MgDirectoryRoleScopedMember.md | 4 ++- .../v1.0/Get-MgDirectoryRoleTemplate.md | 8 +++-- .../v1.0/Get-MgDomainNameReference.md | 4 ++- .../Get-MgDomainServiceConfigurationRecord.md | 4 ++- .../v1.0/Get-MgDomainVerificationDnsRecord.md | 4 ++- .../examples/v1.0/Get-MgOrganization.md | 8 +++-- .../v1.0/Get-MgOrganizationBranding.md | 12 +++++-- .../Get-MgOrganizationBrandingLocalization.md | 8 +++-- ...anizationBrandingLocalizationBannerLogo.md | 12 +++++-- .../v1.0/Invoke-MgForceDomainDelete.md | 4 ++- .../examples/v1.0/New-MgDevice.md | 4 ++- .../v1.0/New-MgDeviceRegisteredOwnerByRef.md | 4 ++- .../v1.0/New-MgDeviceRegisteredUserByRef.md | 4 ++- .../v1.0/New-MgDirectoryAdministrativeUnit.md | 4 ++- ...gDirectoryAdministrativeUnitMemberByRef.md | 4 ++- ...ctoryAdministrativeUnitScopedRoleMember.md | 4 ++- .../New-MgDirectoryFederationConfiguration.md | 4 ++- .../examples/v1.0/New-MgDirectoryRole.md | 4 ++- .../examples/v1.0/New-MgDomain.md | 4 ++- .../New-MgOrganizationBrandingLocalization.md | 4 ++- .../examples/v1.0/Remove-MgDevice.md | 4 ++- .../Remove-MgDeviceRegisteredOwnerByRef.md | 4 ++- .../Remove-MgDirectoryAdministrativeUnit.md | 4 ++- ...gDirectoryAdministrativeUnitMemberByRef.md | 4 ++- ...ctoryAdministrativeUnitScopedRoleMember.md | 4 ++- .../v1.0/Remove-MgDirectoryDeletedItem.md | 4 ++- ...move-MgDirectoryFederationConfiguration.md | 4 ++- .../v1.0/Remove-MgDirectoryRoleMemberByRef.md | 4 ++- .../examples/v1.0/Remove-MgDomain.md | 4 ++- ...move-MgOrganizationBrandingLocalization.md | 4 ++- .../v1.0/Restore-MgDirectoryDeletedItem.md | 4 ++- .../examples/v1.0/Update-MgDevice.md | 8 +++-- .../Update-MgDirectoryAdministrativeUnit.md | 4 ++- .../examples/v1.0/Update-MgDomain.md | 4 ++- .../examples/v1.0/Update-MgOrganization.md | 4 ++- .../v1.0/Update-MgOrganizationBranding.md | 4 ++- ...date-MgOrganizationBrandingLocalization.md | 8 +++-- ...eAccessReviewDefinitionInstanceDecision.md | 4 ++- ...et-MgEntitlementManagementAccessPackage.md | 12 +++++-- ...ccessPackageApplicablePolicyRequirement.md | 4 ++- ...entAccessPackageAssignmentApprovalStage.md | 8 +++-- .../Get-MgEntitlementManagementAssignment.md | 12 +++++-- ...MgEntitlementManagementAssignmentPolicy.md | 8 +++-- ...gEntitlementManagementAssignmentRequest.md | 12 +++++-- .../Get-MgEntitlementManagementCatalog.md | 8 +++-- ...itlementManagementConnectedOrganization.md | 8 +++-- .../Get-MgEntitlementManagementSetting.md | 4 ++- ...dentityGovernanceAccessReviewDefinition.md | 16 +++++++--- ...overnanceAccessReviewDefinitionInstance.md | 12 +++++-- ...viewDefinitionInstanceContactedReviewer.md | 4 ++- ...eAccessReviewDefinitionInstanceDecision.md | 12 +++++-- ...anceAccessReviewDefinitionInstanceStage.md | 12 +++++-- ...ssReviewDefinitionInstanceStageDecision.md | 12 +++++-- ...GovernanceAccessReviewHistoryDefinition.md | 8 +++-- ...ceAccessReviewHistoryDefinitionInstance.md | 4 ++- ...t-MgIdentityGovernanceAppConsentRequest.md | 16 +++++++--- ...anceAppConsentRequestUserConsentRequest.md | 12 +++++-- ...-MgIdentityGovernanceTermOfUseAgreement.md | 16 +++++++--- ...dentityGovernanceTermOfUseAgreementFile.md | 4 ++- .../v1.0/Get-MgUserAgreementAcceptance.md | 4 ++- ...sReviewDefinitionInstanceRecommendation.md | 4 ++- ...sReviewDefinitionInstanceRecordDecision.md | 4 ++- ...ew-MgEntitlementManagementAccessPackage.md | 4 ++- ...MgEntitlementManagementAssignmentPolicy.md | 8 +++-- ...gEntitlementManagementAssignmentRequest.md | 20 +++++++++--- .../New-MgEntitlementManagementCatalog.md | 4 ++- ...itlementManagementConnectedOrganization.md | 4 ++- ...nnectedOrganizationExternalSponsorByRef.md | 4 ++- ...nnectedOrganizationInternalSponsorByRef.md | 4 ++- ...dentityGovernanceAccessReviewDefinition.md | 16 +++++++--- ...GovernanceAccessReviewHistoryDefinition.md | 4 ++- ...iewHistoryDefinitionInstanceDownloadUri.md | 4 ++- ...-MgIdentityGovernanceTermOfUseAgreement.md | 4 ++- ...ve-MgEntitlementManagementAccessPackage.md | 4 ++- ...MgEntitlementManagementAssignmentPolicy.md | 4 ++- ...gEntitlementManagementAssignmentRequest.md | 4 ++- .../Remove-MgEntitlementManagementCatalog.md | 4 ++- ...itlementManagementConnectedOrganization.md | 4 ++- ...nnectedOrganizationExternalSponsorByRef.md | 4 ++- ...nnectedOrganizationInternalSponsorByRef.md | 4 ++- ...dentityGovernanceAccessReviewDefinition.md | 4 ++- ...-MgIdentityGovernanceTermOfUseAgreement.md | 4 ++- ...eAccessReviewDefinitionInstanceDecision.md | 4 ++- ...eAccessReviewDefinitionInstanceReminder.md | 4 ++- ...gEntitlementManagementAssignmentRequest.md | 4 ++- ...overnanceAccessReviewDefinitionInstance.md | 4 ++- ...anceAccessReviewDefinitionInstanceStage.md | 4 ++- ...te-MgEntitlementManagementAccessPackage.md | 4 ++- .../Update-MgEntitlementManagementCatalog.md | 4 ++- ...itlementManagementConnectedOrganization.md | 4 ++- .../Update-MgEntitlementManagementSetting.md | 4 ++- ...overnanceAccessReviewDefinitionInstance.md | 4 ++- ...anceAccessReviewDefinitionInstanceStage.md | 4 ++- ...ssReviewDefinitionInstanceStageDecision.md | 12 +++++-- ...-MgIdentityGovernanceTermOfUseAgreement.md | 4 ++- .../v1.0/Confirm-MgRiskyUserCompromised.md | 4 ++- .../v1.0/Get-MgDataPolicyOperation.md | 4 ++- .../v1.0/Get-MgIdentityApiConnector.md | 8 +++-- .../v1.0/Get-MgIdentityB2XUserFlow.md | 12 +++++-- ...t-MgIdentityB2XUserFlowIdentityProvider.md | 4 ++- .../v1.0/Get-MgIdentityB2XUserFlowLanguage.md | 8 +++-- ...tyB2XUserFlowLanguageDefaultPageContent.md | 4 ++- ...IdentityB2XUserFlowLanguageOverridePage.md | 4 ++- ...ntityB2XUserFlowUserAttributeAssignment.md | 16 +++++++--- ...B2XUserFlowUserAttributeAssignmentOrder.md | 4 ++- .../examples/v1.0/Get-MgIdentityProvider.md | 32 ++++++++++++++----- .../v1.0/Get-MgIdentityUserFlowAttribute.md | 8 +++-- ...formationProtectionBitlockerRecoveryKey.md | 16 +++++++--- ...mationProtectionThreatAssessmentRequest.md | 24 ++++++++++---- .../v1.0/Get-MgOauth2PermissionGrant.md | 8 +++-- .../v1.0/Get-MgOauth2PermissionGrantDelta.md | 4 ++- ...zationCertificateBasedAuthConfiguration.md | 8 +++-- .../Get-MgPolicyActivityBasedTimeoutPolicy.md | 8 +++-- .../Get-MgPolicyAdminConsentRequestPolicy.md | 4 ++- .../Get-MgPolicyAuthenticationFlowPolicy.md | 4 ++- .../Get-MgPolicyAuthenticationMethodPolicy.md | 4 ++- ...PolicyAuthenticationMethodConfiguration.md | 16 +++++++--- .../v1.0/Get-MgPolicyClaimMappingPolicy.md | 8 +++-- .../Get-MgPolicyCrossTenantAccessPolicy.md | 4 ++- ...-MgPolicyCrossTenantAccessPolicyDefault.md | 4 ++- ...-MgPolicyCrossTenantAccessPolicyPartner.md | 8 +++-- .../v1.0/Get-MgPolicyFeatureRolloutPolicy.md | 12 +++++-- .../Get-MgPolicyHomeRealmDiscoveryPolicy.md | 8 +++-- ...dentitySecurityDefaultEnforcementPolicy.md | 4 ++- .../v1.0/Get-MgPolicyPermissionGrantPolicy.md | 8 +++-- ...et-MgPolicyPermissionGrantPolicyExclude.md | 4 ++- ...et-MgPolicyPermissionGrantPolicyInclude.md | 4 ++- .../v1.0/Get-MgPolicyRoleManagementPolicy.md | 16 +++++++--- ...-MgPolicyRoleManagementPolicyAssignment.md | 16 +++++++--- .../Get-MgPolicyRoleManagementPolicyRule.md | 8 +++-- .../v1.0/Get-MgPolicyTokenIssuancePolicy.md | 8 +++-- .../v1.0/Get-MgPolicyTokenLifetimePolicy.md | 8 +++-- .../examples/v1.0/Get-MgRiskDetection.md | 8 +++-- .../examples/v1.0/Get-MgRiskyUser.md | 8 +++-- .../examples/v1.0/Get-MgRiskyUserHistory.md | 8 +++-- .../Get-MgUserAuthenticationEmailMethod.md | 8 +++-- .../Get-MgUserAuthenticationFido2Method.md | 4 ++- ...henticationMicrosoftAuthenticatorMethod.md | 4 ++- .../v1.0/Get-MgUserAuthenticationOperation.md | 4 ++- .../Get-MgUserAuthenticationPasswordMethod.md | 8 +++-- .../Get-MgUserAuthenticationPhoneMethod.md | 8 +++-- ...-MgUserAuthenticationSoftwareOathMethod.md | 8 +++-- ...AuthenticationTemporaryAccessPassMethod.md | 8 +++-- ...henticationWindowHelloForBusinessMethod.md | 8 +++-- .../Invoke-MgAvailableIdentityProviderType.md | 12 +++++-- .../v1.0/Invoke-MgDismissRiskyUser.md | 4 ++- ...adIdentityApiConnectorClientCertificate.md | 4 ++- .../v1.0/New-MgIdentityApiConnector.md | 12 +++++-- .../v1.0/New-MgIdentityB2XUserFlow.md | 12 +++++-- ...ntityB2XUserFlowUserAttributeAssignment.md | 4 ++- .../examples/v1.0/New-MgIdentityProvider.md | 8 +++-- .../v1.0/New-MgIdentityUserFlowAttribute.md | 4 ++- ...mationProtectionThreatAssessmentRequest.md | 16 +++++++--- .../v1.0/New-MgOauth2PermissionGrant.md | 4 ++- .../New-MgPolicyActivityBasedTimeoutPolicy.md | 4 ++- .../v1.0/New-MgPolicyClaimMappingPolicy.md | 4 ++- ...-MgPolicyCrossTenantAccessPolicyPartner.md | 4 ++- .../v1.0/New-MgPolicyFeatureRolloutPolicy.md | 4 ++- ...gPolicyFeatureRolloutPolicyApplyToByRef.md | 4 ++- .../New-MgPolicyHomeRealmDiscoveryPolicy.md | 4 ++- .../v1.0/New-MgPolicyPermissionGrantPolicy.md | 4 ++- ...ew-MgPolicyPermissionGrantPolicyExclude.md | 4 ++- ...ew-MgPolicyPermissionGrantPolicyInclude.md | 4 ++- .../v1.0/New-MgPolicyTokenIssuancePolicy.md | 4 ++- .../v1.0/New-MgPolicyTokenLifetimePolicy.md | 4 ++- .../New-MgUserAuthenticationEmailMethod.md | 4 ++- .../New-MgUserAuthenticationPhoneMethod.md | 4 ++- ...AuthenticationTemporaryAccessPassMethod.md | 4 ++- .../v1.0/Remove-MgIdentityApiConnector.md | 4 ++- .../v1.0/Remove-MgIdentityB2XUserFlow.md | 4 ++- ...ntityB2XUserFlowUserAttributeAssignment.md | 4 ++- .../v1.0/Remove-MgIdentityProvider.md | 8 +++-- .../Remove-MgIdentityUserFlowAttribute.md | 4 ++- .../v1.0/Remove-MgOauth2PermissionGrant.md | 4 ++- ...move-MgPolicyActivityBasedTimeoutPolicy.md | 4 ++- ...PolicyAuthenticationMethodConfiguration.md | 16 +++++++--- .../v1.0/Remove-MgPolicyClaimMappingPolicy.md | 4 ++- ...-MgPolicyCrossTenantAccessPolicyPartner.md | 4 ++- .../Remove-MgPolicyFeatureRolloutPolicy.md | 4 ++- ...gPolicyFeatureRolloutPolicyApplyToByRef.md | 4 ++- ...Remove-MgPolicyHomeRealmDiscoveryPolicy.md | 4 ++- .../Remove-MgPolicyPermissionGrantPolicy.md | 4 ++- ...ve-MgPolicyPermissionGrantPolicyExclude.md | 4 ++- ...ve-MgPolicyPermissionGrantPolicyInclude.md | 4 ++- .../Remove-MgPolicyTokenIssuancePolicy.md | 4 ++- .../Remove-MgPolicyTokenLifetimePolicy.md | 4 ++- .../Remove-MgUserAuthenticationEmailMethod.md | 4 ++- .../Remove-MgUserAuthenticationFido2Method.md | 4 ++- ...henticationMicrosoftAuthenticatorMethod.md | 4 ++- .../Remove-MgUserAuthenticationPhoneMethod.md | 4 ++- ...-MgUserAuthenticationSoftwareOathMethod.md | 4 ++- ...AuthenticationTemporaryAccessPassMethod.md | 4 ++- ...henticationWindowHelloForBusinessMethod.md | 4 ++- ...enantAccessPolicyDefaultToSystemDefault.md | 4 ++- ...yB2XUserFlowLanguageOverridePageContent.md | 4 ++- ...B2XUserFlowUserAttributeAssignmentOrder.md | 4 ++- .../v1.0/Update-MgIdentityApiConnector.md | 12 +++++-- ...ntityB2XUserFlowUserAttributeAssignment.md | 4 ++- .../v1.0/Update-MgIdentityProvider.md | 12 +++++-- .../Update-MgIdentityUserFlowAttribute.md | 4 ++- .../v1.0/Update-MgOauth2PermissionGrant.md | 4 ++- ...date-MgPolicyActivityBasedTimeoutPolicy.md | 4 ++- ...Update-MgPolicyAuthenticationFlowPolicy.md | 4 ++- ...date-MgPolicyAuthenticationMethodPolicy.md | 4 ++- ...PolicyAuthenticationMethodConfiguration.md | 16 +++++++--- .../v1.0/Update-MgPolicyClaimMappingPolicy.md | 4 ++- .../Update-MgPolicyCrossTenantAccessPolicy.md | 4 ++- ...-MgPolicyCrossTenantAccessPolicyDefault.md | 4 ++- ...-MgPolicyCrossTenantAccessPolicyPartner.md | 4 ++- .../Update-MgPolicyFeatureRolloutPolicy.md | 4 ++- ...Update-MgPolicyHomeRealmDiscoveryPolicy.md | 4 ++- ...dentitySecurityDefaultEnforcementPolicy.md | 4 ++- .../Update-MgPolicyPermissionGrantPolicy.md | 4 ++- ...Update-MgPolicyRoleManagementPolicyRule.md | 4 ++- .../Update-MgPolicyTokenIssuancePolicy.md | 4 ++- .../Update-MgPolicyTokenLifetimePolicy.md | 4 ++- .../Update-MgUserAuthenticationEmailMethod.md | 4 ++- .../Update-MgUserAuthenticationPhoneMethod.md | 4 ++- ...t-MgUserInferenceClassificationOverride.md | 4 ++- .../examples/v1.0/Get-MgUserMailFolder.md | 12 +++++-- .../v1.0/Get-MgUserMailFolderChildFolder.md | 4 ++- .../v1.0/Get-MgUserMailFolderMessage.md | 4 ++- .../v1.0/Get-MgUserMailFolderMessageRule.md | 8 +++-- .../Mail/examples/v1.0/Get-MgUserMessage.md | 20 +++++++++--- .../v1.0/Get-MgUserMessageAttachment.md | 28 ++++++++++++---- .../v1.0/Get-MgUserMessageExtension.md | 4 ++- ...w-MgUserInferenceClassificationOverride.md | 4 ++- .../examples/v1.0/New-MgUserMailFolder.md | 4 ++- .../v1.0/New-MgUserMailFolderChildFolder.md | 8 +++-- .../v1.0/New-MgUserMailFolderMessage.md | 4 ++- .../v1.0/New-MgUserMailFolderMessageRule.md | 4 ++- .../Mail/examples/v1.0/New-MgUserMessage.md | 8 +++-- .../v1.0/New-MgUserMessageAttachment.md | 8 +++-- ...e-MgUserInferenceClassificationOverride.md | 4 ++- .../examples/v1.0/Remove-MgUserMailFolder.md | 4 ++- .../Remove-MgUserMailFolderMessageRule.md | 4 ++- .../examples/v1.0/Remove-MgUserMessage.md | 8 +++-- .../v1.0/Remove-MgUserMessageExtension.md | 4 ++- ...e-MgUserInferenceClassificationOverride.md | 4 ++- .../examples/v1.0/Update-MgUserMailFolder.md | 8 +++-- .../Update-MgUserMailFolderMessageRule.md | 4 ++- .../examples/v1.0/Update-MgUserMessage.md | 8 +++-- .../v1.0/Get-MgUserOnenoteNotebook.md | 12 +++++-- .../v1.0/Get-MgUserOnenoteNotebookSection.md | 4 ++- .../Get-MgUserOnenoteNotebookSectionGroup.md | 4 ++- .../v1.0/Get-MgUserOnenoteOperation.md | 4 ++- .../examples/v1.0/Get-MgUserOnenoteSection.md | 8 +++-- .../v1.0/Get-MgUserOnenoteSectionGroup.md | 4 ++- .../Get-MgUserOnenoteSectionGroupSection.md | 4 ++- .../v1.0/New-MgUserOnenoteNotebook.md | 4 ++- .../v1.0/New-MgUserOnenoteNotebookSection.md | 4 ++- .../New-MgUserOnenoteNotebookSectionGroup.md | 4 ++- .../New-MgUserOnenoteSectionGroupSection.md | 4 ++- .../examples/v1.0/Remove-MgUserOnenotePage.md | 4 ++- .../People/examples/v1.0/Get-MgUserPerson.md | 4 ++- .../examples/v1.0/Get-MgUserUsedInsight.md | 8 +++-- .../examples/v1.0/Get-MgUserContact.md | 8 +++-- .../examples/v1.0/Get-MgUserContactFolder.md | 8 +++-- .../Get-MgUserContactFolderChildFolder.md | 4 ++- .../v1.0/Get-MgUserContactFolderContact.md | 4 ++- .../examples/v1.0/New-MgUserContact.md | 4 ++- .../examples/v1.0/New-MgUserContactFolder.md | 4 ++- .../New-MgUserContactFolderChildFolder.md | 4 ++- .../v1.0/New-MgUserContactFolderContact.md | 4 ++- .../examples/v1.0/Remove-MgUserContact.md | 4 ++- .../v1.0/Remove-MgUserContactFolder.md | 4 ++- .../examples/v1.0/Update-MgUserContact.md | 4 ++- .../v1.0/Update-MgUserContactFolder.md | 4 ++- .../examples/v1.0/Get-MgGroupPlannerPlan.md | 4 ++- .../Planner/examples/v1.0/Get-MgPlanner.md | 4 ++- .../examples/v1.0/Get-MgPlannerBucket.md | 8 +++-- .../examples/v1.0/Get-MgPlannerBucketTask.md | 4 ++- .../examples/v1.0/Get-MgPlannerPlan.md | 8 +++-- .../examples/v1.0/Get-MgPlannerPlanBucket.md | 4 ++- .../examples/v1.0/Get-MgPlannerPlanDetail.md | 4 ++- .../examples/v1.0/Get-MgPlannerPlanTask.md | 4 ++- .../examples/v1.0/Get-MgPlannerTask.md | 8 +++-- ...-MgPlannerTaskAssignedToTaskBoardFormat.md | 4 ++- .../Get-MgPlannerTaskBucketTaskBoardFormat.md | 4 ++- .../examples/v1.0/Get-MgPlannerTaskDetail.md | 4 ++- ...et-MgPlannerTaskProgressTaskBoardFormat.md | 4 ++- .../examples/v1.0/Get-MgUserPlannerPlan.md | 4 ++- .../examples/v1.0/Get-MgUserPlannerTask.md | 4 ++- .../examples/v1.0/New-MgPlannerBucket.md | 4 ++- .../examples/v1.0/New-MgPlannerPlan.md | 4 ++- .../examples/v1.0/New-MgPlannerTask.md | 4 ++- .../examples/v1.0/Remove-MgPlannerBucket.md | 4 ++- .../examples/v1.0/Remove-MgPlannerPlan.md | 4 ++- .../examples/v1.0/Remove-MgPlannerTask.md | 4 ++- .../examples/v1.0/Update-MgPlannerBucket.md | 4 ++- .../examples/v1.0/Update-MgPlannerPlan.md | 4 ++- .../v1.0/Update-MgPlannerPlanDetail.md | 4 ++- .../examples/v1.0/Update-MgPlannerTask.md | 4 ++- ...-MgPlannerTaskAssignedToTaskBoardFormat.md | 4 ++- ...date-MgPlannerTaskBucketTaskBoardFormat.md | 4 ++- .../v1.0/Update-MgPlannerTaskDetail.md | 4 ++- ...te-MgPlannerTaskProgressTaskBoardFormat.md | 4 ++- .../v1.0/Get-MgAuditLogDirectoryAudit.md | 8 +++-- .../v1.0/Get-MgAuditLogProvisioning.md | 8 +++-- .../examples/v1.0/Get-MgAuditLogSignIn.md | 12 +++++-- .../Get-MgReportDailyPrintUsageByPrinter.md | 8 +++-- .../v1.0/Get-MgReportDailyPrintUsageByUser.md | 8 +++-- .../Get-MgReportMonthlyPrintUsageByPrinter.md | 4 ++- .../Get-MgReportMonthlyPrintUsageByUser.md | 4 ++- .../examples/v1.0/Get-MgSchemaExtension.md | 8 +++-- .../examples/v1.0/New-MgSchemaExtension.md | 12 +++++-- .../examples/v1.0/Remove-MgSchemaExtension.md | 4 ++- .../examples/v1.0/Update-MgSchemaExtension.md | 8 +++-- .../examples/v1.0/Get-MgExternalConnection.md | 8 +++-- .../v1.0/Get-MgExternalConnectionGroup.md | 4 ++- .../v1.0/Get-MgExternalConnectionItem.md | 4 ++- .../v1.0/Get-MgExternalConnectionOperation.md | 4 ++- .../v1.0/Get-MgExternalConnectionSchema.md | 4 ++- .../examples/v1.0/New-MgExternalConnection.md | 4 ++- .../v1.0/New-MgExternalConnectionGroup.md | 4 ++- .../New-MgExternalConnectionGroupMember.md | 12 +++++-- .../v1.0/Remove-MgExternalConnection.md | 4 ++- .../v1.0/Remove-MgExternalConnectionGroup.md | 4 ++- .../Remove-MgExternalConnectionGroupMember.md | 4 ++- .../v1.0/Remove-MgExternalConnectionItem.md | 4 ++- .../v1.0/Update-MgExternalConnection.md | 4 ++- .../v1.0/Update-MgExternalConnectionGroup.md | 4 ++- .../v1.0/Update-MgExternalConnectionItem.md | 4 ++- ...SecurityCaseEdiscoveryCaseCustodianHold.md | 8 +++-- ...discoveryCaseNoncustodialDataSourceHold.md | 8 +++-- ...rityCaseEdiscoveryCaseReviewSetQueryTag.md | 4 ++- ...yCaseEdiscoveryCaseReviewSetToReviewSet.md | 4 ++- .../Close-MgSecurityCaseEdiscoveryCase.md | 4 ++- .../examples/v1.0/Get-MgSecurityAlert.md | 8 +++-- .../v1.0/Get-MgSecurityCaseEdiscoveryCase.md | 8 +++-- ...t-MgSecurityCaseEdiscoveryCaseCustodian.md | 8 +++-- ...iscoveryCaseCustodianLastIndexOperation.md | 4 ++- ...tyCaseEdiscoveryCaseCustodianSiteSource.md | 4 ++- ...iscoveryCaseCustodianUnifiedGroupSource.md | 4 ++- ...tyCaseEdiscoveryCaseCustodianUserSource.md | 4 ++- ...aseEdiscoveryCaseNoncustodialDataSource.md | 12 +++++-- ...t-MgSecurityCaseEdiscoveryCaseOperation.md | 8 +++-- ...t-MgSecurityCaseEdiscoveryCaseReviewSet.md | 8 +++-- ...ecurityCaseEdiscoveryCaseReviewSetQuery.md | 8 +++-- .../Get-MgSecurityCaseEdiscoveryCaseSearch.md | 8 +++-- ...aseEdiscoveryCaseSearchAdditionalSource.md | 8 +++-- ...CaseEdiscoveryCaseSearchCustodianSource.md | 4 ++- ...seSearchLastEstimateStatisticsOperation.md | 4 ++- ...eEdiscoveryCaseSearchNoncustodialSource.md | 4 ++- ...Get-MgSecurityCaseEdiscoveryCaseSetting.md | 4 ++- .../Get-MgSecurityCaseEdiscoveryCaseTag.md | 8 +++-- .../v1.0/Get-MgSecuritySecureScore.md | 8 +++-- ...Get-MgSecuritySecureScoreControlProfile.md | 8 +++-- ...e-MgSecurityCaseEdiscoveryCaseCustodian.md | 4 ++- ...sSecurityCaseEdiscoveryCaseTagHierarchy.md | 4 ++- ...urityCaseEdiscoveryCaseSearchStatistics.md | 4 ++- ...voke-MgReopenSecurityCaseEdiscoveryCase.md | 4 ++- .../v1.0/New-MgSecurityCaseEdiscoveryCase.md | 4 ++- ...w-MgSecurityCaseEdiscoveryCaseCustodian.md | 4 ++- ...tyCaseEdiscoveryCaseCustodianSiteSource.md | 4 ++- ...iscoveryCaseCustodianUnifiedGroupSource.md | 12 +++++-- ...aseEdiscoveryCaseNoncustodialDataSource.md | 4 ++- ...w-MgSecurityCaseEdiscoveryCaseReviewSet.md | 4 ++- ...ecurityCaseEdiscoveryCaseReviewSetQuery.md | 4 ++- .../New-MgSecurityCaseEdiscoveryCaseSearch.md | 4 ++- ...h-MgSecurityCaseEdiscoveryCaseCustodian.md | 4 ++- ...aseEdiscoveryCaseNoncustodialDataSource.md | 4 ++- .../Remove-MgSecurityCaseEdiscoveryCase.md | 4 ++- ...SecurityCaseEdiscoveryCaseCustodianHold.md | 4 ++- ...discoveryCaseNoncustodialDataSourceHold.md | 8 +++-- ...ecurityCaseEdiscoveryCaseReviewSetQuery.md | 4 ++- ...move-MgSecurityCaseEdiscoveryCaseSearch.md | 4 ++- .../Remove-MgSecurityCaseEdiscoveryCaseTag.md | 4 ++- ...urityCaseEdiscoveryCaseSettingToDefault.md | 4 ++- .../examples/v1.0/Update-MgSecurityAlert.md | 8 +++-- .../Update-MgSecurityCaseEdiscoveryCase.md | 4 ++- ...ecurityCaseEdiscoveryCaseCustodianIndex.md | 4 ++- ...iscoveryCaseNoncustodialDataSourceIndex.md | 4 ++- ...ecurityCaseEdiscoveryCaseReviewSetQuery.md | 4 ++- ...date-MgSecurityCaseEdiscoveryCaseSearch.md | 4 ++- ...ate-MgSecurityCaseEdiscoveryCaseSetting.md | 4 ++- ...ate-MgSecuritySecureScoreControlProfile.md | 8 +++-- .../v1.0/Add-MgSiteListContentTypeCopy.md | 4 ++- ...teListContentTypeCopyFromContentTypeHub.md | 12 +++++-- ...SiteContentTypeToDefaultContentLocation.md | 4 ++- src/Sites/Sites/examples/v1.0/Get-MgSite.md | 12 +++++-- .../Sites/examples/v1.0/Get-MgSiteColumn.md | 4 ++- .../examples/v1.0/Get-MgSiteContentType.md | 12 +++++-- .../v1.0/Get-MgSiteContentTypeColumn.md | 8 +++-- .../examples/v1.0/Get-MgSiteDefaultDrive.md | 4 ++- .../Sites/examples/v1.0/Get-MgSiteDrive.md | 4 ++- .../Sites/examples/v1.0/Get-MgSiteList.md | 24 ++++++++++---- .../examples/v1.0/Get-MgSiteListColumn.md | 4 ++- .../v1.0/Get-MgSiteListContentType.md | 4 ++- ...ListContentTypeCompatibleHubContentType.md | 4 ++- .../Sites/examples/v1.0/Get-MgSiteListItem.md | 4 ++- .../Get-MgSiteListItemDocumentSetVersion.md | 8 +++-- .../v1.0/Get-MgSiteListItemVersion.md | 8 +++-- .../examples/v1.0/Get-MgSitePermission.md | 8 +++-- .../examples/v1.0/Get-MgSiteTermStore.md | 4 ++- .../examples/v1.0/Get-MgSiteTermStoreGroup.md | 12 +++++-- .../v1.0/Get-MgSiteTermStoreGroupSet.md | 4 ++- .../v1.0/Get-MgSiteTermStoreGroupSetTerm.md | 4 ++- .../examples/v1.0/Get-MgSiteTermStoreSet.md | 4 ++- .../v1.0/Get-MgSiteTermStoreSetChild.md | 4 ++- .../v1.0/Get-MgSiteTermStoreSetRelation.md | 4 ++- .../Sites/examples/v1.0/Get-MgSubSite.md | 4 ++- .../examples/v1.0/Get-MgUserFollowedSite.md | 4 ++- .../v1.0/Join-MgSiteContentTypeWithHubSite.md | 4 ++- .../Sites/examples/v1.0/New-MgSiteColumn.md | 4 ++- .../examples/v1.0/New-MgSiteContentType.md | 4 ++- .../v1.0/New-MgSiteContentTypeColumn.md | 4 ++- .../Sites/examples/v1.0/New-MgSiteList.md | 4 ++- .../examples/v1.0/New-MgSiteListColumn.md | 4 ++- .../Sites/examples/v1.0/New-MgSiteListItem.md | 4 ++- .../New-MgSiteListItemDocumentSetVersion.md | 4 ++- .../examples/v1.0/New-MgSitePermission.md | 4 ++- .../examples/v1.0/New-MgSiteTermStoreGroup.md | 4 ++- .../v1.0/New-MgSiteTermStoreSetChild.md | 4 ++- .../v1.0/Publish-MgSiteContentType.md | 4 ++- .../examples/v1.0/Remove-MgSiteContentType.md | 4 ++- .../v1.0/Remove-MgSiteContentTypeColumn.md | 4 ++- .../examples/v1.0/Remove-MgSiteListItem.md | 4 ++- ...Remove-MgSiteListItemDocumentSetVersion.md | 4 ++- .../examples/v1.0/Remove-MgSitePermission.md | 4 ++- .../v1.0/Remove-MgSiteTermStoreGroup.md | 4 ++- .../v1.0/Remove-MgSiteTermStoreSet.md | 4 ++- .../v1.0/Remove-MgSiteTermStoreSetTerm.md | 4 ++- ...estore-MgSiteListItemDocumentSetVersion.md | 4 ++- .../v1.0/Restore-MgSiteListItemVersion.md | 4 ++- .../v1.0/Test-MgSiteContentTypePublished.md | 4 ++- .../v1.0/Unpublish-MgSiteContentType.md | 4 ++- .../examples/v1.0/Update-MgSiteContentType.md | 4 ++- .../v1.0/Update-MgSiteListItemField.md | 4 ++- .../examples/v1.0/Update-MgSitePermission.md | 4 ++- .../examples/v1.0/Update-MgSiteTermStore.md | 4 ++- .../v1.0/Update-MgSiteTermStoreSet.md | 4 ++- .../v1.0/Update-MgSiteTermStoreSetTerm.md | 4 ++- .../Teams/examples/v1.0/Add-MgTeamMember.md | 12 +++++-- .../v1.0/Complete-MgTeamChannelMigration.md | 4 ++- .../examples/v1.0/Complete-MgTeamMigration.md | 4 ++- src/Teams/Teams/examples/v1.0/Copy-MgTeam.md | 4 ++- .../examples/v1.0/Get-MgAppCatalogTeamApp.md | 20 +++++++++--- .../Get-MgAppCatalogTeamAppDefinitionBot.md | 4 ++- src/Teams/Teams/examples/v1.0/Get-MgChat.md | 16 +++++++--- .../examples/v1.0/Get-MgChatInstalledApp.md | 16 +++++++--- .../Teams/examples/v1.0/Get-MgChatMember.md | 8 +++-- .../Teams/examples/v1.0/Get-MgChatMessage.md | 8 +++-- .../v1.0/Get-MgChatMessageHostedContent.md | 8 +++-- .../Teams/examples/v1.0/Get-MgChatTab.md | 12 +++++-- src/Teams/Teams/examples/v1.0/Get-MgTeam.md | 4 ++- .../Teams/examples/v1.0/Get-MgTeamChannel.md | 20 +++++++++--- .../v1.0/Get-MgTeamChannelFileFolder.md | 4 ++- .../examples/v1.0/Get-MgTeamChannelMember.md | 8 +++-- .../examples/v1.0/Get-MgTeamChannelMessage.md | 12 +++++-- .../Get-MgTeamChannelMessageHostedContent.md | 4 ++- .../v1.0/Get-MgTeamChannelMessageReply.md | 4 ++- ...-MgTeamChannelMessageReplyHostedContent.md | 4 ++- .../v1.0/Get-MgTeamChannelSharedWithTeam.md | 8 +++-- ...gTeamChannelSharedWithTeamAllowedMember.md | 4 ++- .../examples/v1.0/Get-MgTeamChannelTab.md | 8 +++-- .../v1.0/Get-MgTeamIncomingChannel.md | 4 ++- .../examples/v1.0/Get-MgTeamInstalledApp.md | 20 +++++++++--- .../Teams/examples/v1.0/Get-MgTeamMember.md | 16 +++++++--- .../examples/v1.0/Get-MgTeamPrimaryChannel.md | 4 ++- .../Teams/examples/v1.0/Get-MgTeamSchedule.md | 4 ++- .../Get-MgTeamScheduleOfferShiftRequest.md | 8 +++-- .../v1.0/Get-MgTeamScheduleOpenShift.md | 8 +++-- ...et-MgTeamScheduleOpenShiftChangeRequest.md | 8 +++-- .../v1.0/Get-MgTeamScheduleSchedulingGroup.md | 8 +++-- .../examples/v1.0/Get-MgTeamScheduleShift.md | 8 +++-- ...et-MgTeamScheduleSwapShiftChangeRequest.md | 8 +++-- .../v1.0/Get-MgTeamScheduleTimeOff.md | 8 +++-- .../v1.0/Get-MgTeamScheduleTimeOffReason.md | 8 +++-- .../v1.0/Get-MgTeamScheduleTimeOffRequest.md | 8 +++-- .../Get-MgTeamworkWorkforceIntegration.md | 8 +++-- .../Teams/examples/v1.0/Get-MgUserChat.md | 12 +++++-- .../examples/v1.0/Get-MgUserChatMember.md | 4 ++- .../examples/v1.0/Get-MgUserJoinedTeam.md | 4 ++- .../v1.0/Get-MgUserTeamworkAssociatedTeam.md | 4 ++- .../v1.0/Get-MgUserTeamworkInstalledApp.md | 16 +++++++--- .../Get-MgUserTeamworkInstalledAppChat.md | 4 ++- .../examples/v1.0/Invoke-MgArchiveTeam.md | 4 ++- .../v1.0/Invoke-MgShareTeamSchedule.md | 4 ++- .../examples/v1.0/Invoke-MgUnarchiveTeam.md | 4 ++- .../examples/v1.0/New-MgAppCatalogTeamApp.md | 4 ++- src/Teams/Teams/examples/v1.0/New-MgChat.md | 24 ++++++++++---- .../examples/v1.0/New-MgChatInstalledApp.md | 4 ++- .../Teams/examples/v1.0/New-MgChatMember.md | 16 +++++++--- .../Teams/examples/v1.0/New-MgChatMessage.md | 8 +++-- .../Teams/examples/v1.0/New-MgChatTab.md | 4 ++- src/Teams/Teams/examples/v1.0/New-MgTeam.md | 32 ++++++++++++++----- .../Teams/examples/v1.0/New-MgTeamChannel.md | 20 +++++++++--- .../examples/v1.0/New-MgTeamChannelEmail.md | 4 ++- .../examples/v1.0/New-MgTeamChannelMember.md | 28 ++++++++++++---- .../examples/v1.0/New-MgTeamChannelMessage.md | 32 ++++++++++++++----- .../v1.0/New-MgTeamChannelMessageReply.md | 8 +++-- .../examples/v1.0/New-MgTeamInstalledApp.md | 4 ++- .../Teams/examples/v1.0/New-MgTeamMember.md | 8 +++-- .../New-MgTeamScheduleOfferShiftRequest.md | 4 ++- .../v1.0/New-MgTeamScheduleOpenShift.md | 4 ++- ...ew-MgTeamScheduleOpenShiftChangeRequest.md | 4 ++- .../v1.0/New-MgTeamScheduleSchedulingGroup.md | 4 ++- .../examples/v1.0/New-MgTeamScheduleShift.md | 4 ++- ...ew-MgTeamScheduleSwapShiftChangeRequest.md | 4 ++- .../v1.0/New-MgTeamScheduleTimeOff.md | 4 ++- .../v1.0/New-MgTeamScheduleTimeOffReason.md | 4 ++- .../New-MgTeamworkWorkforceIntegration.md | 4 ++- .../v1.0/New-MgUserTeamworkInstalledApp.md | 4 ++- .../v1.0/Remove-MgAppCatalogTeamApp.md | 4 ++- .../v1.0/Remove-MgChatInstalledApp.md | 4 ++- .../examples/v1.0/Remove-MgChatMember.md | 4 ++- .../Teams/examples/v1.0/Remove-MgChatTab.md | 4 ++- .../examples/v1.0/Remove-MgTeamChannel.md | 4 ++- .../v1.0/Remove-MgTeamChannelEmail.md | 4 ++- .../v1.0/Remove-MgTeamChannelMember.md | 4 ++- .../Remove-MgTeamChannelSharedWithTeam.md | 4 ++- .../v1.0/Remove-MgTeamInstalledApp.md | 4 ++- .../examples/v1.0/Remove-MgTeamMember.md | 4 ++- .../v1.0/Remove-MgTeamScheduleOpenShift.md | 4 ++- .../Remove-MgTeamScheduleSchedulingGroup.md | 4 ++- .../v1.0/Remove-MgTeamScheduleShift.md | 4 ++- .../v1.0/Remove-MgTeamScheduleTimeOff.md | 4 ++- .../Remove-MgTeamScheduleTimeOffReason.md | 4 ++- .../Remove-MgTeamScheduleTimeOffRequest.md | 4 ++- .../Remove-MgTeamworkWorkforceIntegration.md | 4 ++- .../v1.0/Remove-MgUserTeamworkInstalledApp.md | 4 ++- .../v1.0/Send-MgChatActivityNotification.md | 20 +++++++++--- .../v1.0/Send-MgTeamActivityNotification.md | 16 +++++++--- .../Teams/examples/v1.0/Update-MgChat.md | 4 ++- .../v1.0/Update-MgChatInstalledApp.md | 4 ++- .../Teams/examples/v1.0/Update-MgChatTab.md | 4 ++- .../Teams/examples/v1.0/Update-MgTeam.md | 4 ++- .../examples/v1.0/Update-MgTeamChannel.md | 4 ++- .../v1.0/Update-MgTeamChannelMember.md | 4 ++- .../v1.0/Update-MgTeamChannelMessage.md | 4 ++- .../v1.0/Update-MgTeamInstalledApp.md | 4 ++- .../examples/v1.0/Update-MgTeamMember.md | 4 ++- .../v1.0/Update-MgTeamScheduleOpenShift.md | 4 ++- .../v1.0/Update-MgTeamScheduleShift.md | 4 ++- .../Update-MgTeamworkWorkforceIntegration.md | 4 ++- .../examples/v1.0/Clear-MgUserPresence.md | 4 ++- .../v1.0/Confirm-MgUserMemberGroup.md | 4 ++- .../v1.0/Confirm-MgUserMemberObject.md | 4 ++- .../examples/v1.0/Copy-MgUserMailFolder.md | 4 ++- .../examples/v1.0/Copy-MgUserMessage.md | 4 ++- .../v1.0/Copy-MgUserOnenoteNotebook.md | 4 ++- .../v1.0/Copy-MgUserOnenotePageToSection.md | 4 ++- .../Copy-MgUserOnenoteSectionToNotebook.md | 4 ++- ...Copy-MgUserOnenoteSectionToSectionGroup.md | 4 ++- ...e-MgUserAuthenticationPhoneMethodSmSign.md | 4 ++- ...e-MgUserAuthenticationPhoneMethodSmSign.md | 4 ++- .../v1.0/Export-MgUserPersonalData.md | 4 ++- .../examples/v1.0/Find-MgUserMeetingTime.md | 4 ++- .../v1.0/Get-MgUserDefaultCalendarSchedule.md | 4 ++- .../examples/v1.0/Get-MgUserMailTip.md | 4 ++- .../examples/v1.0/Get-MgUserMemberGroup.md | 4 ++- .../Get-MgUserOnenoteNotebookFromWebUrl.md | 4 ++- .../examples/v1.0/Invoke-MgAcceptUserEvent.md | 4 ++- .../Invoke-MgAcceptUserEventTentatively.md | 4 ++- .../Invoke-MgCreateOrGetUserOnlineMeeting.md | 4 ++- .../v1.0/Invoke-MgDeclineUserEvent.md | 4 ++- .../v1.0/Invoke-MgDismissUserEventReminder.md | 4 ++- .../v1.0/Invoke-MgForwardUserEvent.md | 4 ++- .../v1.0/Invoke-MgForwardUserMessage.md | 4 ++- .../examples/v1.0/Invoke-MgLicenseUser.md | 4 ++- .../v1.0/Invoke-MgReplyAllUserMessage.md | 4 ++- .../v1.0/Invoke-MgReplyUserMessage.md | 4 ++- .../v1.0/Invoke-MgSnoozeUserEventReminder.md | 4 ++- .../v1.0/Invoke-MgTranslateUserExchangeId.md | 4 ++- .../examples/v1.0/Move-MgUserMailFolder.md | 4 ++- .../examples/v1.0/Move-MgUserMessage.md | 4 ++- ...ew-MgUserMessageAttachmentUploadSession.md | 8 +++-- .../examples/v1.0/New-MgUserMessageForward.md | 4 ++- .../examples/v1.0/New-MgUserMessageReply.md | 4 ++- .../v1.0/New-MgUserMessageReplyAll.md | 4 ++- .../examples/v1.0/Revoke-MgUserSign.md | 4 ++- .../examples/v1.0/Send-MgUserMail.md | 12 +++++-- .../examples/v1.0/Send-MgUserMessage.md | 4 ++- ...Send-MgUserTeamworkActivityNotification.md | 12 +++++-- .../examples/v1.0/Set-MgUserPresence.md | 4 ++- .../examples/v1.0/Stop-MgUserEvent.md | 4 ++- .../examples/v1.0/Update-MgUserPassword.md | 4 ++- .../v1.0/Get-MgUserContactFolderDelta.md | 4 ++- .../examples/v1.0/Get-MgUserDelta.md | 4 ++- .../v1.0/Get-MgUserMailFolderMessageDelta.md | 4 ++- .../v1.0/Invoke-MgRecentUserActivity.md | 4 ++- .../Invoke-MgSupportedUserOutlookLanguage.md | 4 ++- .../examples/v1.0/Invoke-MgTimeUserOutlook.md | 4 ++- .../Users/examples/v1.0/Get-MgUserMemberOf.md | 4 ++- .../v1.0/Get-MgUserOutlookMasterCategory.md | 8 +++-- .../examples/v1.0/Get-MgUserOwnedDevice.md | 4 ++- .../examples/v1.0/Get-MgUserOwnedObject.md | 4 ++- .../v1.0/Get-MgUserRegisteredDevice.md | 4 ++- .../v1.0/Get-MgUserSettingShiftPreference.md | 4 ++- .../Users/examples/v1.0/Get-MgUserTodoList.md | 8 +++-- .../examples/v1.0/Get-MgUserTodoListTask.md | 8 +++-- .../Get-MgUserTodoListTaskChecklistItem.md | 8 +++-- .../Get-MgUserTodoListTaskLinkedResource.md | 8 +++-- .../v1.0/Get-MgUserTransitiveMemberOf.md | 4 ++- .../v1.0/New-MgUserOutlookMasterCategory.md | 4 ++- .../Users/examples/v1.0/New-MgUserTodoList.md | 4 ++- .../examples/v1.0/New-MgUserTodoListTask.md | 4 ++- .../New-MgUserTodoListTaskChecklistItem.md | 4 ++- .../New-MgUserTodoListTaskLinkedResource.md | 4 ++- .../Remove-MgUserOutlookMasterCategory.md | 4 ++- .../examples/v1.0/Remove-MgUserTodoList.md | 4 ++- .../v1.0/Remove-MgUserTodoListTask.md | 4 ++- .../Remove-MgUserTodoListTaskChecklistItem.md | 4 ++- ...Remove-MgUserTodoListTaskLinkedResource.md | 4 ++- .../Update-MgUserOutlookMasterCategory.md | 4 ++- .../Update-MgUserSettingShiftPreference.md | 4 ++- .../examples/v1.0/Update-MgUserTodoList.md | 4 ++- .../v1.0/Update-MgUserTodoListTask.md | 4 ++- .../Update-MgUserTodoListTaskChecklistItem.md | 4 ++- ...Update-MgUserTodoListTaskLinkedResource.md | 4 ++- 966 files changed, 4305 insertions(+), 1435 deletions(-) diff --git a/src/Applications/Applications/examples/v1.0/Add-MgApplicationKey.md b/src/Applications/Applications/examples/v1.0/Add-MgApplicationKey.md index 9bbd73fb228..a9022723b6b 100644 --- a/src/Applications/Applications/examples/v1.0/Add-MgApplicationKey.md +++ b/src/Applications/Applications/examples/v1.0/Add-MgApplicationKey.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Add-MgApplicationKey Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -12,7 +12,9 @@ $params = @{ } Add-MgApplicationKey -ApplicationId $applicationId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Add-MgApplicationKey Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Add-MgApplicationKey Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -28,3 +30,5 @@ $params = @{ } Add-MgApplicationKey -ApplicationId $applicationId -BodyParameter $params ``` +This example shows how to use the Add-MgApplicationKey Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalKey.md b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalKey.md index f125a9d4e24..378a5ec77e9 100644 --- a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalKey.md +++ b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalKey.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Add-MgServicePrincipalKey Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -12,7 +12,9 @@ $params = @{ } Add-MgServicePrincipalKey -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Add-MgServicePrincipalKey Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Add-MgServicePrincipalKey Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -28,3 +30,5 @@ $params = @{ } Add-MgServicePrincipalKey -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` +This example shows how to use the Add-MgServicePrincipalKey Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalPassword.md b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalPassword.md index 1546ed8f69e..98696a8daec 100644 --- a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalPassword.md +++ b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalPassword.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Add-MgServicePrincipalPassword Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -8,3 +8,5 @@ $params = @{ } Add-MgServicePrincipalPassword -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` +This example shows how to use the Add-MgServicePrincipalPassword Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalTokenSigningCertificate.md b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalTokenSigningCertificate.md index bd0f19b141f..57a548717d1 100644 --- a/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalTokenSigningCertificate.md +++ b/src/Applications/Applications/examples/v1.0/Add-MgServicePrincipalTokenSigningCertificate.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Add-MgServicePrincipalTokenSigningCertificate Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Add-MgServicePrincipalTokenSigningCertificate -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` +This example shows how to use the Add-MgServicePrincipalTokenSigningCertificate Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Clear-MgApplicationVerifiedPublisher.md b/src/Applications/Applications/examples/v1.0/Clear-MgApplicationVerifiedPublisher.md index 538f791cfd0..77f5447e896 100644 --- a/src/Applications/Applications/examples/v1.0/Clear-MgApplicationVerifiedPublisher.md +++ b/src/Applications/Applications/examples/v1.0/Clear-MgApplicationVerifiedPublisher.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Clear-MgApplicationVerifiedPublisher Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Clear-MgApplicationVerifiedPublisher -ApplicationId $applicationId ``` +This example shows how to use the Clear-MgApplicationVerifiedPublisher Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationDelta.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationDelta.md index 8d15f3bc642..4b42606118c 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationDelta.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationDelta.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgApplicationDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationDelta ``` +This example shows how to use the Get-MgApplicationDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationExtensionProperty.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationExtensionProperty.md index 7d0b1a9356b..14b1502be22 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationExtensionProperty.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationExtensionProperty.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgApplicationExtensionProperty Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationExtensionProperty -ApplicationId $applicationId ``` -### Example 2 +This example shows how to use the Get-MgApplicationExtensionProperty Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgApplicationExtensionProperty Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationExtensionProperty -ApplicationId $applicationId -ExtensionPropertyId $extensionPropertyId ``` +This example shows how to use the Get-MgApplicationExtensionProperty Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationFederatedIdentityCredential.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationFederatedIdentityCredential.md index 08b8783612e..869826d975b 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationFederatedIdentityCredential.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationFederatedIdentityCredential.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgApplicationFederatedIdentityCredential Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -FederatedIdentityCredentialId $federatedIdentityCredentialId ``` -### Example 2 +This example shows how to use the Get-MgApplicationFederatedIdentityCredential Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgApplicationFederatedIdentityCredential Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId ``` +This example shows how to use the Get-MgApplicationFederatedIdentityCredential Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationOwner.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationOwner.md index 3052c3fbbf2..9e432ab20d0 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationOwner.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationOwner.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgApplicationOwner Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationOwner -ApplicationId $applicationId ``` +This example shows how to use the Get-MgApplicationOwner Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTemplate.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTemplate.md index db2c7522e7a..3d6e1be9646 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTemplate.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTemplate.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgApplicationTemplate Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationTemplate -ApplicationTemplateId $applicationTemplateId ``` -### Example 2 +This example shows how to use the Get-MgApplicationTemplate Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgApplicationTemplate Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationTemplate ``` +This example shows how to use the Get-MgApplicationTemplate Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenIssuancePolicy.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenIssuancePolicy.md index dd3ec5b38a8..7451d402851 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenIssuancePolicy.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenIssuancePolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgApplicationTokenIssuancePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationTokenIssuancePolicy -ApplicationId $applicationId ``` +This example shows how to use the Get-MgApplicationTokenIssuancePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenLifetimePolicy.md b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenLifetimePolicy.md index db2054058fa..d5f59e6c02e 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenLifetimePolicy.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgApplicationTokenLifetimePolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgApplicationTokenLifetimePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgApplicationTokenLifetimePolicy -ApplicationId $applicationId ``` +This example shows how to use the Get-MgApplicationTokenLifetimePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalAppRoleAssignedTo.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalAppRoleAssignedTo.md index 7a8e9778e50..82ca0f055ea 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalAppRoleAssignedTo.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalAppRoleAssignedTo.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgServicePrincipalAppRoleAssignedTo Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId $servicePrincipalId ``` +This example shows how to use the Get-MgServicePrincipalAppRoleAssignedTo Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalClaimMappingPolicy.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalClaimMappingPolicy.md index 071fa92177d..5ddf2575c67 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalClaimMappingPolicy.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalClaimMappingPolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgServicePrincipalClaimMappingPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalClaimMappingPolicy -ServicePrincipalId $servicePrincipalId ``` +This example shows how to use the Get-MgServicePrincipalClaimMappingPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalCreatedObject.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalCreatedObject.md index 0edfd892d89..246a628170e 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalCreatedObject.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalCreatedObject.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgServicePrincipalCreatedObject Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalCreatedObject -ServicePrincipalId $servicePrincipalId ``` +This example shows how to use the Get-MgServicePrincipalCreatedObject Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelegatedPermissionClassification.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelegatedPermissionClassification.md index d52539c7271..710883795e7 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelegatedPermissionClassification.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelegatedPermissionClassification.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgServicePrincipalDelegatedPermissionClassification Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalDelegatedPermissionClassification -ServicePrincipalId $servicePrincipalId ``` +This example shows how to use the Get-MgServicePrincipalDelegatedPermissionClassification Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelta.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelta.md index 34d45233f5f..2d3f5c4b44b 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelta.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalDelta.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgServicePrincipalDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalDelta ``` +This example shows how to use the Get-MgServicePrincipalDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalHomeRealmDiscoveryPolicy.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalHomeRealmDiscoveryPolicy.md index 6591d1c46e6..20b4ce0ea49 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalHomeRealmDiscoveryPolicy.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalHomeRealmDiscoveryPolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgServicePrincipalHomeRealmDiscoveryPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalHomeRealmDiscoveryPolicy -ServicePrincipalId $servicePrincipalId ``` +This example shows how to use the Get-MgServicePrincipalHomeRealmDiscoveryPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalMemberOf.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalMemberOf.md index 0897e4d5696..e2a2cd77235 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalMemberOf.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalMemberOf.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgServicePrincipalMemberOf Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalMemberOf -ServicePrincipalId $servicePrincipalId ``` +This example shows how to use the Get-MgServicePrincipalMemberOf Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOauth2PermissionGrant.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOauth2PermissionGrant.md index 453c8c4ad98..ebf19f7c46d 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOauth2PermissionGrant.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOauth2PermissionGrant.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgServicePrincipalOauth2PermissionGrant Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalOauth2PermissionGrant -ServicePrincipalId $servicePrincipalId ``` +This example shows how to use the Get-MgServicePrincipalOauth2PermissionGrant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOwnedObject.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOwnedObject.md index 7b9c5a3132f..7443ae80461 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOwnedObject.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalOwnedObject.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgServicePrincipalOwnedObject Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalOwnedObject -ServicePrincipalId $servicePrincipalId ``` +This example shows how to use the Get-MgServicePrincipalOwnedObject Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalTransitiveMemberOf.md b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalTransitiveMemberOf.md index dbb913c1e85..26d11050a49 100644 --- a/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalTransitiveMemberOf.md +++ b/src/Applications/Applications/examples/v1.0/Get-MgServicePrincipalTransitiveMemberOf.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgServicePrincipalTransitiveMemberOf Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Get-MgServicePrincipalTransitiveMemberOf -ServicePrincipalId $servicePrincipalId ``` +This example shows how to use the Get-MgServicePrincipalTransitiveMemberOf Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Invoke-MgInstantiateApplicationTemplate.md b/src/Applications/Applications/examples/v1.0/Invoke-MgInstantiateApplicationTemplate.md index 99f3f0563d5..a73e495ffe4 100644 --- a/src/Applications/Applications/examples/v1.0/Invoke-MgInstantiateApplicationTemplate.md +++ b/src/Applications/Applications/examples/v1.0/Invoke-MgInstantiateApplicationTemplate.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgInstantiateApplicationTemplate Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Invoke-MgInstantiateApplicationTemplate -ApplicationTemplateId $applicationTemplateId -BodyParameter $params ``` +This example shows how to use the Invoke-MgInstantiateApplicationTemplate Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/New-MgApplicationExtensionProperty.md b/src/Applications/Applications/examples/v1.0/New-MgApplicationExtensionProperty.md index 79a373937ee..eb112b818fd 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgApplicationExtensionProperty.md +++ b/src/Applications/Applications/examples/v1.0/New-MgApplicationExtensionProperty.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgApplicationExtensionProperty Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -10,3 +10,5 @@ $params = @{ } New-MgApplicationExtensionProperty -ApplicationId $applicationId -BodyParameter $params ``` +This example shows how to use the New-MgApplicationExtensionProperty Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/New-MgApplicationFederatedIdentityCredential.md b/src/Applications/Applications/examples/v1.0/New-MgApplicationFederatedIdentityCredential.md index 6cba8dc4fd5..334052bdac3 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgApplicationFederatedIdentityCredential.md +++ b/src/Applications/Applications/examples/v1.0/New-MgApplicationFederatedIdentityCredential.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgApplicationFederatedIdentityCredential Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -11,3 +11,5 @@ $params = @{ } New-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -BodyParameter $params ``` +This example shows how to use the New-MgApplicationFederatedIdentityCredential Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenIssuancePolicyByRef.md b/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenIssuancePolicyByRef.md index 0342edc8aa3..c83a2763557 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenIssuancePolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenIssuancePolicyByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgApplicationTokenIssuancePolicyByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgApplicationTokenIssuancePolicyByRef -ApplicationId $applicationId -BodyParameter $params ``` +This example shows how to use the New-MgApplicationTokenIssuancePolicyByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenLifetimePolicyByRef.md b/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenLifetimePolicyByRef.md index 91184dadbf4..63b1debb000 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenLifetimePolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/New-MgApplicationTokenLifetimePolicyByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgApplicationTokenLifetimePolicyByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgApplicationTokenLifetimePolicyByRef -ApplicationId $applicationId -BodyParameter $params ``` +This example shows how to use the New-MgApplicationTokenLifetimePolicyByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignedTo.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignedTo.md index 0a1e38b33fe..ecb8a812e56 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignedTo.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignedTo.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgServicePrincipalAppRoleAssignedTo Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` +This example shows how to use the New-MgServicePrincipalAppRoleAssignedTo Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignment.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignment.md index 3e3484e8ae5..2fbc476eb3c 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignment.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalAppRoleAssignment.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgServicePrincipalAppRoleAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgServicePrincipalAppRoleAssignment -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` +This example shows how to use the New-MgServicePrincipalAppRoleAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalClaimMappingPolicyByRef.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalClaimMappingPolicyByRef.md index 79604ece030..60caa27b9c4 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalClaimMappingPolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalClaimMappingPolicyByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgServicePrincipalClaimMappingPolicyByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgServicePrincipalClaimMappingPolicyByRef -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` +This example shows how to use the New-MgServicePrincipalClaimMappingPolicyByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalDelegatedPermissionClassification.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalDelegatedPermissionClassification.md index dfeb07ddfd2..10a2a668b0e 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalDelegatedPermissionClassification.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalDelegatedPermissionClassification.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgServicePrincipalDelegatedPermissionClassification Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgServicePrincipalDelegatedPermissionClassification -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` +This example shows how to use the New-MgServicePrincipalDelegatedPermissionClassification Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md index a274ec9b013..c4d0b8ee9cd 100644 --- a/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` +This example shows how to use the New-MgServicePrincipalHomeRealmDiscoveryPolicyByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationExtensionProperty.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationExtensionProperty.md index 8a55b7c42ba..a9d88ed5110 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationExtensionProperty.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationExtensionProperty.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgApplicationExtensionProperty Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Remove-MgApplicationExtensionProperty -ApplicationId $applicationId -ExtensionPropertyId $extensionPropertyId ``` +This example shows how to use the Remove-MgApplicationExtensionProperty Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationFederatedIdentityCredential.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationFederatedIdentityCredential.md index 468a5403f1f..2874fed579c 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationFederatedIdentityCredential.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationFederatedIdentityCredential.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgApplicationFederatedIdentityCredential Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Remove-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -FederatedIdentityCredentialId $federatedIdentityCredentialId ``` +This example shows how to use the Remove-MgApplicationFederatedIdentityCredential Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationKey.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationKey.md index 8471f61cb29..211bb8cbb0d 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationKey.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationKey.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Remove-MgApplicationKey Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Remove-MgApplicationKey -ApplicationId $applicationId -BodyParameter $params ``` +This example shows how to use the Remove-MgApplicationKey Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationOwnerByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationOwnerByRef.md index 3a18049663c..f7a280b7768 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationOwnerByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationOwnerByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgApplicationOwnerByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Remove-MgApplicationOwnerByRef -ApplicationId $applicationId -DirectoryObjectId $directoryObjectId ``` +This example shows how to use the Remove-MgApplicationOwnerByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationPassword.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationPassword.md index ce4bd86f663..1f78cfcb31b 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationPassword.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationPassword.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Remove-MgApplicationPassword Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Remove-MgApplicationPassword -ApplicationId $applicationId -BodyParameter $params ``` +This example shows how to use the Remove-MgApplicationPassword Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenIssuancePolicyByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenIssuancePolicyByRef.md index 72ce95325db..55ccb6304e9 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenIssuancePolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenIssuancePolicyByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgApplicationTokenIssuancePolicyByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Remove-MgApplicationTokenIssuancePolicyByRef -ApplicationId $applicationId -TokenIssuancePolicyId $tokenIssuancePolicyId ``` +This example shows how to use the Remove-MgApplicationTokenIssuancePolicyByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenLifetimePolicyByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenLifetimePolicyByRef.md index f845b259c87..777a40a3775 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenLifetimePolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgApplicationTokenLifetimePolicyByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgApplicationTokenLifetimePolicyByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Remove-MgApplicationTokenLifetimePolicyByRef -ApplicationId $applicationId -TokenLifetimePolicyId $tokenLifetimePolicyId ``` +This example shows how to use the Remove-MgApplicationTokenLifetimePolicyByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgGroupAppRoleAssignment.md b/src/Applications/Applications/examples/v1.0/Remove-MgGroupAppRoleAssignment.md index e8f8985da06..77e7e67590f 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgGroupAppRoleAssignment.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgGroupAppRoleAssignment.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgGroupAppRoleAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Remove-MgGroupAppRoleAssignment -GroupId $groupId -AppRoleAssignmentId $appRoleAssignmentId ``` +This example shows how to use the Remove-MgGroupAppRoleAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipal.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipal.md index e213d390b70..c8cdcb99005 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipal.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipal.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgServicePrincipal Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Remove-MgServicePrincipal -ServicePrincipalId $servicePrincipalId ``` +This example shows how to use the Remove-MgServicePrincipal Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalAppRoleAssignedTo.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalAppRoleAssignedTo.md index 5294cdb6b4d..eeca1c742c8 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalAppRoleAssignedTo.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalAppRoleAssignedTo.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgServicePrincipalAppRoleAssignedTo Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Remove-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId $servicePrincipalId -AppRoleAssignmentId $appRoleAssignmentId ``` +This example shows how to use the Remove-MgServicePrincipalAppRoleAssignedTo Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalClaimMappingPolicyByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalClaimMappingPolicyByRef.md index 8ee0400c918..3bc662a8b15 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalClaimMappingPolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalClaimMappingPolicyByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgServicePrincipalClaimMappingPolicyByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Remove-MgServicePrincipalClaimMappingPolicyByRef -ServicePrincipalId $servicePrincipalId -ClaimsMappingPolicyId $claimsMappingPolicyId ``` +This example shows how to use the Remove-MgServicePrincipalClaimMappingPolicyByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalDelegatedPermissionClassification.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalDelegatedPermissionClassification.md index 6981b6a8028..d57746674c7 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalDelegatedPermissionClassification.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalDelegatedPermissionClassification.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgServicePrincipalDelegatedPermissionClassification Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Remove-MgServicePrincipalDelegatedPermissionClassification -ServicePrincipalId $servicePrincipalId -DelegatedPermissionClassificationId $delegatedPermissionClassificationId ``` +This example shows how to use the Remove-MgServicePrincipalDelegatedPermissionClassification Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md index 2b8f26da662..700f0f90dfd 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Applications Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef -ServicePrincipalId $servicePrincipalId -HomeRealmDiscoveryPolicyId $homeRealmDiscoveryPolicyId ``` +This example shows how to use the Remove-MgServicePrincipalHomeRealmDiscoveryPolicyByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalKey.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalKey.md index 861ea0829ef..14f0e5570ae 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalKey.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalKey.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Remove-MgServicePrincipalKey Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Remove-MgServicePrincipalKey -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` +This example shows how to use the Remove-MgServicePrincipalKey Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalPassword.md b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalPassword.md index 144d1974f8f..6f40720cc44 100644 --- a/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalPassword.md +++ b/src/Applications/Applications/examples/v1.0/Remove-MgServicePrincipalPassword.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Remove-MgServicePrincipalPassword Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Remove-MgServicePrincipalPassword -ServicePrincipalId $servicePrincipalId -BodyParameter $params ``` +This example shows how to use the Remove-MgServicePrincipalPassword Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Set-MgApplicationVerifiedPublisher.md b/src/Applications/Applications/examples/v1.0/Set-MgApplicationVerifiedPublisher.md index e91e10dcba2..a0e347da0b9 100644 --- a/src/Applications/Applications/examples/v1.0/Set-MgApplicationVerifiedPublisher.md +++ b/src/Applications/Applications/examples/v1.0/Set-MgApplicationVerifiedPublisher.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Set-MgApplicationVerifiedPublisher Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Set-MgApplicationVerifiedPublisher -ApplicationId $applicationId -BodyParameter $params ``` +This example shows how to use the Set-MgApplicationVerifiedPublisher Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Applications/Applications/examples/v1.0/Update-MgApplicationFederatedIdentityCredential.md b/src/Applications/Applications/examples/v1.0/Update-MgApplicationFederatedIdentityCredential.md index d48c7926a00..80f87ba63ce 100644 --- a/src/Applications/Applications/examples/v1.0/Update-MgApplicationFederatedIdentityCredential.md +++ b/src/Applications/Applications/examples/v1.0/Update-MgApplicationFederatedIdentityCredential.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgApplicationFederatedIdentityCredential Cmdlet ```powershell Import-Module Microsoft.Graph.Applications $params = @{ @@ -12,3 +12,5 @@ $params = @{ } Update-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -FederatedIdentityCredentialId $federatedIdentityCredentialId -BodyParameter $params ``` +This example shows how to use the Update-MgApplicationFederatedIdentityCredential Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusiness.md index c72d5c15b87..5e4e59495a4 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusiness.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgBookingBusiness Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusiness -BookingBusinessId $bookingBusinessId ``` -### Example 2 +This example shows how to use the Get-MgBookingBusiness Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgBookingBusiness Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusiness ``` -### Example 3 +This example shows how to use the Get-MgBookingBusiness Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgBookingBusiness Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusiness -Query "Adventure" ``` +This example shows how to use the Get-MgBookingBusiness Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessAppointment.md index 0659cc2d44d..5f209860cfd 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessAppointment.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgBookingBusinessAppointment Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId -BookingAppointmentId $bookingAppointmentId ``` -### Example 2 +This example shows how to use the Get-MgBookingBusinessAppointment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgBookingBusinessAppointment Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId ``` +This example shows how to use the Get-MgBookingBusinessAppointment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCalendarView.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCalendarView.md index 498e9e125c2..39c2f5ef2c3 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCalendarView.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCalendarView.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgBookingBusinessCalendarView Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessCalendarView -BookingBusinessId $bookingBusinessId -Start "2018-04-30T00:00:00Z" -End "2018-05-10T00:00:00Z" ``` +This example shows how to use the Get-MgBookingBusinessCalendarView Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomQuestion.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomQuestion.md index 0a1f7032b76..7d05eb18251 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomQuestion.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomQuestion.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgBookingBusinessCustomQuestion Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessCustomQuestion -BookingBusinessId $bookingBusinessId ``` -### Example 2 +This example shows how to use the Get-MgBookingBusinessCustomQuestion Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgBookingBusinessCustomQuestion Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessCustomQuestion -BookingBusinessId $bookingBusinessId -BookingCustomQuestionId $bookingCustomQuestionId ``` +This example shows how to use the Get-MgBookingBusinessCustomQuestion Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomer.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomer.md index e0a926f5b73..9de03cac486 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomer.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessCustomer.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgBookingBusinessCustomer Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessCustomer -BookingBusinessId $bookingBusinessId ``` -### Example 2 +This example shows how to use the Get-MgBookingBusinessCustomer Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgBookingBusinessCustomer Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessCustomer -BookingBusinessId $bookingBusinessId -BookingCustomerBaseId $bookingCustomerBaseId ``` +This example shows how to use the Get-MgBookingBusinessCustomer Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessService.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessService.md index 833b73de1ff..e72504695b7 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessService.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessService.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgBookingBusinessService Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessService -BookingBusinessId $bookingBusinessId ``` -### Example 2 +This example shows how to use the Get-MgBookingBusinessService Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgBookingBusinessService Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessService -BookingBusinessId $bookingBusinessId -BookingServiceId $bookingServiceId ``` +This example shows how to use the Get-MgBookingBusinessService Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessStaffMember.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessStaffMember.md index 732911b0ed9..a42fd1a0c85 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessStaffMember.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingBusinessStaffMember.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgBookingBusinessStaffMember Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessStaffMember -BookingBusinessId $bookingBusinessId ``` -### Example 2 +This example shows how to use the Get-MgBookingBusinessStaffMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgBookingBusinessStaffMember Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingBusinessStaffMember -BookingBusinessId $bookingBusinessId -BookingStaffMemberBaseId $bookingStaffMemberBaseId ``` +This example shows how to use the Get-MgBookingBusinessStaffMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingCurrency.md b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingCurrency.md index c213a1b8078..ac3d61ce26d 100644 --- a/src/Bookings/Bookings/examples/v1.0/Get-MgBookingCurrency.md +++ b/src/Bookings/Bookings/examples/v1.0/Get-MgBookingCurrency.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgBookingCurrency Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingCurrency -BookingCurrencyId $bookingCurrencyId ``` -### Example 2 +This example shows how to use the Get-MgBookingCurrency Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgBookingCurrency Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Get-MgBookingCurrency ``` +This example shows how to use the Get-MgBookingCurrency Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusiness.md index b9081d37011..acefac58049 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusiness.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgBookingBusiness Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings $params = @{ @@ -18,3 +18,5 @@ $params = @{ } New-MgBookingBusiness -BodyParameter $params ``` +This example shows how to use the New-MgBookingBusiness Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessAppointment.md index f79067ead9f..55320fcdf00 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessAppointment.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgBookingBusinessAppointment Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings $params = @{ @@ -108,3 +108,5 @@ $params = @{ } New-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId -BodyParameter $params ``` +This example shows how to use the New-MgBookingBusinessAppointment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomQuestion.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomQuestion.md index 5f27bd4cfda..bbef8fe35a1 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomQuestion.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomQuestion.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgBookingBusinessCustomQuestion Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings $params = @{ @@ -10,3 +10,5 @@ $params = @{ } New-MgBookingBusinessCustomQuestion -BookingBusinessId $bookingBusinessId -BodyParameter $params ``` +This example shows how to use the New-MgBookingBusinessCustomQuestion Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomer.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomer.md index cf7eff4628f..bad67825208 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomer.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessCustomer.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgBookingBusinessCustomer Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings $params = @{ @@ -12,3 +12,5 @@ $params = @{ } New-MgBookingBusinessCustomer -BookingBusinessId $bookingBusinessId -BodyParameter $params ``` +This example shows how to use the New-MgBookingBusinessCustomer Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessService.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessService.md index 6f398f963b3..98e0beffc16 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessService.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessService.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgBookingBusinessService Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings $params = @{ @@ -64,3 +64,5 @@ $params = @{ } New-MgBookingBusinessService -BookingBusinessId $bookingBusinessId -BodyParameter $params ``` +This example shows how to use the New-MgBookingBusinessService Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessStaffMember.md b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessStaffMember.md index 73285a6db7d..f0d9e62e534 100644 --- a/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessStaffMember.md +++ b/src/Bookings/Bookings/examples/v1.0/New-MgBookingBusinessStaffMember.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgBookingBusinessStaffMember Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings $params = @{ @@ -80,3 +80,5 @@ $params = @{ } New-MgBookingBusinessStaffMember -BookingBusinessId $bookingBusinessId -BodyParameter $params ``` +This example shows how to use the New-MgBookingBusinessStaffMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Publish-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Publish-MgBookingBusiness.md index bdac9c6ff7e..d91860344b5 100644 --- a/src/Bookings/Bookings/examples/v1.0/Publish-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Publish-MgBookingBusiness.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Publish-MgBookingBusiness Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Publish-MgBookingBusiness -BookingBusinessId $bookingBusinessId ``` +This example shows how to use the Publish-MgBookingBusiness Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusiness.md index 5161d90e3fe..84933be35a7 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusiness.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgBookingBusiness Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusiness -BookingBusinessId $bookingBusinessId ``` +This example shows how to use the Remove-MgBookingBusiness Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessAppointment.md index 32e2c998e67..f92bcc7df5c 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessAppointment.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgBookingBusinessAppointment Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId -BookingAppointmentId $bookingAppointmentId ``` +This example shows how to use the Remove-MgBookingBusinessAppointment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomQuestion.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomQuestion.md index aeb9b9c835b..51a0ba0af7e 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomQuestion.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomQuestion.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgBookingBusinessCustomQuestion Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusinessCustomQuestion -BookingBusinessId $bookingBusinessId -BookingCustomQuestionId $bookingCustomQuestionId ``` +This example shows how to use the Remove-MgBookingBusinessCustomQuestion Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomer.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomer.md index bc84f9bce53..4b5f81fc809 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomer.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessCustomer.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgBookingBusinessCustomer Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusinessCustomer -BookingBusinessId $bookingBusinessId -BookingCustomerBaseId $bookingCustomerBaseId ``` +This example shows how to use the Remove-MgBookingBusinessCustomer Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessService.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessService.md index 4dc626a77cf..e494b1f117d 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessService.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessService.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgBookingBusinessService Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusinessService -BookingBusinessId $bookingBusinessId -BookingServiceId $bookingServiceId ``` +This example shows how to use the Remove-MgBookingBusinessService Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessStaffMember.md b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessStaffMember.md index 4ea8a42cf3d..d6408062bec 100644 --- a/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessStaffMember.md +++ b/src/Bookings/Bookings/examples/v1.0/Remove-MgBookingBusinessStaffMember.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgBookingBusinessStaffMember Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Remove-MgBookingBusinessStaffMember -BookingBusinessId $bookingBusinessId -BookingStaffMemberBaseId $bookingStaffMemberBaseId ``` +This example shows how to use the Remove-MgBookingBusinessStaffMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Stop-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/Stop-MgBookingBusinessAppointment.md index ff825afda2c..43a06d3ae9f 100644 --- a/src/Bookings/Bookings/examples/v1.0/Stop-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/Stop-MgBookingBusinessAppointment.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Stop-MgBookingBusinessAppointment Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Stop-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId -BookingAppointmentId $bookingAppointmentId -BodyParameter $params ``` +This example shows how to use the Stop-MgBookingBusinessAppointment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Unpublish-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Unpublish-MgBookingBusiness.md index eff7bbf6c84..d1a3aa9f2d0 100644 --- a/src/Bookings/Bookings/examples/v1.0/Unpublish-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Unpublish-MgBookingBusiness.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Unpublish-MgBookingBusiness Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings Unpublish-MgBookingBusiness -BookingBusinessId $bookingBusinessId ``` +This example shows how to use the Unpublish-MgBookingBusiness Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusiness.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusiness.md index 6cb8d0fcc7d..6a64110a44e 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusiness.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusiness.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgBookingBusiness Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings $params = @{ @@ -13,3 +13,5 @@ $params = @{ } Update-MgBookingBusiness -BookingBusinessId $bookingBusinessId -BodyParameter $params ``` +This example shows how to use the Update-MgBookingBusiness Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessAppointment.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessAppointment.md index be41e5eb8a3..9ee35f73c20 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessAppointment.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessAppointment.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgBookingBusinessAppointment Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings $params = @{ @@ -16,3 +16,5 @@ $params = @{ } Update-MgBookingBusinessAppointment -BookingBusinessId $bookingBusinessId -BookingAppointmentId $bookingAppointmentId -BodyParameter $params ``` +This example shows how to use the Update-MgBookingBusinessAppointment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomQuestion.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomQuestion.md index 2242894ea42..b27df262376 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomQuestion.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomQuestion.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgBookingBusinessCustomQuestion Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings $params = @{ @@ -10,3 +10,5 @@ $params = @{ } Update-MgBookingBusinessCustomQuestion -BookingBusinessId $bookingBusinessId -BookingCustomQuestionId $bookingCustomQuestionId -BodyParameter $params ``` +This example shows how to use the Update-MgBookingBusinessCustomQuestion Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomer.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomer.md index 7c2cd3c11f2..ece979a84c6 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomer.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessCustomer.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgBookingBusinessCustomer Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings $params = @{ @@ -8,3 +8,5 @@ $params = @{ } Update-MgBookingBusinessCustomer -BookingBusinessId $bookingBusinessId -BookingCustomerBaseId $bookingCustomerBaseId -BodyParameter $params ``` +This example shows how to use the Update-MgBookingBusinessCustomer Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessService.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessService.md index 4973a7105e2..12850936771 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessService.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessService.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgBookingBusinessService Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Update-MgBookingBusinessService -BookingBusinessId $bookingBusinessId -BookingServiceId $bookingServiceId -BodyParameter $params ``` +This example shows how to use the Update-MgBookingBusinessService Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessStaffMember.md b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessStaffMember.md index 30891e4a48a..dc906b3ceea 100644 --- a/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessStaffMember.md +++ b/src/Bookings/Bookings/examples/v1.0/Update-MgBookingBusinessStaffMember.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgBookingBusinessStaffMember Cmdlet ```powershell Import-Module Microsoft.Graph.Bookings $params = @{ @@ -68,3 +68,5 @@ $params = @{ } Update-MgBookingBusinessStaffMember -BookingBusinessId $bookingBusinessId -BookingStaffMemberBaseId $bookingStaffMemberBaseId -BodyParameter $params ``` +This example shows how to use the Update-MgBookingBusinessStaffMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEvent.md b/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEvent.md index e9d8df14716..576d1eba13b 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEvent.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgGroupEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar Get-MgGroupEvent -GroupId $groupId -EventId $eventId ``` -### Example 2 +This example shows how to use the Get-MgGroupEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgGroupEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar Get-MgGroupEvent -GroupId $groupId ``` +This example shows how to use the Get-MgGroupEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEventExtension.md b/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEventExtension.md index d4155158076..b7963e8c734 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEventExtension.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgGroupEventExtension.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupEventExtension Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar Get-MgGroupEventExtension -GroupId $groupId -EventId $eventId -ExtensionId $extensionId ``` +This example shows how to use the Get-MgGroupEventExtension Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgPlace.md b/src/Calendar/Calendar/examples/v1.0/Get-MgPlace.md index 7c1d55f02b9..82f18cf7818 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgPlace.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgPlace.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgPlace Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar Get-MgPlace -PlaceId $placeId ``` -### Example 2 +This example shows how to use the Get-MgPlace Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPlace Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar Get-MgPlace -PlaceId $placeId ``` -### Example 3 +This example shows how to use the Get-MgPlace Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgPlace Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar Get-MgPlace -PlaceId $placeId ``` -### Example 4 +This example shows how to use the Get-MgPlace Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgPlace Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar Get-MgPlace -PlaceId $placeId ``` +This example shows how to use the Get-MgPlace Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendar.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendar.md index 8535c349264..c2cc0bf05b2 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendar.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserCalendar Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserCalendar -UserId $userId ``` +This example shows how to use the Get-MgUserCalendar Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroup.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroup.md index 449dd6ff0f0..991c27561b2 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroup.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroup.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserCalendarGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserCalendarGroup -UserId $userId -CalendarGroupId $calendarGroupId ``` -### Example 2 +This example shows how to use the Get-MgUserCalendarGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserCalendarGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserCalendarGroup -UserId $userId ``` +This example shows how to use the Get-MgUserCalendarGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroupCalendar.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroupCalendar.md index 4c3f33c657a..1c75f2e36ac 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroupCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarGroupCalendar.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserCalendarGroupCalendar Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserCalendarGroupCalendar -UserId $userId -CalendarGroupId $calendarGroupId ``` +This example shows how to use the Get-MgUserCalendarGroupCalendar Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarPermission.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarPermission.md index a2556b8caf4..7c6799f1684 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarPermission.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarPermission.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgUserCalendarPermission Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar Get-MgUserCalendarPermission -UserId $userId -CalendarPermissionId $calendarPermissionId ``` +This example shows how to use the Get-MgUserCalendarPermission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarView.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarView.md index 02ebf0c64e6..eb8c3653d2f 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarView.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserCalendarView.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserCalendarView Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserCalendarView -UserId $userId -Startdatetime "2017-01-01T19:00:00-08:00" -Enddatetime "2017-01-07T19:00:00-08:00" ``` +This example shows how to use the Get-MgUserCalendarView Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserDefaultCalendar.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserDefaultCalendar.md index 5a632413e9c..9fed45b71bd 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserDefaultCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserDefaultCalendar.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserDefaultCalendar Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserDefaultCalendar -UserId $userId ``` +This example shows how to use the Get-MgUserDefaultCalendar Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEvent.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEvent.md index f5c5c116a4d..2b0291b584b 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEvent.md @@ -1,18 +1,24 @@ -### Example 1 +### Example 1: Using the Get-MgUserEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserEvent -UserId $userId -EventId $eventId -Property "subject,body,bodyPreview,organizer,attendees,start,end,location,locations" ``` -### Example 2 +This example shows how to use the Get-MgUserEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserEvent -UserId $userId -EventId $eventId -Property "subject,body,bodyPreview,organizer,attendees,start,end,location,hideAttendees" ``` -### Example 3 +This example shows how to use the Get-MgUserEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgUserEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserEvent -UserId $userId -Property "subject,body,bodyPreview,organizer,attendees,start,end,location" ``` +This example shows how to use the Get-MgUserEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventAttachment.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventAttachment.md index 6093d3631a7..112c7fcde4e 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventAttachment.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventAttachment.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserEventAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserEventAttachment -UserId $userId -EventId $eventId ``` +This example shows how to use the Get-MgUserEventAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventInstance.md b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventInstance.md index d597b77e2e7..08323588c4b 100644 --- a/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventInstance.md +++ b/src/Calendar/Calendar/examples/v1.0/Get-MgUserEventInstance.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserEventInstance Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Get-MgUserEventInstance -UserId $userId -EventId $eventId -Startdatetime "2019-04-08T09:00:00.0000000" -Enddatetime "2019-04-30T09:00:00.0000000" -Property "subject,bodyPreview,seriesMasterId,type,recurrence,start,end" ``` +This example shows how to use the Get-MgUserEventInstance Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgGroupEvent.md b/src/Calendar/Calendar/examples/v1.0/New-MgGroupEvent.md index 6b6e53d3acf..a969a29ae5c 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgGroupEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgGroupEvent.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgGroupEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -30,3 +30,5 @@ $params = @{ } New-MgGroupEvent -GroupId $groupId -BodyParameter $params ``` +This example shows how to use the New-MgGroupEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendar.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendar.md index 0ea27280587..781e86826e4 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendar.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserCalendar Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserCalendar -UserId $userId -BodyParameter $params ``` +This example shows how to use the New-MgUserCalendar Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarEvent.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarEvent.md index 99b2e88d801..aa4b94d60e7 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarEvent.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserCalendarEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -32,7 +32,9 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserCalendarEvent -UserId $userId -CalendarId $calendarId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgUserCalendarEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgUserCalendarEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -67,3 +69,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserCalendarEvent -UserId $userId -CalendarId $calendarId -BodyParameter $params ``` +This example shows how to use the New-MgUserCalendarEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroup.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroup.md index 172870cad54..59deb1bb319 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroup.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroup.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserCalendarGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserCalendarGroup -UserId $userId -BodyParameter $params ``` +This example shows how to use the New-MgUserCalendarGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroupCalendar.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroupCalendar.md index dba9a69f2f1..a86929c5c42 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroupCalendar.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserCalendarGroupCalendar.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserCalendarGroupCalendar Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserCalendarGroupCalendar -UserId $userId -CalendarGroupId $calendarGroupId -BodyParameter $params ``` +This example shows how to use the New-MgUserCalendarGroupCalendar Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserEvent.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserEvent.md index 1cae789aaed..7e24cd6a52a 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserEvent.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -62,7 +62,9 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserEvent -UserId $userId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgUserEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgUserEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -97,7 +99,9 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserEvent -UserId $userId -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgUserEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgUserEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -133,7 +137,9 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserEvent -UserId $userId -BodyParameter $params ``` -### Example 4 +This example shows how to use the New-MgUserEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the New-MgUserEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -181,3 +187,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserEvent -UserId $userId -BodyParameter $params ``` +This example shows how to use the New-MgUserEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/New-MgUserEventAttachment.md b/src/Calendar/Calendar/examples/v1.0/New-MgUserEventAttachment.md index 84bc969b626..0f1d8d5ddec 100644 --- a/src/Calendar/Calendar/examples/v1.0/New-MgUserEventAttachment.md +++ b/src/Calendar/Calendar/examples/v1.0/New-MgUserEventAttachment.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserEventAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -9,7 +9,9 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserEventAttachment -UserId $userId -EventId $eventId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgUserEventAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgUserEventAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -23,7 +25,9 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserEventAttachment -UserId $userId -EventId $eventId -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgUserEventAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgUserEventAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -36,3 +40,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserEventAttachment -UserId $userId -EventId $eventId -BodyParameter $params ``` +This example shows how to use the New-MgUserEventAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgGroupEvent.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgGroupEvent.md index 18d89812bca..b69e6e26919 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgGroupEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgGroupEvent.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgGroupEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar Remove-MgGroupEvent -GroupId $groupId -EventId $eventId ``` +This example shows how to use the Remove-MgGroupEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarGroup.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarGroup.md index 4e987269782..0a5a38ea9a2 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarGroup.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarGroup.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserCalendarGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Remove-MgUserCalendarGroup -UserId $userId -CalendarGroupId $calendarGroupId ``` +This example shows how to use the Remove-MgUserCalendarGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarPermission.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarPermission.md index 1264d185ada..a8dec818457 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarPermission.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserCalendarPermission.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgUserCalendarPermission Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar Remove-MgUserCalendarPermission -UserId $userId -CalendarPermissionId $calendarPermissionId ``` +This example shows how to use the Remove-MgUserCalendarPermission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEvent.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEvent.md index e74cc9dabd9..83f110d9576 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEvent.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Remove-MgUserEvent -UserId $userId -EventId $eventId ``` +This example shows how to use the Remove-MgUserEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEventAttachment.md b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEventAttachment.md index 40663478bd2..d12deabc02e 100644 --- a/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEventAttachment.md +++ b/src/Calendar/Calendar/examples/v1.0/Remove-MgUserEventAttachment.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserEventAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar # A UPN can also be used as -UserId. Remove-MgUserEventAttachment -UserId $userId -EventId $eventId -AttachmentId $attachmentId ``` +This example shows how to use the Remove-MgUserEventAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Update-MgPlace.md b/src/Calendar/Calendar/examples/v1.0/Update-MgPlace.md index 190fb9248ee..cb3f45cc1af 100644 --- a/src/Calendar/Calendar/examples/v1.0/Update-MgPlace.md +++ b/src/Calendar/Calendar/examples/v1.0/Update-MgPlace.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPlace Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -11,7 +11,9 @@ $params = @{ } Update-MgPlace -PlaceId $placeId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Update-MgPlace Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Update-MgPlace Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -35,3 +37,5 @@ $params = @{ } Update-MgPlace -PlaceId $placeId -BodyParameter $params ``` +This example shows how to use the Update-MgPlace Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarGroup.md b/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarGroup.md index c1578468402..b97af7a03ef 100644 --- a/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarGroup.md +++ b/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarGroup.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserCalendarGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserCalendarGroup -UserId $userId -CalendarGroupId $calendarGroupId -BodyParameter $params ``` +This example shows how to use the Update-MgUserCalendarGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarPermission.md b/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarPermission.md index bb320fc95e6..c18b7480d51 100644 --- a/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarPermission.md +++ b/src/Calendar/Calendar/examples/v1.0/Update-MgUserCalendarPermission.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserCalendarPermission Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgUserCalendarPermission -UserId $userId -CalendarPermissionId $calendarPermissionId -BodyParameter $params ``` +This example shows how to use the Update-MgUserCalendarPermission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Calendar/Calendar/examples/v1.0/Update-MgUserEvent.md b/src/Calendar/Calendar/examples/v1.0/Update-MgUserEvent.md index 8370ea1b5cf..cdef5fa6cdd 100644 --- a/src/Calendar/Calendar/examples/v1.0/Update-MgUserEvent.md +++ b/src/Calendar/Calendar/examples/v1.0/Update-MgUserEvent.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Calendar $params = @{ @@ -21,3 +21,5 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserEvent -UserId $userId -EventId $eventId -BodyParameter $params ``` +This example shows how to use the Update-MgUserEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Get-MgSubscription.md b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Get-MgSubscription.md index 2def9677f31..1769d906f4e 100644 --- a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Get-MgSubscription.md +++ b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Get-MgSubscription.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSubscription Cmdlet ```powershell Import-Module Microsoft.Graph.ChangeNotifications Get-MgSubscription -SubscriptionId $subscriptionId ``` -### Example 2 +This example shows how to use the Get-MgSubscription Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSubscription Cmdlet ```powershell Import-Module Microsoft.Graph.ChangeNotifications Get-MgSubscription ``` +This example shows how to use the Get-MgSubscription Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/New-MgSubscription.md b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/New-MgSubscription.md index 421d1111641..04a885a039d 100644 --- a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/New-MgSubscription.md +++ b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/New-MgSubscription.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSubscription Cmdlet ```powershell Import-Module Microsoft.Graph.ChangeNotifications $params = @{ @@ -11,3 +11,5 @@ $params = @{ } New-MgSubscription -BodyParameter $params ``` +This example shows how to use the New-MgSubscription Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Remove-MgSubscription.md b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Remove-MgSubscription.md index 3c193f36954..b3e85fc18fc 100644 --- a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Remove-MgSubscription.md +++ b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Remove-MgSubscription.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgSubscription Cmdlet ```powershell Import-Module Microsoft.Graph.ChangeNotifications Remove-MgSubscription -SubscriptionId $subscriptionId ``` +This example shows how to use the Remove-MgSubscription Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Update-MgSubscription.md b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Update-MgSubscription.md index 8e15e2a08c5..63f13de21ad 100644 --- a/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Update-MgSubscription.md +++ b/src/ChangeNotifications/ChangeNotifications/examples/v1.0/Update-MgSubscription.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgSubscription Cmdlet ```powershell Import-Module Microsoft.Graph.ChangeNotifications $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgSubscription -SubscriptionId $subscriptionId -BodyParameter $params ``` +This example shows how to use the Update-MgSubscription Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCall.md index fc074559dd7..a72fdeaa6d5 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCall.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCall -CallId $callId ``` -### Example 2 +This example shows how to use the Get-MgCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCall -CallId $callId ``` +This example shows how to use the Get-MgCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallParticipant.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallParticipant.md index 9233de16117..72149e2e232 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallParticipant.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallParticipant.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgCommunicationCallParticipant Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participantId ``` -### Example 2 +This example shows how to use the Get-MgCommunicationCallParticipant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgCommunicationCallParticipant Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallParticipant -CallId $callId ``` +This example shows how to use the Get-MgCommunicationCallParticipant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecord.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecord.md index 423aceb9871..98881a1e09c 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecord.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecord.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgCommunicationCallRecord Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecord -CallRecordId $callRecordId ``` -### Example 2 +This example shows how to use the Get-MgCommunicationCallRecord Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgCommunicationCallRecord Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecord -CallRecordId $callRecordId ``` -### Example 3 +This example shows how to use the Get-MgCommunicationCallRecord Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgCommunicationCallRecord Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecord -CallRecordId $callRecordId -ExpandProperty "sessions(`$expand=segments)" ``` -### Example 4 +This example shows how to use the Get-MgCommunicationCallRecord Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgCommunicationCallRecord Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecord -CallRecordId $callRecordId ``` +This example shows how to use the Get-MgCommunicationCallRecord Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecordSession.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecordSession.md index a20feab43d4..bb37f1e1840 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecordSession.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationCallRecordSession.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgCommunicationCallRecordSession Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecordSession -CallRecordId $callRecordId -ExpandProperty "segments" ``` -### Example 2 +This example shows how to use the Get-MgCommunicationCallRecordSession Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgCommunicationCallRecordSession Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationCallRecordSession -CallRecordId $callRecordId ``` +This example shows how to use the Get-MgCommunicationCallRecordSession Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationOnlineMeeting.md index f23dd9a5484..f9a1cbbf31f 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationOnlineMeeting.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgCommunicationOnlineMeeting Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationOnlineMeeting -Filter "VideoTeleconferenceId eq '123456789'" ``` +This example shows how to use the Get-MgCommunicationOnlineMeeting Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresence.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresence.md index e93e1926c53..556595a1c6e 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresence.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresence.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgCommunicationPresence Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgCommunicationPresence -PresenceId $presenceId ``` +This example shows how to use the Get-MgCommunicationPresence Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresenceByUserId.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresenceByUserId.md index 11a96a584df..a60acba208c 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresenceByUserId.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgCommunicationPresenceByUserId.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Get-MgCommunicationPresenceByUserId Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Get-MgCommunicationPresenceByUserId -BodyParameter $params ``` +This example shows how to use the Get-MgCommunicationPresenceByUserId Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeeting.md index 06e026d47aa..f3391370541 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeeting.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserOnlineMeeting Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserOnlineMeeting -UserId $userId -Filter "JoinWebUrl eq 'https://teams.microsoft.com/l/meetup-join/19:meeting_MGQ4MDQyNTEtNTQ2NS00YjQxLTlkM2EtZWVkODYxODYzMmY2@thread.v2/0?context" ``` -### Example 2 +This example shows how to use the Get-MgUserOnlineMeeting Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserOnlineMeeting Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserOnlineMeeting -UserId $userId -OnlineMeetingId $onlineMeetingId ``` +This example shows how to use the Get-MgUserOnlineMeeting Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReport.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReport.md index 23b6ee5755a..1007c598f27 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReport.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReport.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserOnlineMeetingAttendanceReport Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserOnlineMeetingAttendanceReport -UserId $userId -OnlineMeetingId $onlineMeetingId -MeetingAttendanceReportId $meetingAttendanceReportId -ExpandProperty "attendanceRecords" ``` -### Example 2 +This example shows how to use the Get-MgUserOnlineMeetingAttendanceReport Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserOnlineMeetingAttendanceReport Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserOnlineMeetingAttendanceReport -UserId $userId -OnlineMeetingId $onlineMeetingId ``` +This example shows how to use the Get-MgUserOnlineMeetingAttendanceReport Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord.md index f7686ac895d..b24671c5786 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord -UserId $userId -OnlineMeetingId $onlineMeetingId -MeetingAttendanceReportId $meetingAttendanceReportId ``` +This example shows how to use the Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserPresence.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserPresence.md index ff31dfef7a4..f1e2247c590 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserPresence.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Get-MgUserPresence.md @@ -1,11 +1,15 @@ -### Example 1 +### Example 1: Using the Get-MgUserPresence Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Get-MgUserPresence -UserId $userId ``` -### Example 2 +This example shows how to use the Get-MgUserPresence Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserPresence Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Get-MgUserPresence -UserId $userId ``` +This example shows how to use the Get-MgUserPresence Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgAnswerCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgAnswerCommunicationCall.md index 2c1a1638f63..fe39b8f774d 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgAnswerCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgAnswerCommunicationCall.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgAnswerCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -13,7 +13,9 @@ $params = @{ } Invoke-MgAnswerCommunicationCall -CallId $callId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Invoke-MgAnswerCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Invoke-MgAnswerCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -29,7 +31,9 @@ $params = @{ } Invoke-MgAnswerCommunicationCall -CallId $callId -BodyParameter $params ``` -### Example 3 +This example shows how to use the Invoke-MgAnswerCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Invoke-MgAnswerCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -45,3 +49,5 @@ $params = @{ } Invoke-MgAnswerCommunicationCall -CallId $callId -BodyParameter $params ``` +This example shows how to use the Invoke-MgAnswerCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgInviteCommunicationCallParticipant.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgInviteCommunicationCallParticipant.md index b4fb7df245b..79ab2f9e04d 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgInviteCommunicationCallParticipant.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgInviteCommunicationCallParticipant.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgInviteCommunicationCallParticipant Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -20,7 +20,9 @@ $params = @{ } Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Invoke-MgInviteCommunicationCallParticipant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Invoke-MgInviteCommunicationCallParticipant Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -40,7 +42,9 @@ $params = @{ } Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` -### Example 3 +This example shows how to use the Invoke-MgInviteCommunicationCallParticipant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Invoke-MgInviteCommunicationCallParticipant Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -62,7 +66,9 @@ $params = @{ } Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` -### Example 4 +This example shows how to use the Invoke-MgInviteCommunicationCallParticipant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Invoke-MgInviteCommunicationCallParticipant Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -85,7 +91,9 @@ $params = @{ } Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` -### Example 5 +This example shows how to use the Invoke-MgInviteCommunicationCallParticipant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the Invoke-MgInviteCommunicationCallParticipant Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -119,7 +127,9 @@ $params = @{ } Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` -### Example 6 +This example shows how to use the Invoke-MgInviteCommunicationCallParticipant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 6: Using the Invoke-MgInviteCommunicationCallParticipant Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -141,7 +151,9 @@ $params = @{ } Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` -### Example 7 +This example shows how to use the Invoke-MgInviteCommunicationCallParticipant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 7: Using the Invoke-MgInviteCommunicationCallParticipant Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -163,3 +175,5 @@ $params = @{ } Invoke-MgInviteCommunicationCallParticipant -CallId $callId -BodyParameter $params ``` +This example shows how to use the Invoke-MgInviteCommunicationCallParticipant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgKeepCommunicationCallAlive.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgKeepCommunicationCallAlive.md index 66c52fa7485..c6c112f320d 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgKeepCommunicationCallAlive.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgKeepCommunicationCallAlive.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Invoke-MgKeepCommunicationCallAlive Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Invoke-MgKeepCommunicationCallAlive -CallId $callId ``` +This example shows how to use the Invoke-MgKeepCommunicationCallAlive Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality.md index f0829098067..4c27e107509 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -87,3 +87,5 @@ $params = @{ } Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality -BodyParameter $params ``` +This example shows how to use the Invoke-MgLogCommunicationCallTeleconferenceDeviceQuality Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCall.md index 178323e7e16..3c22f79fe0e 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCall.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgMuteCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Invoke-MgMuteCommunicationCall -CallId $callId -BodyParameter $params ``` +This example shows how to use the Invoke-MgMuteCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCallParticipant.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCallParticipant.md index ac89826f0af..aed263de925 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCallParticipant.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgMuteCommunicationCallParticipant.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgMuteCommunicationCallParticipant Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Invoke-MgMuteCommunicationCallParticipant -CallId $callId -ParticipantId $participantId -BodyParameter $params ``` +This example shows how to use the Invoke-MgMuteCommunicationCallParticipant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgPlayCommunicationCallPrompt.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgPlayCommunicationCallPrompt.md index 65f69f0377f..10c8fef5b69 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgPlayCommunicationCallPrompt.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgPlayCommunicationCallPrompt.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgPlayCommunicationCallPrompt Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -16,3 +16,5 @@ $params = @{ } Invoke-MgPlayCommunicationCallPrompt -CallId $callId -BodyParameter $params ``` +This example shows how to use the Invoke-MgPlayCommunicationCallPrompt Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRecordCommunicationCallResponse.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRecordCommunicationCallResponse.md index 8f1b4b11e86..ea4770278a5 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRecordCommunicationCallResponse.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRecordCommunicationCallResponse.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgRecordCommunicationCallResponse Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -21,3 +21,5 @@ $params = @{ } Invoke-MgRecordCommunicationCallResponse -CallId $callId -BodyParameter $params ``` +This example shows how to use the Invoke-MgRecordCommunicationCallResponse Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRedirectCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRedirectCommunicationCall.md index f86955325f3..78de10da0db 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRedirectCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRedirectCommunicationCall.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgRedirectCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -19,7 +19,9 @@ $params = @{ } Invoke-MgRedirectCommunicationCall -CallId $callId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Invoke-MgRedirectCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Invoke-MgRedirectCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -39,3 +41,5 @@ $params = @{ } Invoke-MgRedirectCommunicationCall -CallId $callId -BodyParameter $params ``` +This example shows how to use the Invoke-MgRedirectCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRejectCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRejectCommunicationCall.md index 7fb9f4340ed..46c6566b76a 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRejectCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgRejectCommunicationCall.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgRejectCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -6,7 +6,9 @@ $params = @{ } Invoke-MgRejectCommunicationCall -CallId $callId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Invoke-MgRejectCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Invoke-MgRejectCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -14,3 +16,5 @@ $params = @{ } Invoke-MgRejectCommunicationCall -CallId $callId -BodyParameter $params ``` +This example shows how to use the Invoke-MgRejectCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgSubscribeCommunicationCallToTone.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgSubscribeCommunicationCallToTone.md index 2751aa684ba..77e69a9ac3d 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgSubscribeCommunicationCallToTone.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgSubscribeCommunicationCallToTone.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgSubscribeCommunicationCallToTone Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Invoke-MgSubscribeCommunicationCallToTone -CallId $callId -BodyParameter $params ``` +This example shows how to use the Invoke-MgSubscribeCommunicationCallToTone Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgUnmuteCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgUnmuteCommunicationCall.md index 0cce94ef892..be188d22540 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgUnmuteCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Invoke-MgUnmuteCommunicationCall.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgUnmuteCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Invoke-MgUnmuteCommunicationCall -CallId $callId -BodyParameter $params ``` +This example shows how to use the Invoke-MgUnmuteCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Move-MgCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Move-MgCommunicationCall.md index 22a950aa02c..4cdb23a8dad 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Move-MgCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Move-MgCommunicationCall.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Move-MgCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -14,7 +14,9 @@ $params = @{ } Move-MgCommunicationCall -CallId $callId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Move-MgCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Move-MgCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -34,7 +36,9 @@ $params = @{ } Move-MgCommunicationCall -CallId $callId -BodyParameter $params ``` -### Example 3 +This example shows how to use the Move-MgCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Move-MgCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -53,7 +57,9 @@ $params = @{ } Move-MgCommunicationCall -CallId $callId -BodyParameter $params ``` -### Example 4 +This example shows how to use the Move-MgCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Move-MgCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -75,7 +81,9 @@ $params = @{ } Move-MgCommunicationCall -CallId $callId -BodyParameter $params ``` -### Example 5 +This example shows how to use the Move-MgCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the Move-MgCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -100,3 +108,5 @@ $params = @{ } Move-MgCommunicationCall -CallId $callId -BodyParameter $params ``` +This example shows how to use the Move-MgCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgCommunicationCall.md index 9415fbf9545..1a09ed853a1 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgCommunicationCall.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -40,7 +40,9 @@ $params = @{ } New-MgCommunicationCall -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -68,7 +70,9 @@ $params = @{ } New-MgCommunicationCall -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -111,7 +115,9 @@ $params = @{ } New-MgCommunicationCall -BodyParameter $params ``` -### Example 4 +This example shows how to use the New-MgCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the New-MgCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -155,3 +161,5 @@ $params = @{ } New-MgCommunicationCall -BodyParameter $params ``` +This example shows how to use the New-MgCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgUserOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgUserOnlineMeeting.md index f3ef1dea1ec..5365de1e1e4 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/New-MgUserOnlineMeeting.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserOnlineMeeting Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -9,3 +9,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserOnlineMeeting -UserId $userId -BodyParameter $params ``` +This example shows how to use the New-MgUserOnlineMeeting Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCall.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCall.md index a671f44d907..ab885f07af7 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCall.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCall.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgCommunicationCall Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Remove-MgCommunicationCall -CallId $callId ``` +This example shows how to use the Remove-MgCommunicationCall Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCallParticipant.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCallParticipant.md index dd78a1f832e..2e2307375d1 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCallParticipant.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgCommunicationCallParticipant.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Remove-MgCommunicationCallParticipant Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Remove-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participantId ``` -### Example 2 +This example shows how to use the Remove-MgCommunicationCallParticipant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Remove-MgCommunicationCallParticipant Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Remove-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participantId ``` -### Example 3 +This example shows how to use the Remove-MgCommunicationCallParticipant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Remove-MgCommunicationCallParticipant Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications Remove-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participantId ``` +This example shows how to use the Remove-MgCommunicationCallParticipant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgUserOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgUserOnlineMeeting.md index e35cfd60d98..4bb2a06bfde 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Remove-MgUserOnlineMeeting.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserOnlineMeeting Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications # A UPN can also be used as -UserId. Remove-MgUserOnlineMeeting -UserId $userId -OnlineMeetingId $onlineMeetingId ``` +This example shows how to use the Remove-MgUserOnlineMeeting Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Rename-MgCommunicationCallScreenSharingRole.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Rename-MgCommunicationCallScreenSharingRole.md index 0d66fbbaee2..d243da27c61 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Rename-MgCommunicationCallScreenSharingRole.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Rename-MgCommunicationCallScreenSharingRole.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Rename-MgCommunicationCallScreenSharingRole Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Rename-MgCommunicationCallScreenSharingRole -CallId $callId -BodyParameter $params ``` +This example shows how to use the Rename-MgCommunicationCallScreenSharingRole Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Start-MgCommunicationCallParticipantHoldMusic.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Start-MgCommunicationCallParticipantHoldMusic.md index e306c331e25..6806abfe935 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Start-MgCommunicationCallParticipantHoldMusic.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Start-MgCommunicationCallParticipantHoldMusic.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Start-MgCommunicationCallParticipantHoldMusic Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -13,3 +13,5 @@ $params = @{ } Start-MgCommunicationCallParticipantHoldMusic -CallId $callId -ParticipantId $participantId -BodyParameter $params ``` +This example shows how to use the Start-MgCommunicationCallParticipantHoldMusic Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallMediaProcessing.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallMediaProcessing.md index 5d6091d2bc7..27be968ba66 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallMediaProcessing.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallMediaProcessing.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Stop-MgCommunicationCallMediaProcessing Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Stop-MgCommunicationCallMediaProcessing -CallId $callId -BodyParameter $params ``` +This example shows how to use the Stop-MgCommunicationCallMediaProcessing Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallParticipantHoldMusic.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallParticipantHoldMusic.md index de3d156a0c7..5cee3411d01 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallParticipantHoldMusic.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Stop-MgCommunicationCallParticipantHoldMusic.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Stop-MgCommunicationCallParticipantHoldMusic Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Stop-MgCommunicationCallParticipantHoldMusic -CallId $callId -ParticipantId $participantId -BodyParameter $params ``` +This example shows how to use the Stop-MgCommunicationCallParticipantHoldMusic Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgCommunicationCallRecordingStatus.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgCommunicationCallRecordingStatus.md index 2907e41f5c9..73347809cf7 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgCommunicationCallRecordingStatus.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgCommunicationCallRecordingStatus.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgCommunicationCallRecordingStatus Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Update-MgCommunicationCallRecordingStatus -CallId $callId -BodyParameter $params ``` +This example shows how to use the Update-MgCommunicationCallRecordingStatus Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgUserOnlineMeeting.md b/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgUserOnlineMeeting.md index 803730f2fb5..364851416fc 100644 --- a/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/CloudCommunications/examples/v1.0/Update-MgUserOnlineMeeting.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserOnlineMeeting Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -9,7 +9,9 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserOnlineMeeting -UserId $userId -OnlineMeetingId $onlineMeetingId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Update-MgUserOnlineMeeting Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Update-MgUserOnlineMeeting Cmdlet ```powershell Import-Module Microsoft.Graph.CloudCommunications $params = @{ @@ -20,3 +22,5 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserOnlineMeeting -UserId $userId -OnlineMeetingId $onlineMeetingId -BodyParameter $params ``` +This example shows how to use the Update-MgUserOnlineMeeting Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/CrossDeviceExperiences/CrossDeviceExperiences/examples/v1.0/Remove-MgUserActivity.md b/src/CrossDeviceExperiences/CrossDeviceExperiences/examples/v1.0/Remove-MgUserActivity.md index e8f71f01312..2668fe4af6e 100644 --- a/src/CrossDeviceExperiences/CrossDeviceExperiences/examples/v1.0/Remove-MgUserActivity.md +++ b/src/CrossDeviceExperiences/CrossDeviceExperiences/examples/v1.0/Remove-MgUserActivity.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserActivity Cmdlet ```powershell Import-Module Microsoft.Graph.CrossDeviceExperiences # A UPN can also be used as -UserId. Remove-MgUserActivity -UserId $userId -UserActivityId $userActivityId ``` +This example shows how to use the Remove-MgUserActivity Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignment.md index ceb7cc2f254..f94fdaee9c2 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignment.md @@ -1,25 +1,35 @@ -### Example 1 +### Example 1: Using the Get-MgRoleManagementDirectoryRoleAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignment -Filter "roleDefinitionId eq '62e90394-69f5-4237-9190-012177145e10'" -ExpandProperty "principal" ``` -### Example 2 +This example shows how to use the Get-MgRoleManagementDirectoryRoleAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgRoleManagementDirectoryRoleAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignment -Filter " principalId eq '5bde3e51-d13b-4db1-9948-fe4b109d11a7'" ``` -### Example 3 +This example shows how to use the Get-MgRoleManagementDirectoryRoleAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgRoleManagementDirectoryRoleAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId -ExpandProperty "roleDefinition" ``` -### Example 4 +This example shows how to use the Get-MgRoleManagementDirectoryRoleAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgRoleManagementDirectoryRoleAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId ``` -### Example 5 +This example shows how to use the Get-MgRoleManagementDirectoryRoleAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the Get-MgRoleManagementDirectoryRoleAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId -ExpandProperty "roleDefinition" ``` +This example shows how to use the Get-MgRoleManagementDirectoryRoleAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentSchedule.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentSchedule.md index e30cc72c8d6..b80bd0961a7 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentSchedule.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentSchedule.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgRoleManagementDirectoryRoleAssignmentSchedule Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentSchedule -UnifiedRoleAssignmentScheduleId $unifiedRoleAssignmentScheduleId ``` -### Example 2 +This example shows how to use the Get-MgRoleManagementDirectoryRoleAssignmentSchedule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgRoleManagementDirectoryRoleAssignmentSchedule Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentSchedule ``` -### Example 3 +This example shows how to use the Get-MgRoleManagementDirectoryRoleAssignmentSchedule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgRoleManagementDirectoryRoleAssignmentSchedule Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentSchedule -UnifiedRoleAssignmentScheduleId $unifiedRoleAssignmentScheduleId ``` +This example shows how to use the Get-MgRoleManagementDirectoryRoleAssignmentSchedule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance.md index 004f7cd1ae6..a53757881b2 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance -UnifiedRoleAssignmentScheduleInstanceId $unifiedRoleAssignmentScheduleInstanceId ``` -### Example 2 +This example shows how to use the Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance ``` -### Example 3 +This example shows how to use the Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance -UnifiedRoleAssignmentScheduleInstanceId $unifiedRoleAssignmentScheduleInstanceId ``` +This example shows how to use the Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md index 1e4b638adbe..fe33de14c10 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md @@ -1,25 +1,35 @@ -### Example 1 +### Example 1: Using the Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId -Property "principalId,action,roleDefinitionId" -ExpandProperty "roleDefinition,activatedUsing,principal,targetSchedule" ``` -### Example 2 +This example shows how to use the Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId ``` -### Example 3 +This example shows how to use the Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -Property "principalId,action,roleDefinitionId" -ExpandProperty "roleDefinition,activatedUsing,principal,targetSchedule" ``` -### Example 4 +This example shows how to use the Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest ``` -### Example 5 +This example shows how to use the Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId ``` +This example shows how to use the Get-MgRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleDefinition.md index 145f84c8929..68c7b8e4a6d 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleDefinition.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgRoleManagementDirectoryRoleDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId ``` -### Example 2 +This example shows how to use the Get-MgRoleManagementDirectoryRoleDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgRoleManagementDirectoryRoleDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId ``` -### Example 3 +This example shows how to use the Get-MgRoleManagementDirectoryRoleDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgRoleManagementDirectoryRoleDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId -ExpandProperty "inheritsPermissionsFrom" ``` -### Example 4 +This example shows how to use the Get-MgRoleManagementDirectoryRoleDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgRoleManagementDirectoryRoleDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleDefinition ``` +This example shows how to use the Get-MgRoleManagementDirectoryRoleDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilitySchedule.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilitySchedule.md index 48ab1d924aa..92758c877ee 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilitySchedule.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilitySchedule.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgRoleManagementDirectoryRoleEligibilitySchedule Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilitySchedule -UnifiedRoleEligibilityScheduleId $unifiedRoleEligibilityScheduleId ``` -### Example 2 +This example shows how to use the Get-MgRoleManagementDirectoryRoleEligibilitySchedule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgRoleManagementDirectoryRoleEligibilitySchedule Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilitySchedule ``` -### Example 3 +This example shows how to use the Get-MgRoleManagementDirectoryRoleEligibilitySchedule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgRoleManagementDirectoryRoleEligibilitySchedule Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilitySchedule -UnifiedRoleEligibilityScheduleId $unifiedRoleEligibilityScheduleId ``` +This example shows how to use the Get-MgRoleManagementDirectoryRoleEligibilitySchedule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance.md index 7e008ae2c4b..e30df453d7b 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance -UnifiedRoleEligibilityScheduleInstanceId $unifiedRoleEligibilityScheduleInstanceId ``` -### Example 2 +This example shows how to use the Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance ``` -### Example 3 +This example shows how to use the Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance -UnifiedRoleEligibilityScheduleInstanceId $unifiedRoleEligibilityScheduleInstanceId ``` +This example shows how to use the Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md index a9778068e01..4beb7da98d5 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -UnifiedRoleEligibilityScheduleRequestId $unifiedRoleEligibilityScheduleRequestId ``` -### Example 2 +This example shows how to use the Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest ``` -### Example 3 +This example shows how to use the Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -UnifiedRoleEligibilityScheduleRequestId $unifiedRoleEligibilityScheduleRequestId ``` +This example shows how to use the Get-MgRoleManagementDirectoryRoleEligibilityScheduleRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleAssignment.md index 1b883ea48e2..dd572c60008 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleAssignment.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgRoleManagementEntitlementManagementRoleAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementEntitlementManagementRoleAssignment -Filter "appScopeId eq '/AccessPackageCatalog/4cee616b-fdf9-4890-9d10-955e0ccb12bc'" -ExpandProperty "principal" ``` +This example shows how to use the Get-MgRoleManagementEntitlementManagementRoleAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleDefinition.md index a6ff855414a..8badc617835 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Get-MgRoleManagementEntitlementManagementRoleDefinition.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgRoleManagementEntitlementManagementRoleDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Get-MgRoleManagementEntitlementManagementRoleDefinition ``` +This example shows how to use the Get-MgRoleManagementEntitlementManagementRoleDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignment.md index a708c1922fa..a8855ce11cb 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignment.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgRoleManagementDirectoryRoleAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ @@ -9,7 +9,9 @@ $params = @{ } New-MgRoleManagementDirectoryRoleAssignment -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgRoleManagementDirectoryRoleAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgRoleManagementDirectoryRoleAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ @@ -20,7 +22,9 @@ $params = @{ } New-MgRoleManagementDirectoryRoleAssignment -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgRoleManagementDirectoryRoleAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgRoleManagementDirectoryRoleAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ @@ -31,3 +35,5 @@ $params = @{ } New-MgRoleManagementDirectoryRoleAssignment -BodyParameter $params ``` +This example shows how to use the New-MgRoleManagementDirectoryRoleAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md index 9b26703861c..106eed6fa4b 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ @@ -16,7 +16,9 @@ $params = @{ } New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ @@ -39,3 +41,5 @@ $params = @{ } New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -BodyParameter $params ``` +This example shows how to use the New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleDefinition.md index fd0ac60aa28..db99fdf15f0 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleDefinition.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgRoleManagementDirectoryRoleDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ @@ -15,3 +15,5 @@ $params = @{ } New-MgRoleManagementDirectoryRoleDefinition -BodyParameter $params ``` +This example shows how to use the New-MgRoleManagementDirectoryRoleDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md index 5b65b927cfa..14021000bf1 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ @@ -17,7 +17,9 @@ $params = @{ } New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ @@ -28,3 +30,5 @@ $params = @{ } New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -BodyParameter $params ``` +This example shows how to use the New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementEntitlementManagementRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementEntitlementManagementRoleAssignment.md index 6bbe550cdea..a22be7bf15b 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementEntitlementManagementRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/New-MgRoleManagementEntitlementManagementRoleAssignment.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgRoleManagementEntitlementManagementRoleAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgRoleManagementEntitlementManagementRoleAssignment -BodyParameter $params ``` +This example shows how to use the New-MgRoleManagementEntitlementManagementRoleAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleAssignment.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleAssignment.md index 7e5ef710b93..fa11597ae7f 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleAssignment.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleAssignment.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgRoleManagementDirectoryRoleAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Remove-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId ``` +This example shows how to use the Remove-MgRoleManagementDirectoryRoleAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleDefinition.md index 667c6abcc59..7d6974a7fd7 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Remove-MgRoleManagementDirectoryRoleDefinition.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgRoleManagementDirectoryRoleDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Remove-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId ``` +This example shows how to use the Remove-MgRoleManagementDirectoryRoleDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md index 3ae858ebf03..d40d990ad13 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -UnifiedRoleAssignmentScheduleRequestId $unifiedRoleAssignmentScheduleRequestId ``` +This example shows how to use the Stop-MgRoleManagementDirectoryRoleAssignmentScheduleRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md index 3777364fd91..37f08677460 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -UnifiedRoleEligibilityScheduleRequestId $unifiedRoleEligibilityScheduleRequestId ``` +This example shows how to use the Stop-MgRoleManagementDirectoryRoleEligibilityScheduleRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Update-MgRoleManagementDirectoryRoleDefinition.md b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Update-MgRoleManagementDirectoryRoleDefinition.md index 4a48e80dc9f..348d6d62f2c 100644 --- a/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Update-MgRoleManagementDirectoryRoleDefinition.md +++ b/src/DeviceManagement.Enrolment/DeviceManagement.Enrolment/examples/v1.0/Update-MgRoleManagementDirectoryRoleDefinition.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgRoleManagementDirectoryRoleDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.DeviceManagement.Enrolment $params = @{ @@ -14,3 +14,5 @@ $params = @{ } Update-MgRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $unifiedRoleDefinitionId -BodyParameter $params ``` +This example shows how to use the Update-MgRoleManagementDirectoryRoleDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintConnector.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintConnector.md index 4c38c0bc082..585b0396a4b 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintConnector.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintConnector.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPrintConnector Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintConnector -PrintConnectorId $printConnectorId ``` -### Example 2 +This example shows how to use the Get-MgPrintConnector Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPrintConnector Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintConnector ``` +This example shows how to use the Get-MgPrintConnector Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintOperation.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintOperation.md index 654054d67e1..3a9558682fa 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintOperation.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintOperation.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPrintOperation Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintOperation -PrintOperationId $printOperationId ``` +This example shows how to use the Get-MgPrintOperation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinter.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinter.md index 031a3da0894..8c75ee416a0 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinter.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinter.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgPrintPrinter Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinter -PrinterId $printerId -Property "id,displayName,capabilities" ``` -### Example 2 +This example shows how to use the Get-MgPrintPrinter Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPrintPrinter Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinter -PrinterId $printerId ``` -### Example 3 +This example shows how to use the Get-MgPrintPrinter Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgPrintPrinter Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinter ``` +This example shows how to use the Get-MgPrintPrinter Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterConnector.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterConnector.md index 1441e5d0171..e9afe44fe2c 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterConnector.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterConnector.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPrintPrinterConnector Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinterConnector -PrinterId $printerId ``` +This example shows how to use the Get-MgPrintPrinterConnector Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterTaskTrigger.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterTaskTrigger.md index 86fd3efa356..10a3c518a4c 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterTaskTrigger.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintPrinterTaskTrigger.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPrintPrinterTaskTrigger Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinterTaskTrigger -PrinterId $printerId -PrintTaskTriggerId $printTaskTriggerId ``` -### Example 2 +This example shows how to use the Get-MgPrintPrinterTaskTrigger Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPrintPrinterTaskTrigger Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintPrinterTaskTrigger -PrinterId $printerId ``` +This example shows how to use the Get-MgPrintPrinterTaskTrigger Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintService.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintService.md index ea61dde021e..6ab750cf1e1 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintService.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintService.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPrintService Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintService -PrintServiceId $printServiceId ``` -### Example 2 +This example shows how to use the Get-MgPrintService Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPrintService Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintService ``` +This example shows how to use the Get-MgPrintService Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintServiceEndpoint.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintServiceEndpoint.md index 197ee9f059f..3440033e58e 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintServiceEndpoint.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintServiceEndpoint.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPrintServiceEndpoint Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintServiceEndpoint -PrintServiceId $printServiceId -PrintServiceEndpointId $printServiceEndpointId ``` -### Example 2 +This example shows how to use the Get-MgPrintServiceEndpoint Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPrintServiceEndpoint Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintServiceEndpoint -PrintServiceId $printServiceId ``` +This example shows how to use the Get-MgPrintServiceEndpoint Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShare.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShare.md index adf6f5bdc81..5f1b7f68a0c 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShare.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShare.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgPrintShare Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintShare -PrinterShareId $printerShareId -Property "id,displayName,capabilities" ``` -### Example 2 +This example shows how to use the Get-MgPrintShare Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPrintShare Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintShare -PrinterShareId $printerShareId ``` -### Example 3 +This example shows how to use the Get-MgPrintShare Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgPrintShare Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintShare ``` +This example shows how to use the Get-MgPrintShare Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedGroup.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedGroup.md index 8a0136523ac..dd8a5e19b37 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedGroup.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedGroup.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPrintShareAllowedGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintShareAllowedGroup -PrinterShareId $printerShareId ``` +This example shows how to use the Get-MgPrintShareAllowedGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedUser.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedUser.md index 5a81f2d4a1d..a48f3c74576 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedUser.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintShareAllowedUser.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPrintShareAllowedUser Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintShareAllowedUser -PrinterShareId $printerShareId ``` +This example shows how to use the Get-MgPrintShareAllowedUser Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinition.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinition.md index 8205f866069..cdab7a1e499 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinition.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinition.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPrintTaskDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintTaskDefinition -PrintTaskDefinitionId $printTaskDefinitionId ``` -### Example 2 +This example shows how to use the Get-MgPrintTaskDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPrintTaskDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintTaskDefinition ``` +This example shows how to use the Get-MgPrintTaskDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinitionTask.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinitionTask.md index 2de3b1acb83..7550825532f 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinitionTask.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Get-MgPrintTaskDefinitionTask.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPrintTaskDefinitionTask Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintTaskDefinitionTask -PrintTaskDefinitionId $printTaskDefinitionId -PrintTaskId $printTaskId ``` -### Example 2 +This example shows how to use the Get-MgPrintTaskDefinitionTask Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPrintTaskDefinitionTask Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Get-MgPrintTaskDefinitionTask -PrintTaskDefinitionId $printTaskDefinitionId ``` +This example shows how to use the Get-MgPrintTaskDefinitionTask Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintPrinterTaskTrigger.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintPrinterTaskTrigger.md index f7663fc4b1c..c8a1db020d0 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintPrinterTaskTrigger.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintPrinterTaskTrigger.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPrintPrinterTaskTrigger Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ @@ -7,3 +7,5 @@ $params = @{ } New-MgPrintPrinterTaskTrigger -PrinterId $printerId -BodyParameter $params ``` +This example shows how to use the New-MgPrintPrinterTaskTrigger Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShare.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShare.md index aec818e1f05..735d4c84036 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShare.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShare.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPrintShare Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgPrintShare -BodyParameter $params ``` +This example shows how to use the New-MgPrintShare Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedGroupByRef.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedGroupByRef.md index 2cd74d80343..55b36ffa682 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedGroupByRef.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedGroupByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPrintShareAllowedGroupByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgPrintShareAllowedGroupByRef -PrinterShareId $printerShareId -BodyParameter $params ``` +This example shows how to use the New-MgPrintShareAllowedGroupByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedUserByRef.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedUserByRef.md index f91fa79da31..ff05ec1a79d 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedUserByRef.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintShareAllowedUserByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPrintShareAllowedUserByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgPrintShareAllowedUserByRef -PrinterShareId $printerShareId -BodyParameter $params ``` +This example shows how to use the New-MgPrintShareAllowedUserByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintTaskDefinition.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintTaskDefinition.md index 1cad0619ff7..5297b4e6239 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintTaskDefinition.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/New-MgPrintTaskDefinition.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPrintTaskDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ @@ -9,3 +9,5 @@ $params = @{ } New-MgPrintTaskDefinition -BodyParameter $params ``` +This example shows how to use the New-MgPrintTaskDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintConnector.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintConnector.md index 711e973d3be..b6b03acbbd9 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintConnector.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintConnector.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPrintConnector Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintConnector -PrintConnectorId $printConnectorId ``` +This example shows how to use the Remove-MgPrintConnector Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinter.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinter.md index e668f49b077..c88a5f00d66 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinter.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinter.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPrintPrinter Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintPrinter -PrinterId $printerId ``` +This example shows how to use the Remove-MgPrintPrinter Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinterTaskTrigger.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinterTaskTrigger.md index 7c1bfeeeb57..7bf987720c8 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinterTaskTrigger.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintPrinterTaskTrigger.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPrintPrinterTaskTrigger Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintPrinterTaskTrigger -PrinterId $printerId -PrintTaskTriggerId $printTaskTriggerId ``` +This example shows how to use the Remove-MgPrintPrinterTaskTrigger Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShare.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShare.md index e935112ba07..35927f171d2 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShare.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShare.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPrintShare Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintShare -PrinterShareId $printerShareId ``` +This example shows how to use the Remove-MgPrintShare Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedGroupByRef.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedGroupByRef.md index 289d71d29e4..4065fc85784 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedGroupByRef.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedGroupByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPrintShareAllowedGroupByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintShareAllowedGroupByRef -PrinterShareId $printerShareId -GroupId $groupId ``` +This example shows how to use the Remove-MgPrintShareAllowedGroupByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedUserByRef.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedUserByRef.md index f43df6c42a2..e1b5d0ca410 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedUserByRef.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintShareAllowedUserByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPrintShareAllowedUserByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintShareAllowedUserByRef -PrinterShareId $printerShareId -UserId $userId ``` +This example shows how to use the Remove-MgPrintShareAllowedUserByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintTaskDefinition.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintTaskDefinition.md index 1635f6ab7bf..0e86aa99d4a 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintTaskDefinition.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Remove-MgPrintTaskDefinition.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPrintTaskDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Remove-MgPrintTaskDefinition -PrintTaskDefinitionId $printTaskDefinitionId ``` +This example shows how to use the Remove-MgPrintTaskDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Restore-MgPrintPrinterFactoryDefault.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Restore-MgPrintPrinterFactoryDefault.md index a59b247caae..a536b37ba3a 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Restore-MgPrintPrinterFactoryDefault.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Restore-MgPrintPrinterFactoryDefault.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Restore-MgPrintPrinterFactoryDefault Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint Restore-MgPrintPrinterFactoryDefault -PrinterId $printerId ``` +This example shows how to use the Restore-MgPrintPrinterFactoryDefault Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintConnector.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintConnector.md index 6d0a4dae012..3b0f9997821 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintConnector.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintConnector.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPrintConnector Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ @@ -14,3 +14,5 @@ $params = @{ } Update-MgPrintConnector -PrintConnectorId $printConnectorId -BodyParameter $params ``` +This example shows how to use the Update-MgPrintConnector Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintPrinter.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintPrinter.md index 47e46f158bf..eefb23ee35e 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintPrinter.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintPrinter.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPrintPrinter Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ @@ -11,3 +11,5 @@ $params = @{ } Update-MgPrintPrinter -PrinterId $printerId -BodyParameter $params ``` +This example shows how to use the Update-MgPrintPrinter Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintShare.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintShare.md index 555c60800b0..468a0d38650 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintShare.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintShare.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPrintShare Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ @@ -8,3 +8,5 @@ $params = @{ } Update-MgPrintShare -PrinterShareId $printerShareId -BodyParameter $params ``` +This example shows how to use the Update-MgPrintShare Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinition.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinition.md index ff2726a61db..ee40fa3719f 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinition.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinition.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPrintTaskDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Update-MgPrintTaskDefinition -PrintTaskDefinitionId $printTaskDefinitionId -BodyParameter $params ``` +This example shows how to use the Update-MgPrintTaskDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinitionTask.md b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinitionTask.md index 20bc02f8e89..db64fdfaf5b 100644 --- a/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinitionTask.md +++ b/src/Devices.CloudPrint/Devices.CloudPrint/examples/v1.0/Update-MgPrintTaskDefinitionTask.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPrintTaskDefinitionTask Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.CloudPrint $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Update-MgPrintTaskDefinitionTask -PrintTaskDefinitionId $printTaskDefinitionId -PrintTaskId $printTaskId -BodyParameter $params ``` +This example shows how to use the Update-MgPrintTaskDefinitionTask Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementHealthOverview.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementHealthOverview.md index e824190a622..aadf228bc08 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementHealthOverview.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementHealthOverview.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgServiceAnnouncementHealthOverview Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementHealthOverview -ServiceHealthId $serviceHealthId ``` -### Example 2 +This example shows how to use the Get-MgServiceAnnouncementHealthOverview Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgServiceAnnouncementHealthOverview Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementHealthOverview -ServiceHealthId $serviceHealthId -ExpandProperty "issues" ``` -### Example 3 +This example shows how to use the Get-MgServiceAnnouncementHealthOverview Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgServiceAnnouncementHealthOverview Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementHealthOverview ``` -### Example 4 +This example shows how to use the Get-MgServiceAnnouncementHealthOverview Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgServiceAnnouncementHealthOverview Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementHealthOverview -ExpandProperty "issues" ``` +This example shows how to use the Get-MgServiceAnnouncementHealthOverview Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementIssue.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementIssue.md index e7a08dd2d96..f911fe6db29 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementIssue.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementIssue.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgServiceAnnouncementIssue Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementIssue -ServiceHealthIssueId $serviceHealthIssueId ``` -### Example 2 +This example shows how to use the Get-MgServiceAnnouncementIssue Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgServiceAnnouncementIssue Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementIssue ``` +This example shows how to use the Get-MgServiceAnnouncementIssue Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessage.md index bd24fe75651..c739f4180ab 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessage.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgServiceAnnouncementMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessage -ServiceUpdateMessageId $serviceUpdateMessageId ``` -### Example 2 +This example shows how to use the Get-MgServiceAnnouncementMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgServiceAnnouncementMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessage ``` +This example shows how to use the Get-MgServiceAnnouncementMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachment.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachment.md index 5fb75934157..e5ffddff277 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachment.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachment.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgServiceAnnouncementMessageAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachment -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId ``` -### Example 2 +This example shows how to use the Get-MgServiceAnnouncementMessageAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgServiceAnnouncementMessageAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachment -ServiceUpdateMessageId $serviceUpdateMessageId ``` +This example shows how to use the Get-MgServiceAnnouncementMessageAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentArchive.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentArchive.md index 2f3e3883ac4..4049021ca54 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentArchive.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentArchive.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgServiceAnnouncementMessageAttachmentArchive Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachmentArchive -ServiceUpdateMessageId $serviceUpdateMessageId ``` -### Example 2 +This example shows how to use the Get-MgServiceAnnouncementMessageAttachmentArchive Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgServiceAnnouncementMessageAttachmentArchive Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachmentArchive -ServiceUpdateMessageId $serviceUpdateMessageId -OutFile $outFileId ``` +This example shows how to use the Get-MgServiceAnnouncementMessageAttachmentArchive Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentContent.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentContent.md index 21fcbd96085..895e5ca8e5f 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentContent.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Get-MgServiceAnnouncementMessageAttachmentContent.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgServiceAnnouncementMessageAttachmentContent Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachmentContent -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId ``` -### Example 2 +This example shows how to use the Get-MgServiceAnnouncementMessageAttachmentContent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgServiceAnnouncementMessageAttachmentContent Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Get-MgServiceAnnouncementMessageAttachmentContent -ServiceUpdateMessageId $serviceUpdateMessageId -ServiceAnnouncementAttachmentId $serviceAnnouncementAttachmentId -OutFile $outFileId ``` +This example shows how to use the Get-MgServiceAnnouncementMessageAttachmentContent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgArchiveServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgArchiveServiceAnnouncementMessage.md index 70532db104b..61d9e4df39d 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgArchiveServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgArchiveServiceAnnouncementMessage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgArchiveServiceAnnouncementMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Invoke-MgArchiveServiceAnnouncementMessage -BodyParameter $params ``` +This example shows how to use the Invoke-MgArchiveServiceAnnouncementMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgFavoriteServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgFavoriteServiceAnnouncementMessage.md index 6ce9c79a0df..e16061e638c 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgFavoriteServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgFavoriteServiceAnnouncementMessage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgFavoriteServiceAnnouncementMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Invoke-MgFavoriteServiceAnnouncementMessage -BodyParameter $params ``` +This example shows how to use the Invoke-MgFavoriteServiceAnnouncementMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageRead.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageRead.md index e1b8bb00d7a..fb09fa91814 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageRead.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageRead.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgMarkServiceAnnouncementMessageRead Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Invoke-MgMarkServiceAnnouncementMessageRead -BodyParameter $params ``` +This example shows how to use the Invoke-MgMarkServiceAnnouncementMessageRead Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageUnread.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageUnread.md index 6afd980fb7a..0deb99127e4 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageUnread.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgMarkServiceAnnouncementMessageUnread.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgMarkServiceAnnouncementMessageUnread Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Invoke-MgMarkServiceAnnouncementMessageUnread -BodyParameter $params ``` +This example shows how to use the Invoke-MgMarkServiceAnnouncementMessageUnread Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgReportServiceAnnouncementIssueIncident.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgReportServiceAnnouncementIssueIncident.md index da5e56cce34..342aeaad400 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgReportServiceAnnouncementIssueIncident.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgReportServiceAnnouncementIssueIncident.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Invoke-MgReportServiceAnnouncementIssueIncident Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement Invoke-MgReportServiceAnnouncementIssueIncident -ServiceHealthIssueId $serviceHealthIssueId ``` +This example shows how to use the Invoke-MgReportServiceAnnouncementIssueIncident Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnarchiveServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnarchiveServiceAnnouncementMessage.md index 7878925303e..702d2b0907b 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnarchiveServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnarchiveServiceAnnouncementMessage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgUnarchiveServiceAnnouncementMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Invoke-MgUnarchiveServiceAnnouncementMessage -BodyParameter $params ``` +This example shows how to use the Invoke-MgUnarchiveServiceAnnouncementMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnfavoriteServiceAnnouncementMessage.md b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnfavoriteServiceAnnouncementMessage.md index 5eabdadc72e..21ff1c40eec 100644 --- a/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnfavoriteServiceAnnouncementMessage.md +++ b/src/Devices.ServiceAnnouncement/Devices.ServiceAnnouncement/examples/v1.0/Invoke-MgUnfavoriteServiceAnnouncementMessage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgUnfavoriteServiceAnnouncementMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Devices.ServiceAnnouncement $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Invoke-MgUnfavoriteServiceAnnouncementMessage -BodyParameter $params ``` +This example shows how to use the Invoke-MgUnfavoriteServiceAnnouncementMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Confirm-MgDirectoryObjectMemberGroup.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Confirm-MgDirectoryObjectMemberGroup.md index f0d0f7ae804..2dbde67e20b 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Confirm-MgDirectoryObjectMemberGroup.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Confirm-MgDirectoryObjectMemberGroup.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Confirm-MgDirectoryObjectMemberGroup Cmdlet ```powershell Import-Module Microsoft.Graph.DirectoryObjects $params = @{ @@ -12,3 +12,5 @@ $params = @{ } Confirm-MgDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params ``` +This example shows how to use the Confirm-MgDirectoryObjectMemberGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObject.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObject.md index d3075b25d87..c78fa264d7b 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObject.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObject.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgDirectoryObject Cmdlet ```powershell Import-Module Microsoft.Graph.DirectoryObjects Get-MgDirectoryObject -DirectoryObjectId $directoryObjectId ``` +This example shows how to use the Get-MgDirectoryObject Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectAvailableExtensionProperty.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectAvailableExtensionProperty.md index ee2aaef43e6..1a5b43df21e 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectAvailableExtensionProperty.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectAvailableExtensionProperty.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgDirectoryObjectAvailableExtensionProperty Cmdlet ```powershell Import-Module Microsoft.Graph.DirectoryObjects Get-MgDirectoryObjectAvailableExtensionProperty ``` +This example shows how to use the Get-MgDirectoryObjectAvailableExtensionProperty Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectById.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectById.md index 001d5d0a1c6..2140ce07471 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectById.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectById.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Get-MgDirectoryObjectById Cmdlet ```powershell Import-Module Microsoft.Graph.DirectoryObjects $params = @{ @@ -16,3 +16,5 @@ $params = @{ } Get-MgDirectoryObjectById -BodyParameter $params ``` +This example shows how to use the Get-MgDirectoryObjectById Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberGroup.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberGroup.md index a5939b6902a..6fbbed6e2da 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberGroup.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberGroup.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Get-MgDirectoryObjectMemberGroup Cmdlet ```powershell Import-Module Microsoft.Graph.DirectoryObjects $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Get-MgDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params ``` +This example shows how to use the Get-MgDirectoryObjectMemberGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberObject.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberObject.md index af2708a84f9..15c025d07fb 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberObject.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Get-MgDirectoryObjectMemberObject.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Get-MgDirectoryObjectMemberObject Cmdlet ```powershell Import-Module Microsoft.Graph.DirectoryObjects $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Get-MgDirectoryObjectMemberObject -DirectoryObjectId $directoryObjectId -BodyParameter $params ``` +This example shows how to use the Get-MgDirectoryObjectMemberObject Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Remove-MgDirectoryObject.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Remove-MgDirectoryObject.md index bbb9f7fe6d7..225c5f869ba 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Remove-MgDirectoryObject.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Remove-MgDirectoryObject.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgDirectoryObject Cmdlet ```powershell Import-Module Microsoft.Graph.DirectoryObjects Remove-MgDirectoryObject -DirectoryObjectId $directoryObjectId ``` +This example shows how to use the Remove-MgDirectoryObject Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Test-MgDirectoryObjectProperty.md b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Test-MgDirectoryObjectProperty.md index 2f1b24b0362..a726f215691 100644 --- a/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Test-MgDirectoryObjectProperty.md +++ b/src/DirectoryObjects/DirectoryObjects/examples/v1.0/Test-MgDirectoryObjectProperty.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Test-MgDirectoryObjectProperty Cmdlet ```powershell Import-Module Microsoft.Graph.DirectoryObjects $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Test-MgDirectoryObjectProperty -BodyParameter $params ``` +This example shows how to use the Test-MgDirectoryObjectProperty Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClass.md b/src/Education/Education/examples/v1.0/Get-MgEducationClass.md index 12f1ab5b06c..80b63f9a931 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClass.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClass.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClass Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClass -EducationClassId $educationClassId ``` -### Example 2 +This example shows how to use the Get-MgEducationClass Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEducationClass Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClass ``` +This example shows how to use the Get-MgEducationClass Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignment.md index abe5cc3bf13..49bdf72439e 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignment.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClassAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignment -EducationClassId $educationClassId ``` -### Example 2 +This example shows how to use the Get-MgEducationClassAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEducationClassAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignment -EducationClassId $educationClassId -ExpandProperty "resources" ``` -### Example 3 +This example shows how to use the Get-MgEducationClassAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgEducationClassAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` +This example shows how to use the Get-MgEducationClassAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategory.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategory.md index c724d68c554..66f2d4b9eab 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategory.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategory.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClassAssignmentCategory Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategory -EducationClassId $educationClassId ``` -### Example 2 +This example shows how to use the Get-MgEducationClassAssignmentCategory Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEducationClassAssignmentCategory Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategory -EducationClassId $educationClassId -EducationCategoryId $educationCategoryId ``` +This example shows how to use the Get-MgEducationClassAssignmentCategory Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategoryDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategoryDelta.md index d4b2b45fa85..2fd2fbfcb72 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategoryDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentCategoryDelta.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClassAssignmentCategoryDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Skiptoken "U43TyYWKlRvJ6wWxZOfJvkp22nMqShRw9f-GxBtG2FDy9b1hMDaAJGdLb7n2fh1IVSFtBcXz0jxjIEihcR91dS3R7i8Z2IMtxIn9rKbK9Jvurj6jCH-lDbSNatdesrK0PJ5zpZ_-i8HyqkdtLhWD9tewXVArIqQWJA7gJz8z4paG2q0MU9rixrQOTe7WIXikPiBTUPilHuUW-o1k7cvqke3K7llJbU3G7z_O7WGoVGE.l8-2OcBi9ZWAhwhPnXvJ-kyyk8GNb6-H4o6qofP5YBY" ``` -### Example 2 +This example shows how to use the Get-MgEducationClassAssignmentCategoryDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEducationClassAssignmentCategoryDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Deltatoken "7ORzTfzlUEGDy6BRE3OC-3ePBbvLHCRe4aJ_hjaBKJxUHmn_ODgoM4xreLS7YRaxc-iACeqCQsT5Tb0u9vn6QXYflO6j0sRgRQlhcfR7DApZYl6uZqiXcR7H0G14btPqR761sKWNc0jgiczrHGF6dGfSQwsLzPT46og-84ArhOU.Jnxvkr08FE-QBvEYstYel3JZUrgwgTauo-GmpbdWeSA" ``` -### Example 3 +This example shows how to use the Get-MgEducationClassAssignmentCategoryDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgEducationClassAssignmentCategoryDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Deltatoken "7ORzTfzlUEGDy6BRE3OC-3ePBbvLHCRe4aJ_hjaBKJxUHmn_ODgoM4xreLS7YRaxc-iACeqCQsT5Tb0u9vn6QXYflO6j0sRgRQlhcfR7DApZYl6uZqiXcR7H0G14btPqR761sKWNc0jgiczrHGF6dGfSQwsLzPT46og-84ArhOU.Jnxvkr08FE-QBvEYstYel3JZUrgwgTauo-GmpbdWeSA" -OutFile $outFileId ``` -### Example 4 +This example shows how to use the Get-MgEducationClassAssignmentCategoryDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgEducationClassAssignmentCategoryDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentCategoryDelta -EducationClassId $educationClassId -Top 3 ``` +This example shows how to use the Get-MgEducationClassAssignmentCategoryDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDefault.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDefault.md index fc32a8910e3..abe6aa4b78f 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDefault.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDefault.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClassAssignmentDefault Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentDefault -EducationClassId $educationClassId ``` +This example shows how to use the Get-MgEducationClassAssignmentDefault Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDelta.md index 9b1e02e5fdd..160f1ef5840 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentDelta.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClassAssignmentDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentDelta -EducationClassId $educationClassId -Deltatoken "7ORzTfzlUEGDy6BRE3OC-3ePBbvLHCRe4aJ_hjaBKJxUHmn_ODgoM4xreLS7YRaxROmLjac48n-iXm5j6n5aQwlsnC-2OvL3lI0Z8M4klERNmJQjnBn7MHqwXZ6L8GlI3VPnya3E-p1bisiZX97jLvQUAopseIYhvnD6v7fiYrk.fVsHempT6X2CiBh6aN9Ex5nVJ71adKdcf-mdke8OHKs" ``` -### Example 2 +This example shows how to use the Get-MgEducationClassAssignmentDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEducationClassAssignmentDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentDelta -EducationClassId $educationClassId -Skiptoken "U43TyYWKlRvJ6wWxZOfJvkp22nMqShRw9f-GxBtG2FDy9b1hMDaAJGdLb7n2fh1IdHoweKQs1czM4Ry1LVsNqwIFXftTcRHvgSCbcszvbJHEWDCO3QO7K7zwCM8DdXNepZOa1gqldecjIUM0NFRbGQoQ5yR6RmGnMgtko8TDMOyMH_yg1my82PTXA_t4Nj-DhMDZWvuNTd_lbLeTngc7mIJPMCR2gHN9CSKsW_kw850.UM9tUqwOu5Ln1pnxaP6KdMmfJHszGqY3EKPlQkOiyGs" ``` -### Example 3 +This example shows how to use the Get-MgEducationClassAssignmentDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgEducationClassAssignmentDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentDelta -EducationClassId $educationClassId -Top 2 ``` +This example shows how to use the Get-MgEducationClassAssignmentDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentResource.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentResource.md index 30af2f38a5f..1a917c81730 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentResource.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentResource.md @@ -1,35 +1,49 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClassAssignmentResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` -### Example 2 +This example shows how to use the Get-MgEducationClassAssignmentResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEducationClassAssignmentResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` -### Example 3 +This example shows how to use the Get-MgEducationClassAssignmentResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgEducationClassAssignmentResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` -### Example 4 +This example shows how to use the Get-MgEducationClassAssignmentResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgEducationClassAssignmentResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` -### Example 5 +This example shows how to use the Get-MgEducationClassAssignmentResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the Get-MgEducationClassAssignmentResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` -### Example 6 +This example shows how to use the Get-MgEducationClassAssignmentResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 6: Using the Get-MgEducationClassAssignmentResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` -### Example 7 +This example shows how to use the Get-MgEducationClassAssignmentResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 7: Using the Get-MgEducationClassAssignmentResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` +This example shows how to use the Get-MgEducationClassAssignmentResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentRubric.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentRubric.md index e3597effd46..b991a476d2c 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentRubric.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentRubric.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClassAssignmentRubric Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentRubric -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` +This example shows how to use the Get-MgEducationClassAssignmentRubric Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSetting.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSetting.md index f1e600b3162..e315eabe738 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSetting.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSetting.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClassAssignmentSetting Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSetting -EducationClassId $educationClassId ``` +This example shows how to use the Get-MgEducationClassAssignmentSetting Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmission.md index 507043ebab6..3388edc8863 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmission.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClassAssignmentSubmission Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` -### Example 2 +This example shows how to use the Get-MgEducationClassAssignmentSubmission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEducationClassAssignmentSubmission Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -ExpandProperty "*" ``` -### Example 3 +This example shows how to use the Get-MgEducationClassAssignmentSubmission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgEducationClassAssignmentSubmission Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -ExpandProperty "outcomes" ``` -### Example 4 +This example shows how to use the Get-MgEducationClassAssignmentSubmission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgEducationClassAssignmentSubmission Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` +This example shows how to use the Get-MgEducationClassAssignmentSubmission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionOutcome.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionOutcome.md index 1829880616c..109ba482a6c 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionOutcome.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionOutcome.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClassAssignmentSubmissionOutcome Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionOutcome -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` +This example shows how to use the Get-MgEducationClassAssignmentSubmissionOutcome Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionResource.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionResource.md index eb5df2f3fc7..6c6a6c40d26 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionResource.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionResource.md @@ -1,35 +1,49 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClassAssignmentSubmissionResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` -### Example 2 +This example shows how to use the Get-MgEducationClassAssignmentSubmissionResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEducationClassAssignmentSubmissionResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` -### Example 3 +This example shows how to use the Get-MgEducationClassAssignmentSubmissionResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgEducationClassAssignmentSubmissionResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` -### Example 4 +This example shows how to use the Get-MgEducationClassAssignmentSubmissionResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgEducationClassAssignmentSubmissionResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` -### Example 5 +This example shows how to use the Get-MgEducationClassAssignmentSubmissionResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the Get-MgEducationClassAssignmentSubmissionResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` -### Example 6 +This example shows how to use the Get-MgEducationClassAssignmentSubmissionResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 6: Using the Get-MgEducationClassAssignmentSubmissionResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` -### Example 7 +This example shows how to use the Get-MgEducationClassAssignmentSubmissionResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 7: Using the Get-MgEducationClassAssignmentSubmissionResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` +This example shows how to use the Get-MgEducationClassAssignmentSubmissionResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionSubmittedResource.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionSubmittedResource.md index 35af243cc22..5923828d054 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionSubmittedResource.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassAssignmentSubmissionSubmittedResource.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClassAssignmentSubmissionSubmittedResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassAssignmentSubmissionSubmittedResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` +This example shows how to use the Get-MgEducationClassAssignmentSubmissionSubmittedResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassDelta.md index 4fbb437ee4f..21042a9005f 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassDelta.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClassDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassDelta ``` +This example shows how to use the Get-MgEducationClassDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassMember.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassMember.md index 7bca76f2516..9dd47d93abf 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassMember.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassMember.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClassMember Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassMember -EducationClassId $educationClassId ``` +This example shows how to use the Get-MgEducationClassMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassSchool.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassSchool.md index 46e4a7becb7..957fbfc323c 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassSchool.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassSchool.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClassSchool Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassSchool -EducationClassId $educationClassId ``` +This example shows how to use the Get-MgEducationClassSchool Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationClassTeacher.md b/src/Education/Education/examples/v1.0/Get-MgEducationClassTeacher.md index 32629ada032..473fe1c18b8 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationClassTeacher.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationClassTeacher.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEducationClassTeacher Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationClassTeacher -EducationClassId $educationClassId ``` +This example shows how to use the Get-MgEducationClassTeacher Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationMeAssignment.md b/src/Education/Education/examples/v1.0/Get-MgEducationMeAssignment.md index 279b8657002..87f61a0c158 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationMeAssignment.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationMeAssignment.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEducationMeAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationMeAssignment ``` +This example shows how to use the Get-MgEducationMeAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationMeClass.md b/src/Education/Education/examples/v1.0/Get-MgEducationMeClass.md index 8068a52ce2b..c2fc5b19747 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationMeClass.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationMeClass.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEducationMeClass Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationMeClass ``` +This example shows how to use the Get-MgEducationMeClass Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationMeRubric.md b/src/Education/Education/examples/v1.0/Get-MgEducationMeRubric.md index d1c8989fada..514fcbf769a 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationMeRubric.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationMeRubric.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgEducationMeRubric Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationMeRubric -EducationRubricId $educationRubricId ``` -### Example 2 +This example shows how to use the Get-MgEducationMeRubric Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEducationMeRubric Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationMeRubric ``` +This example shows how to use the Get-MgEducationMeRubric Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationMeSchool.md b/src/Education/Education/examples/v1.0/Get-MgEducationMeSchool.md index 293ed1f2802..4d601152127 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationMeSchool.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationMeSchool.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEducationMeSchool Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationMeSchool ``` +This example shows how to use the Get-MgEducationMeSchool Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationSchool.md b/src/Education/Education/examples/v1.0/Get-MgEducationSchool.md index b2430c52eaa..14f7cd8885e 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationSchool.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationSchool.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgEducationSchool Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationSchool -EducationSchoolId $educationSchoolId ``` -### Example 2 +This example shows how to use the Get-MgEducationSchool Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEducationSchool Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationSchool ``` +This example shows how to use the Get-MgEducationSchool Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolClass.md b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolClass.md index 0374ae850f0..d62c4b40053 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolClass.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolClass.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEducationSchoolClass Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationSchoolClass -EducationSchoolId $educationSchoolId ``` +This example shows how to use the Get-MgEducationSchoolClass Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolDelta.md index 929cdb7dce8..27fd275b361 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolDelta.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEducationSchoolDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationSchoolDelta ``` +This example shows how to use the Get-MgEducationSchoolDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolUser.md b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolUser.md index c20bb8e1dd1..74fbaed65bd 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationSchoolUser.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationSchoolUser.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEducationSchoolUser Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationSchoolUser -EducationSchoolId $educationSchoolId ``` +This example shows how to use the Get-MgEducationSchoolUser Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationUser.md b/src/Education/Education/examples/v1.0/Get-MgEducationUser.md index 7130fc90427..6a325831ea2 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationUser.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationUser.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgEducationUser Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationUser -EducationUserId $educationUserId ``` -### Example 2 +This example shows how to use the Get-MgEducationUser Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEducationUser Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationUser ``` +This example shows how to use the Get-MgEducationUser Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationUserAssignment.md b/src/Education/Education/examples/v1.0/Get-MgEducationUserAssignment.md index 7280733a026..37d17933a46 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationUserAssignment.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationUserAssignment.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgEducationUserAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationUserAssignment -EducationUserId $educationUserId -ExpandProperty "submissions" ``` -### Example 2 +This example shows how to use the Get-MgEducationUserAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEducationUserAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationUserAssignment -EducationUserId $educationUserId ``` +This example shows how to use the Get-MgEducationUserAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationUserDelta.md b/src/Education/Education/examples/v1.0/Get-MgEducationUserDelta.md index 13679288a92..8ebded8c6c2 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationUserDelta.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationUserDelta.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEducationUserDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationUserDelta ``` +This example shows how to use the Get-MgEducationUserDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Get-MgEducationUserTaughtClass.md b/src/Education/Education/examples/v1.0/Get-MgEducationUserTaughtClass.md index 3895cfcfdb3..d6be229bb34 100644 --- a/src/Education/Education/examples/v1.0/Get-MgEducationUserTaughtClass.md +++ b/src/Education/Education/examples/v1.0/Get-MgEducationUserTaughtClass.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgEducationUserTaughtClass Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationUserTaughtClass -EducationUserId $educationUserId ``` -### Example 2 +This example shows how to use the Get-MgEducationUserTaughtClass Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEducationUserTaughtClass Cmdlet ```powershell Import-Module Microsoft.Graph.Education Get-MgEducationUserTaughtClass -EducationUserId $educationUserId -OutFile $outFileId ``` +This example shows how to use the Get-MgEducationUserTaughtClass Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Invoke-MgReassignEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Invoke-MgReassignEducationClassAssignmentSubmission.md index 448eba29c41..09045ac6546 100644 --- a/src/Education/Education/examples/v1.0/Invoke-MgReassignEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Invoke-MgReassignEducationClassAssignmentSubmission.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Invoke-MgReassignEducationClassAssignmentSubmission Cmdlet ```powershell Import-Module Microsoft.Graph.Education Invoke-MgReassignEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` -### Example 2 +This example shows how to use the Invoke-MgReassignEducationClassAssignmentSubmission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Invoke-MgReassignEducationClassAssignmentSubmission Cmdlet ```powershell Import-Module Microsoft.Graph.Education Invoke-MgReassignEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` +This example shows how to use the Invoke-MgReassignEducationClassAssignmentSubmission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Invoke-MgReturnEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Invoke-MgReturnEducationClassAssignmentSubmission.md index 57848ba8e12..02af8895caf 100644 --- a/src/Education/Education/examples/v1.0/Invoke-MgReturnEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Invoke-MgReturnEducationClassAssignmentSubmission.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Invoke-MgReturnEducationClassAssignmentSubmission Cmdlet ```powershell Import-Module Microsoft.Graph.Education Invoke-MgReturnEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` +This example shows how to use the Invoke-MgReturnEducationClassAssignmentSubmission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Invoke-MgUnsubmitEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Invoke-MgUnsubmitEducationClassAssignmentSubmission.md index 2f3f4d5d05c..696c90941ec 100644 --- a/src/Education/Education/examples/v1.0/Invoke-MgUnsubmitEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Invoke-MgUnsubmitEducationClassAssignmentSubmission.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Invoke-MgUnsubmitEducationClassAssignmentSubmission Cmdlet ```powershell Import-Module Microsoft.Graph.Education Invoke-MgUnsubmitEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` +This example shows how to use the Invoke-MgUnsubmitEducationClassAssignmentSubmission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClass.md b/src/Education/Education/examples/v1.0/New-MgEducationClass.md index ad6c283d431..22c2b03b98e 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClass.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClass.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEducationClass Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -21,3 +21,5 @@ $params = @{ } New-MgEducationClass -BodyParameter $params ``` +This example shows how to use the New-MgEducationClass Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignment.md index 32ac286fe31..447949218e0 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignment.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEducationClassAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -20,3 +20,5 @@ $params = @{ } New-MgEducationClassAssignment -EducationClassId $educationClassId -BodyParameter $params ``` +This example shows how to use the New-MgEducationClassAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategory.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategory.md index ec6100ef30a..85e8024228b 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategory.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategory.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEducationClassAssignmentCategory Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgEducationClassAssignmentCategory -EducationClassId $educationClassId -BodyParameter $params ``` +This example shows how to use the New-MgEducationClassAssignmentCategory Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategoryByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategoryByRef.md index 4d77c8097d1..3d43577232c 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategoryByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentCategoryByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEducationClassAssignmentCategoryByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -6,7 +6,9 @@ $params = @{ } New-MgEducationClassAssignmentCategoryByRef -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgEducationClassAssignmentCategoryByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgEducationClassAssignmentCategoryByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -14,3 +16,5 @@ $params = @{ } New-MgEducationClassAssignmentCategoryByRef -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` +This example shows how to use the New-MgEducationClassAssignmentCategoryByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentResource.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentResource.md index ae34d60f513..8081fad140e 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentResource.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentResource.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEducationClassAssignmentResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -11,7 +11,9 @@ $params = @{ } New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgEducationClassAssignmentResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgEducationClassAssignmentResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -23,7 +25,9 @@ $params = @{ } New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgEducationClassAssignmentResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgEducationClassAssignmentResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -37,7 +41,9 @@ $params = @{ } New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` -### Example 4 +This example shows how to use the New-MgEducationClassAssignmentResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the New-MgEducationClassAssignmentResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -50,7 +56,9 @@ $params = @{ } New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` -### Example 5 +This example shows how to use the New-MgEducationClassAssignmentResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the New-MgEducationClassAssignmentResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -63,7 +71,9 @@ $params = @{ } New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` -### Example 6 +This example shows how to use the New-MgEducationClassAssignmentResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 6: Using the New-MgEducationClassAssignmentResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -76,3 +86,5 @@ $params = @{ } New-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` +This example shows how to use the New-MgEducationClassAssignmentResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentSubmissionResource.md b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentSubmissionResource.md index a89dd62a554..6199539fbd4 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentSubmissionResource.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassAssignmentSubmissionResource.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEducationClassAssignmentSubmissionResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -10,7 +10,9 @@ $params = @{ } New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgEducationClassAssignmentSubmissionResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgEducationClassAssignmentSubmissionResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -22,7 +24,9 @@ $params = @{ } New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgEducationClassAssignmentSubmissionResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgEducationClassAssignmentSubmissionResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -34,7 +38,9 @@ $params = @{ } New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params ``` -### Example 4 +This example shows how to use the New-MgEducationClassAssignmentSubmissionResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the New-MgEducationClassAssignmentSubmissionResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -46,7 +52,9 @@ $params = @{ } New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params ``` -### Example 5 +This example shows how to use the New-MgEducationClassAssignmentSubmissionResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the New-MgEducationClassAssignmentSubmissionResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -58,7 +66,9 @@ $params = @{ } New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params ``` -### Example 6 +This example shows how to use the New-MgEducationClassAssignmentSubmissionResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 6: Using the New-MgEducationClassAssignmentSubmissionResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -70,3 +80,5 @@ $params = @{ } New-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params ``` +This example shows how to use the New-MgEducationClassAssignmentSubmissionResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassMemberByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationClassMemberByRef.md index 04e410ff407..27c0411e27e 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassMemberByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassMemberByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEducationClassMemberByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgEducationClassMemberByRef -EducationClassId $educationClassId -BodyParameter $params ``` +This example shows how to use the New-MgEducationClassMemberByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/New-MgEducationClassTeacherByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationClassTeacherByRef.md index 31e2847332e..856e940b1dc 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationClassTeacherByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationClassTeacherByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEducationClassTeacherByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgEducationClassTeacherByRef -EducationClassId $educationClassId -BodyParameter $params ``` +This example shows how to use the New-MgEducationClassTeacherByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/New-MgEducationMeRubric.md b/src/Education/Education/examples/v1.0/New-MgEducationMeRubric.md index 871dbe090f0..e8b652d0380 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationMeRubric.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationMeRubric.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEducationMeRubric Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -68,7 +68,9 @@ $params = @{ } New-MgEducationMeRubric -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgEducationMeRubric Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgEducationMeRubric Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -151,3 +153,5 @@ $params = @{ } New-MgEducationMeRubric -BodyParameter $params ``` +This example shows how to use the New-MgEducationMeRubric Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/New-MgEducationSchool.md b/src/Education/Education/examples/v1.0/New-MgEducationSchool.md index 33c908614d6..5fda77b1ae1 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationSchool.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationSchool.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEducationSchool Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -25,3 +25,5 @@ $params = @{ } New-MgEducationSchool -BodyParameter $params ``` +This example shows how to use the New-MgEducationSchool Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/New-MgEducationSchoolClassByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationSchoolClassByRef.md index 66b714ce19d..68f5d4135c2 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationSchoolClassByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationSchoolClassByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEducationSchoolClassByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgEducationSchoolClassByRef -EducationSchoolId $educationSchoolId -BodyParameter $params ``` +This example shows how to use the New-MgEducationSchoolClassByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/New-MgEducationSchoolUserByRef.md b/src/Education/Education/examples/v1.0/New-MgEducationSchoolUserByRef.md index 2e5a5f8359b..26b824c9b0f 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationSchoolUserByRef.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationSchoolUserByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEducationSchoolUserByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgEducationSchoolUserByRef -EducationSchoolId $educationSchoolId -BodyParameter $params ``` +This example shows how to use the New-MgEducationSchoolUserByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/New-MgEducationUser.md b/src/Education/Education/examples/v1.0/New-MgEducationUser.md index 4b3836fbcb1..f90c5febd5b 100644 --- a/src/Education/Education/examples/v1.0/New-MgEducationUser.md +++ b/src/Education/Education/examples/v1.0/New-MgEducationUser.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEducationUser Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -65,3 +65,5 @@ $params = @{ } New-MgEducationUser -BodyParameter $params ``` +This example shows how to use the New-MgEducationUser Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Publish-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/Publish-MgEducationClassAssignment.md index 2d3c4cca650..60310cb3a0c 100644 --- a/src/Education/Education/examples/v1.0/Publish-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/Publish-MgEducationClassAssignment.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Publish-MgEducationClassAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Education Publish-MgEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` +This example shows how to use the Publish-MgEducationClassAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClass.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClass.md index 432ba299685..b96838cab33 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClass.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClass.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEducationClass Cmdlet ```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClass -EducationClassId $educationClassId ``` +This example shows how to use the Remove-MgEducationClass Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignment.md index a8182463d1b..c8b2fb842d2 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignment.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEducationClassAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` +This example shows how to use the Remove-MgEducationClassAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategory.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategory.md index 2d6fd5ec79a..c41b8ef9ccc 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategory.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategory.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEducationClassAssignmentCategory Cmdlet ```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignmentCategory -EducationClassId $educationClassId -EducationCategoryId $educationCategoryId ``` +This example shows how to use the Remove-MgEducationClassAssignmentCategory Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategoryByRef.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategoryByRef.md index 5d8cd0d5b46..0f1753609db 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategoryByRef.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentCategoryByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEducationClassAssignmentCategoryByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignmentCategoryByRef -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationCategoryId $educationCategoryId ``` +This example shows how to use the Remove-MgEducationClassAssignmentCategoryByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentResource.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentResource.md index 5b33b01e625..41e2d166aeb 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentResource.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentResource.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEducationClassAssignmentResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignmentResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationAssignmentResourceId $educationAssignmentResourceId ``` +This example shows how to use the Remove-MgEducationClassAssignmentResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentRubricByRef.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentRubricByRef.md index 37dccfe3771..d3f39ff4857 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentRubricByRef.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentRubricByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEducationClassAssignmentRubricByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignmentRubricByRef -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId ``` +This example shows how to use the Remove-MgEducationClassAssignmentRubricByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentSubmissionResource.md b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentSubmissionResource.md index 6824e4c6e2e..df2337a43da 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentSubmissionResource.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationClassAssignmentSubmissionResource.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEducationClassAssignmentSubmissionResource Cmdlet ```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationClassAssignmentSubmissionResource -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationSubmissionResourceId $educationSubmissionResourceId ``` +This example shows how to use the Remove-MgEducationClassAssignmentSubmissionResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationMeRubric.md b/src/Education/Education/examples/v1.0/Remove-MgEducationMeRubric.md index a2931f59f86..24dade8fdb0 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationMeRubric.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationMeRubric.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEducationMeRubric Cmdlet ```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationMeRubric -EducationRubricId $educationRubricId ``` +This example shows how to use the Remove-MgEducationMeRubric Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationSchool.md b/src/Education/Education/examples/v1.0/Remove-MgEducationSchool.md index ad59bc793f3..2f094bc798d 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationSchool.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationSchool.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEducationSchool Cmdlet ```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationSchool -EducationSchoolId $educationSchoolId ``` +This example shows how to use the Remove-MgEducationSchool Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Remove-MgEducationUser.md b/src/Education/Education/examples/v1.0/Remove-MgEducationUser.md index 8d0e9455470..4fa932e5fc0 100644 --- a/src/Education/Education/examples/v1.0/Remove-MgEducationUser.md +++ b/src/Education/Education/examples/v1.0/Remove-MgEducationUser.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEducationUser Cmdlet ```powershell Import-Module Microsoft.Graph.Education Remove-MgEducationUser -EducationUserId $educationUserId ``` +This example shows how to use the Remove-MgEducationUser Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Set-MgEducationClassAssignmentRubricByRef.md b/src/Education/Education/examples/v1.0/Set-MgEducationClassAssignmentRubricByRef.md index bb311549051..4623a1050a6 100644 --- a/src/Education/Education/examples/v1.0/Set-MgEducationClassAssignmentRubricByRef.md +++ b/src/Education/Education/examples/v1.0/Set-MgEducationClassAssignmentRubricByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Set-MgEducationClassAssignmentRubricByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Set-MgEducationClassAssignmentRubricByRef -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` +This example shows how to use the Set-MgEducationClassAssignmentRubricByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Submit-MgEducationClassAssignmentSubmission.md b/src/Education/Education/examples/v1.0/Submit-MgEducationClassAssignmentSubmission.md index 4e4297253eb..2e1a632398a 100644 --- a/src/Education/Education/examples/v1.0/Submit-MgEducationClassAssignmentSubmission.md +++ b/src/Education/Education/examples/v1.0/Submit-MgEducationClassAssignmentSubmission.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Submit-MgEducationClassAssignmentSubmission Cmdlet ```powershell Import-Module Microsoft.Graph.Education Submit-MgEducationClassAssignmentSubmission -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId ``` +This example shows how to use the Submit-MgEducationClassAssignmentSubmission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClass.md b/src/Education/Education/examples/v1.0/Update-MgEducationClass.md index df7dae988e0..7defc755f60 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClass.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClass.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgEducationClass Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Update-MgEducationClass -EducationClassId $educationClassId -BodyParameter $params ``` +This example shows how to use the Update-MgEducationClass Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignment.md b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignment.md index b72a0aa953c..f6f0369a55e 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignment.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignment.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgEducationClassAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -12,3 +12,5 @@ $params = @{ } Update-MgEducationClassAssignment -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -BodyParameter $params ``` +This example shows how to use the Update-MgEducationClassAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentDefault.md b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentDefault.md index bc84e6af1d2..1eae9476304 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentDefault.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentDefault.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgEducationClassAssignmentDefault Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Update-MgEducationClassAssignmentDefault -EducationClassId $educationClassId -BodyParameter $params ``` +This example shows how to use the Update-MgEducationClassAssignmentDefault Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSetting.md b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSetting.md index 3add71e55b1..7f42606bd35 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSetting.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSetting.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgEducationClassAssignmentSetting Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgEducationClassAssignmentSetting -EducationClassId $educationClassId -BodyParameter $params ``` +This example shows how to use the Update-MgEducationClassAssignmentSetting Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSubmissionOutcome.md b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSubmissionOutcome.md index d66f1afbe2f..2b0be5c9bcd 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSubmissionOutcome.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationClassAssignmentSubmissionOutcome.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgEducationClassAssignmentSubmissionOutcome Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -6,7 +6,9 @@ $params = @{ } Update-MgEducationClassAssignmentSubmissionOutcome -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationOutcomeId $educationOutcomeId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Update-MgEducationClassAssignmentSubmissionOutcome Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Update-MgEducationClassAssignmentSubmissionOutcome Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -18,7 +20,9 @@ $params = @{ } Update-MgEducationClassAssignmentSubmissionOutcome -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationOutcomeId $educationOutcomeId -BodyParameter $params ``` -### Example 3 +This example shows how to use the Update-MgEducationClassAssignmentSubmissionOutcome Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Update-MgEducationClassAssignmentSubmissionOutcome Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -30,3 +34,5 @@ $params = @{ } Update-MgEducationClassAssignmentSubmissionOutcome -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -EducationOutcomeId $educationOutcomeId -BodyParameter $params ``` +This example shows how to use the Update-MgEducationClassAssignmentSubmissionOutcome Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationMeRubric.md b/src/Education/Education/examples/v1.0/Update-MgEducationMeRubric.md index 12792d36e0d..8142e8dc7bf 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationMeRubric.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationMeRubric.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgEducationMeRubric Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgEducationMeRubric -EducationRubricId $educationRubricId -BodyParameter $params ``` +This example shows how to use the Update-MgEducationMeRubric Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationSchool.md b/src/Education/Education/examples/v1.0/Update-MgEducationSchool.md index c747e9a6d07..47dfcc53182 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationSchool.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationSchool.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgEducationSchool Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Update-MgEducationSchool -EducationSchoolId $educationSchoolId -BodyParameter $params ``` +This example shows how to use the Update-MgEducationSchool Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Education/Education/examples/v1.0/Update-MgEducationUser.md b/src/Education/Education/examples/v1.0/Update-MgEducationUser.md index bdc4e4a6fda..9ef684e7738 100644 --- a/src/Education/Education/examples/v1.0/Update-MgEducationUser.md +++ b/src/Education/Education/examples/v1.0/Update-MgEducationUser.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgEducationUser Cmdlet ```powershell Import-Module Microsoft.Graph.Education $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Update-MgEducationUser -EducationUserId $educationUserId -BodyParameter $params ``` +This example shows how to use the Update-MgEducationUser Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Files/Files/examples/v1.0/Get-MgDrive.md b/src/Files/Files/examples/v1.0/Get-MgDrive.md index 93b6d480055..cdf71c3bf1a 100644 --- a/src/Files/Files/examples/v1.0/Get-MgDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgDrive.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgDrive Cmdlet ```powershell Import-Module Microsoft.Graph.Files Get-MgDrive -DriveId $driveId ``` +This example shows how to use the Get-MgDrive Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Files/Files/examples/v1.0/Get-MgDriveItemChild.md b/src/Files/Files/examples/v1.0/Get-MgDriveItemChild.md index 7aafa4dc968..a5cfd4c7166 100644 --- a/src/Files/Files/examples/v1.0/Get-MgDriveItemChild.md +++ b/src/Files/Files/examples/v1.0/Get-MgDriveItemChild.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgDriveItemChild Cmdlet ```powershell Import-Module Microsoft.Graph.Files Get-MgDriveItemChild -DriveId $driveId -DriveItemId $driveItemId ``` +This example shows how to use the Get-MgDriveItemChild Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Files/Files/examples/v1.0/Get-MgGroupDefaultDrive.md b/src/Files/Files/examples/v1.0/Get-MgGroupDefaultDrive.md index deee9d1a805..955c51214ff 100644 --- a/src/Files/Files/examples/v1.0/Get-MgGroupDefaultDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgGroupDefaultDrive.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupDefaultDrive Cmdlet ```powershell Import-Module Microsoft.Graph.Files Get-MgGroupDefaultDrive -GroupId $groupId ``` +This example shows how to use the Get-MgGroupDefaultDrive Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Files/Files/examples/v1.0/Get-MgGroupDrive.md b/src/Files/Files/examples/v1.0/Get-MgGroupDrive.md index 401125ae824..a5c93851d46 100644 --- a/src/Files/Files/examples/v1.0/Get-MgGroupDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgGroupDrive.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupDrive Cmdlet ```powershell Import-Module Microsoft.Graph.Files Get-MgGroupDrive -GroupId $groupId ``` +This example shows how to use the Get-MgGroupDrive Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Files/Files/examples/v1.0/Get-MgShareDriveItem.md b/src/Files/Files/examples/v1.0/Get-MgShareDriveItem.md index 3fb8ce1b462..2ed20e7b12d 100644 --- a/src/Files/Files/examples/v1.0/Get-MgShareDriveItem.md +++ b/src/Files/Files/examples/v1.0/Get-MgShareDriveItem.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgShareDriveItem Cmdlet ```powershell Import-Module Microsoft.Graph.Files Get-MgShareDriveItem -SharedDriveItemId $sharedDriveItemId -ExpandProperty "children" ``` -### Example 2 +This example shows how to use the Get-MgShareDriveItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgShareDriveItem Cmdlet ```powershell Import-Module Microsoft.Graph.Files Get-MgShareDriveItem -SharedDriveItemId $sharedDriveItemId ``` +This example shows how to use the Get-MgShareDriveItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Files/Files/examples/v1.0/Get-MgShareSharedDriveItemSharedDriveItem.md b/src/Files/Files/examples/v1.0/Get-MgShareSharedDriveItemSharedDriveItem.md index 3ded65b4129..bf2eb45757a 100644 --- a/src/Files/Files/examples/v1.0/Get-MgShareSharedDriveItemSharedDriveItem.md +++ b/src/Files/Files/examples/v1.0/Get-MgShareSharedDriveItemSharedDriveItem.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgShareSharedDriveItemSharedDriveItem Cmdlet ```powershell Import-Module Microsoft.Graph.Files Get-MgShareSharedDriveItemSharedDriveItem -SharedDriveItemId $sharedDriveItemId ``` +This example shows how to use the Get-MgShareSharedDriveItemSharedDriveItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Files/Files/examples/v1.0/Get-MgUserDefaultDrive.md b/src/Files/Files/examples/v1.0/Get-MgUserDefaultDrive.md index 2e8e03865f0..8a536b750af 100644 --- a/src/Files/Files/examples/v1.0/Get-MgUserDefaultDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgUserDefaultDrive.md @@ -1,11 +1,15 @@ -### Example 1 +### Example 1: Using the Get-MgUserDefaultDrive Cmdlet ```powershell Import-Module Microsoft.Graph.Files Get-MgUserDefaultDrive -UserId $userId ``` -### Example 2 +This example shows how to use the Get-MgUserDefaultDrive Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserDefaultDrive Cmdlet ```powershell Import-Module Microsoft.Graph.Files # A UPN can also be used as -UserId. Get-MgUserDefaultDrive -UserId $userId ``` +This example shows how to use the Get-MgUserDefaultDrive Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Files/Files/examples/v1.0/Get-MgUserDrive.md b/src/Files/Files/examples/v1.0/Get-MgUserDrive.md index 51c94c08495..4ee20f6d7d8 100644 --- a/src/Files/Files/examples/v1.0/Get-MgUserDrive.md +++ b/src/Files/Files/examples/v1.0/Get-MgUserDrive.md @@ -1,11 +1,15 @@ -### Example 1 +### Example 1: Using the Get-MgUserDrive Cmdlet ```powershell Import-Module Microsoft.Graph.Files # A UPN can also be used as -UserId. Get-MgUserDrive -UserId $userId ``` -### Example 2 +This example shows how to use the Get-MgUserDrive Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserDrive Cmdlet ```powershell Import-Module Microsoft.Graph.Files Get-MgUserDrive -UserId $userId ``` +This example shows how to use the Get-MgUserDrive Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Files/Files/examples/v1.0/Grant-MgSharePermission.md b/src/Files/Files/examples/v1.0/Grant-MgSharePermission.md index 63555ba2664..702c8dbc620 100644 --- a/src/Files/Files/examples/v1.0/Grant-MgSharePermission.md +++ b/src/Files/Files/examples/v1.0/Grant-MgSharePermission.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Grant-MgSharePermission Cmdlet ```powershell Import-Module Microsoft.Graph.Files $params = @{ @@ -16,3 +16,5 @@ $params = @{ } Grant-MgSharePermission -SharedDriveItemId $sharedDriveItemId -BodyParameter $params ``` +This example shows how to use the Grant-MgSharePermission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Files/Files/examples/v1.0/Invoke-MgCheckinDriveItem.md b/src/Files/Files/examples/v1.0/Invoke-MgCheckinDriveItem.md index ebfd7562098..b1f06e3a43c 100644 --- a/src/Files/Files/examples/v1.0/Invoke-MgCheckinDriveItem.md +++ b/src/Files/Files/examples/v1.0/Invoke-MgCheckinDriveItem.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgCheckinDriveItem Cmdlet ```powershell Import-Module Microsoft.Graph.Files $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Invoke-MgCheckinDriveItem -DriveId $driveId -DriveItemId $driveItemId -BodyParameter $params ``` +This example shows how to use the Invoke-MgCheckinDriveItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Files/Files/examples/v1.0/Invoke-MgCheckoutDriveItem.md b/src/Files/Files/examples/v1.0/Invoke-MgCheckoutDriveItem.md index bae6a147257..1369b601643 100644 --- a/src/Files/Files/examples/v1.0/Invoke-MgCheckoutDriveItem.md +++ b/src/Files/Files/examples/v1.0/Invoke-MgCheckoutDriveItem.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Invoke-MgCheckoutDriveItem Cmdlet ```powershell Import-Module Microsoft.Graph.Files Invoke-MgCheckoutDriveItem -DriveId $driveId -DriveItemId $driveItemId ``` +This example shows how to use the Invoke-MgCheckoutDriveItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Files/Files/examples/v1.0/Restore-MgDriveItemVersion.md b/src/Files/Files/examples/v1.0/Restore-MgDriveItemVersion.md index 8a45306d33f..d184a260a9e 100644 --- a/src/Files/Files/examples/v1.0/Restore-MgDriveItemVersion.md +++ b/src/Files/Files/examples/v1.0/Restore-MgDriveItemVersion.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Restore-MgDriveItemVersion Cmdlet ```powershell Import-Module Microsoft.Graph.Files Restore-MgDriveItemVersion -DriveId $driveId -DriveItemId $driveItemId -DriveItemVersionId $driveItemVersionId ``` +This example shows how to use the Restore-MgDriveItemVersion Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Add-MgGroupFavorite.md b/src/Groups/Groups/examples/v1.0/Add-MgGroupFavorite.md index 93ffc3ce8e5..d0fba8517ea 100644 --- a/src/Groups/Groups/examples/v1.0/Add-MgGroupFavorite.md +++ b/src/Groups/Groups/examples/v1.0/Add-MgGroupFavorite.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Add-MgGroupFavorite Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Add-MgGroupFavorite -GroupId $groupId ``` +This example shows how to use the Add-MgGroupFavorite Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupAcceptedSender.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupAcceptedSender.md index f8924586b23..99b4f1ef2e8 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupAcceptedSender.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupAcceptedSender.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupAcceptedSender Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupAcceptedSender -GroupId $groupId ``` +This example shows how to use the Get-MgGroupAcceptedSender Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupConversation.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupConversation.md index c221f9bd228..a37e7fe7fc6 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupConversation.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupConversation.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgGroupConversation Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupConversation -GroupId $groupId -ConversationId $conversationId ``` -### Example 2 +This example shows how to use the Get-MgGroupConversation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgGroupConversation Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupConversation -GroupId $groupId ``` -### Example 3 +This example shows how to use the Get-MgGroupConversation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgGroupConversation Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupConversation -GroupId $groupId -ConversationId $conversationId ``` +This example shows how to use the Get-MgGroupConversation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupConversationThread.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupConversationThread.md index 487110e6fe7..960b3d9f5f9 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupConversationThread.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupConversationThread.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupConversationThread Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupConversationThread -GroupId $groupId -ConversationId $conversationId ``` +This example shows how to use the Get-MgGroupConversationThread Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupDelta.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupDelta.md index 3184cd929b3..f4f90aba072 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupDelta.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupDelta.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupDelta ``` +This example shows how to use the Get-MgGroupDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicy.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicy.md index da42e7af79b..7f106a34079 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicy.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicy.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgGroupLifecyclePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupLifecyclePolicy -GroupLifecyclePolicyId $groupLifecyclePolicyId ``` -### Example 2 +This example shows how to use the Get-MgGroupLifecyclePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgGroupLifecyclePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupLifecyclePolicy ``` +This example shows how to use the Get-MgGroupLifecyclePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicyByGroup.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicyByGroup.md index 2b4320e659f..ef79c66389f 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicyByGroup.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupLifecyclePolicyByGroup.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupLifecyclePolicyByGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupLifecyclePolicyByGroup -GroupId $groupId ``` +This example shows how to use the Get-MgGroupLifecyclePolicyByGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupMemberOf.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupMemberOf.md index eba19f1aea2..43e6f5c11ee 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupMemberOf.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupMemberOf.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupMemberOf Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupMemberOf -GroupId $groupId ``` +This example shows how to use the Get-MgGroupMemberOf Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupPermissionGrant.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupPermissionGrant.md index 2419daa4ea8..7a758e041a1 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupPermissionGrant.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupPermissionGrant.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupPermissionGrant Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupPermissionGrant -GroupId $groupId ``` +This example shows how to use the Get-MgGroupPermissionGrant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupPhoto.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupPhoto.md index 9f7153c1e45..2c1dee45862 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupPhoto.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupPhoto.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupPhoto Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupPhoto -GroupId $groupId ``` +This example shows how to use the Get-MgGroupPhoto Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupRejectedSender.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupRejectedSender.md index 466ec84e531..aa9baa519e0 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupRejectedSender.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupRejectedSender.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupRejectedSender Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupRejectedSender -GroupId $groupId ``` +This example shows how to use the Get-MgGroupRejectedSender Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupThread.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupThread.md index 76c0ba16a4b..d5e4f0650b4 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupThread.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgGroupThread Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId ``` -### Example 2 +This example shows how to use the Get-MgGroupThread Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgGroupThread Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId ``` -### Example 3 +This example shows how to use the Get-MgGroupThread Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgGroupThread Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThread -GroupId $groupId ``` +This example shows how to use the Get-MgGroupThread Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPost.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPost.md index e03e3b8151b..b023fd6622c 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPost.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPost.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupThreadPost Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThreadPost -GroupId $groupId -ConversationThreadId $conversationThreadId ``` +This example shows how to use the Get-MgGroupThreadPost Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostAttachment.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostAttachment.md index 9852ecbcc77..ac521468139 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostAttachment.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostAttachment.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupThreadPostAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThreadPostAttachment -GroupId $groupId -ConversationThreadId $conversationThreadId -PostId $postId ``` +This example shows how to use the Get-MgGroupThreadPostAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostExtension.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostExtension.md index 9405fa8183f..ad651224283 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostExtension.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupThreadPostExtension.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupThreadPostExtension Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupThreadPostExtension -GroupId $groupId -ConversationThreadId $conversationThreadId -PostId $postId -ExtensionId $extensionId ``` +This example shows how to use the Get-MgGroupThreadPostExtension Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMember.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMember.md index 70d757b4a55..b7ca5b23cdd 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMember.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMember.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupTransitiveMember Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupTransitiveMember -GroupId $groupId ``` +This example shows how to use the Get-MgGroupTransitiveMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMemberOf.md b/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMemberOf.md index bc9164a1345..a97b23a9555 100644 --- a/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMemberOf.md +++ b/src/Groups/Groups/examples/v1.0/Get-MgGroupTransitiveMemberOf.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupTransitiveMemberOf Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Get-MgGroupTransitiveMemberOf -GroupId $groupId ``` +This example shows how to use the Get-MgGroupTransitiveMemberOf Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgForwardGroupThreadPost.md b/src/Groups/Groups/examples/v1.0/Invoke-MgForwardGroupThreadPost.md index 096b0727aad..0b786482c0b 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgForwardGroupThreadPost.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgForwardGroupThreadPost.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgForwardGroupThreadPost Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -14,3 +14,5 @@ $params = @{ } Invoke-MgForwardGroupThreadPost -GroupId $groupId -ConversationThreadId $conversationThreadId -PostId $postId -BodyParameter $params ``` +This example shows how to use the Invoke-MgForwardGroupThreadPost Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgGraphGroup.md b/src/Groups/Groups/examples/v1.0/Invoke-MgGraphGroup.md index 2a4971d8df4..7cd55b752b4 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgGraphGroup.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgGraphGroup.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Invoke-MgGraphGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Invoke-MgGraphGroup -GroupId $groupId ``` +This example shows how to use the Invoke-MgGraphGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgRenewGroup.md b/src/Groups/Groups/examples/v1.0/Invoke-MgRenewGroup.md index f7bd3836266..0172a929034 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgRenewGroup.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgRenewGroup.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Invoke-MgRenewGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Invoke-MgRenewGroup -GroupId $groupId ``` +This example shows how to use the Invoke-MgRenewGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThread.md b/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThread.md index 35aa3994de4..2e68a25341d 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThread.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgReplyGroupThread Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -11,7 +11,9 @@ $params = @{ } Invoke-MgReplyGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Invoke-MgReplyGroupThread Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Invoke-MgReplyGroupThread Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -31,7 +33,9 @@ $params = @{ } Invoke-MgReplyGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId -BodyParameter $params ``` -### Example 3 +This example shows how to use the Invoke-MgReplyGroupThread Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Invoke-MgReplyGroupThread Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -54,7 +58,9 @@ $params = @{ } Invoke-MgReplyGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId -BodyParameter $params ``` -### Example 4 +This example shows how to use the Invoke-MgReplyGroupThread Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Invoke-MgReplyGroupThread Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -77,3 +83,5 @@ $params = @{ } Invoke-MgReplyGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId -BodyParameter $params ``` +This example shows how to use the Invoke-MgReplyGroupThread Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThreadPost.md b/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThreadPost.md index 6b9c8efaa7c..73e9745fdef 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThreadPost.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgReplyGroupThreadPost.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgReplyGroupThreadPost Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -55,3 +55,5 @@ $params = @{ } Invoke-MgReplyGroupThreadPost -GroupId $groupId -ConversationThreadId $conversationThreadId -PostId $postId -BodyParameter $params ``` +This example shows how to use the Invoke-MgReplyGroupThreadPost Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Invoke-MgSubscribeGroupByMail.md b/src/Groups/Groups/examples/v1.0/Invoke-MgSubscribeGroupByMail.md index f9551f9d1b5..f314f5fa27f 100644 --- a/src/Groups/Groups/examples/v1.0/Invoke-MgSubscribeGroupByMail.md +++ b/src/Groups/Groups/examples/v1.0/Invoke-MgSubscribeGroupByMail.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Invoke-MgSubscribeGroupByMail Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Invoke-MgSubscribeGroupByMail -GroupId $groupId ``` +This example shows how to use the Invoke-MgSubscribeGroupByMail Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupAcceptedSenderByRef.md b/src/Groups/Groups/examples/v1.0/New-MgGroupAcceptedSenderByRef.md index e32681d0bed..bda85828566 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupAcceptedSenderByRef.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupAcceptedSenderByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgGroupAcceptedSenderByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgGroupAcceptedSenderByRef -GroupId $groupId -BodyParameter $params ``` +This example shows how to use the New-MgGroupAcceptedSenderByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupConversation.md b/src/Groups/Groups/examples/v1.0/New-MgGroupConversation.md index dc149303111..9f8c324e195 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupConversation.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupConversation.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgGroupConversation Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -26,3 +26,5 @@ $params = @{ } New-MgGroupConversation -GroupId $groupId -BodyParameter $params ``` +This example shows how to use the New-MgGroupConversation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupConversationThread.md b/src/Groups/Groups/examples/v1.0/New-MgGroupConversationThread.md index 9d50d4fe18e..aa13718af43 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupConversationThread.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupConversationThread.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgGroupConversationThread Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -14,3 +14,5 @@ $params = @{ } New-MgGroupConversationThread -GroupId $groupId -ConversationId $conversationId -BodyParameter $params ``` +This example shows how to use the New-MgGroupConversationThread Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupLifecyclePolicy.md b/src/Groups/Groups/examples/v1.0/New-MgGroupLifecyclePolicy.md index 2ff8ba11fe1..c8c8d6981bc 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupLifecyclePolicy.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupLifecyclePolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgGroupLifecyclePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgGroupLifecyclePolicy -BodyParameter $params ``` +This example shows how to use the New-MgGroupLifecyclePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupMemberByRef.md b/src/Groups/Groups/examples/v1.0/New-MgGroupMemberByRef.md index 010302ab919..715e5f7ec7d 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupMemberByRef.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupMemberByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgGroupMemberByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgGroupMemberByRef -GroupId $groupId -BodyParameter $params ``` +This example shows how to use the New-MgGroupMemberByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupRejectedSenderByRef.md b/src/Groups/Groups/examples/v1.0/New-MgGroupRejectedSenderByRef.md index 739999691e0..c0bd8ddacd4 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupRejectedSenderByRef.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupRejectedSenderByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgGroupRejectedSenderByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgGroupRejectedSenderByRef -GroupId $groupId -BodyParameter $params ``` +This example shows how to use the New-MgGroupRejectedSenderByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/New-MgGroupThread.md b/src/Groups/Groups/examples/v1.0/New-MgGroupThread.md index b26a2d152ce..9abf0569b6f 100644 --- a/src/Groups/Groups/examples/v1.0/New-MgGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/New-MgGroupThread.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgGroupThread Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -22,3 +22,5 @@ $params = @{ } New-MgGroupThread -GroupId $groupId -BodyParameter $params ``` +This example shows how to use the New-MgGroupThread Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupConversation.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupConversation.md index 71f6b469b1d..8cf3f2c1726 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupConversation.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupConversation.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Remove-MgGroupConversation Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupConversation -GroupId $groupId -ConversationId $conversationId ``` -### Example 2 +This example shows how to use the Remove-MgGroupConversation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Remove-MgGroupConversation Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupConversation -GroupId $groupId -ConversationId $conversationId ``` +This example shows how to use the Remove-MgGroupConversation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupFavorite.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupFavorite.md index ba101afb543..7c030b1c197 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupFavorite.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupFavorite.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgGroupFavorite Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupFavorite -GroupId $groupId ``` +This example shows how to use the Remove-MgGroupFavorite Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupLifecyclePolicy.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupLifecyclePolicy.md index e47e357278b..e35851c5eb5 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupLifecyclePolicy.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupLifecyclePolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgGroupLifecyclePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupLifecyclePolicy -GroupLifecyclePolicyId $groupLifecyclePolicyId ``` +This example shows how to use the Remove-MgGroupLifecyclePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupMemberByRef.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupMemberByRef.md index 0169b60e612..cdc572481d3 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupMemberByRef.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupMemberByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgGroupMemberByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupMemberByRef -GroupId $groupId -DirectoryObjectId $directoryObjectId ``` +This example shows how to use the Remove-MgGroupMemberByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupOwnerByRef.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupOwnerByRef.md index 4f5faf5a49a..ae97b0608e7 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupOwnerByRef.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupOwnerByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgGroupOwnerByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupOwnerByRef -GroupId $groupId -DirectoryObjectId $directoryObjectId ``` +This example shows how to use the Remove-MgGroupOwnerByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Remove-MgGroupThread.md b/src/Groups/Groups/examples/v1.0/Remove-MgGroupThread.md index f163ba0e990..3f81cb5b28e 100644 --- a/src/Groups/Groups/examples/v1.0/Remove-MgGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/Remove-MgGroupThread.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Remove-MgGroupThread Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId ``` -### Example 2 +This example shows how to use the Remove-MgGroupThread Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Remove-MgGroupThread Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Remove-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId ``` +This example shows how to use the Remove-MgGroupThread Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Reset-MgGroupUnseenCount.md b/src/Groups/Groups/examples/v1.0/Reset-MgGroupUnseenCount.md index 26b816a4792..2e75ffdf2f5 100644 --- a/src/Groups/Groups/examples/v1.0/Reset-MgGroupUnseenCount.md +++ b/src/Groups/Groups/examples/v1.0/Reset-MgGroupUnseenCount.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Reset-MgGroupUnseenCount Cmdlet ```powershell Import-Module Microsoft.Graph.Groups Reset-MgGroupUnseenCount -GroupId $groupId ``` +This example shows how to use the Reset-MgGroupUnseenCount Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Set-MgGroupLicense.md b/src/Groups/Groups/examples/v1.0/Set-MgGroupLicense.md index e07f605e0bd..a6b7f1f2ac7 100644 --- a/src/Groups/Groups/examples/v1.0/Set-MgGroupLicense.md +++ b/src/Groups/Groups/examples/v1.0/Set-MgGroupLicense.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Set-MgGroupLicense Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -22,7 +22,9 @@ $params = @{ } Set-MgGroupLicense -GroupId $groupId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Set-MgGroupLicense Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Set-MgGroupLicense Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -35,3 +37,5 @@ $params = @{ } Set-MgGroupLicense -GroupId $groupId -BodyParameter $params ``` +This example shows how to use the Set-MgGroupLicense Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Test-MgGroupProperty.md b/src/Groups/Groups/examples/v1.0/Test-MgGroupProperty.md index ae7a157d6cc..1ba38d9f927 100644 --- a/src/Groups/Groups/examples/v1.0/Test-MgGroupProperty.md +++ b/src/Groups/Groups/examples/v1.0/Test-MgGroupProperty.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Test-MgGroupProperty Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -8,3 +8,5 @@ $params = @{ } Test-MgGroupProperty -GroupId $groupId -BodyParameter $params ``` +This example shows how to use the Test-MgGroupProperty Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Update-MgGroupLifecyclePolicy.md b/src/Groups/Groups/examples/v1.0/Update-MgGroupLifecyclePolicy.md index 523d6507d33..5c1306ba208 100644 --- a/src/Groups/Groups/examples/v1.0/Update-MgGroupLifecyclePolicy.md +++ b/src/Groups/Groups/examples/v1.0/Update-MgGroupLifecyclePolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgGroupLifecyclePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -8,3 +8,5 @@ $params = @{ } Update-MgGroupLifecyclePolicy -GroupLifecyclePolicyId $groupLifecyclePolicyId -BodyParameter $params ``` +This example shows how to use the Update-MgGroupLifecyclePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Update-MgGroupThread.md b/src/Groups/Groups/examples/v1.0/Update-MgGroupThread.md index dd7b691ce62..7fca17fa2f0 100644 --- a/src/Groups/Groups/examples/v1.0/Update-MgGroupThread.md +++ b/src/Groups/Groups/examples/v1.0/Update-MgGroupThread.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgGroupThread Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -10,3 +10,5 @@ $params = @{ } Update-MgGroupThread -GroupId $groupId -ConversationThreadId $conversationThreadId -BodyParameter $params ``` +This example shows how to use the Update-MgGroupThread Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Groups/Groups/examples/v1.0/Update-MgGroupThreadPostExtension.md b/src/Groups/Groups/examples/v1.0/Update-MgGroupThreadPostExtension.md index f2073990301..165856050f1 100644 --- a/src/Groups/Groups/examples/v1.0/Update-MgGroupThreadPostExtension.md +++ b/src/Groups/Groups/examples/v1.0/Update-MgGroupThreadPostExtension.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgGroupThreadPostExtension Cmdlet ```powershell Import-Module Microsoft.Graph.Groups $params = @{ @@ -15,3 +15,5 @@ $params = @{ } Update-MgGroupThreadPostExtension -GroupId $groupId -ConversationThreadId $conversationThreadId -PostId $postId -ExtensionId $extensionId -BodyParameter $params ``` +This example shows how to use the Update-MgGroupThreadPostExtension Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Confirm-MgDomain.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Confirm-MgDomain.md index 606470d37fa..4790401e679 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Confirm-MgDomain.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Confirm-MgDomain.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Confirm-MgDomain Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Confirm-MgDomain -DomainId $domainId ``` +This example shows how to use the Confirm-MgDomain Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDelta.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDelta.md index 5654009400b..db93604d695 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDelta.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDelta.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgContactDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContactDelta ``` +This example shows how to use the Get-MgContactDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDirectReport.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDirectReport.md index a9a73caa6ea..a67e12d3974 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDirectReport.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactDirectReport.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgContactDirectReport Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContactDirectReport -OrgContactId $orgContactId ``` +This example shows how to use the Get-MgContactDirectReport Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactManager.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactManager.md index 1dafc8388b0..110f1c146c1 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactManager.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactManager.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgContactManager Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContactManager -OrgContactId $orgContactId ``` +This example shows how to use the Get-MgContactManager Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactMemberOf.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactMemberOf.md index 726ea1bdad9..48d8ebf9a7e 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactMemberOf.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactMemberOf.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgContactMemberOf Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContactMemberOf -OrgContactId $orgContactId ``` +This example shows how to use the Get-MgContactMemberOf Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactTransitiveMemberOf.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactTransitiveMemberOf.md index 944d97cc019..a58298f5354 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactTransitiveMemberOf.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContactTransitiveMemberOf.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgContactTransitiveMemberOf Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContactTransitiveMemberOf -OrgContactId $orgContactId ``` +This example shows how to use the Get-MgContactTransitiveMemberOf Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContract.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContract.md index 7e5a9e665ff..c2d402b792b 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContract.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgContract.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgContract Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContract -ContractId $contractId ``` -### Example 2 +This example shows how to use the Get-MgContract Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgContract Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgContract ``` +This example shows how to use the Get-MgContract Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDevice.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDevice.md index a8b544ac254..e838861d2a7 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDevice.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDevice.md @@ -1,35 +1,49 @@ -### Example 1 +### Example 1: Using the Get-MgDevice Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -Search "displayName:Android" -CountVariable CountVar -ConsistencyLevel eventual ``` -### Example 2 +This example shows how to use the Get-MgDevice Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgDevice Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -DeviceId $deviceId ``` -### Example 3 +This example shows how to use the Get-MgDevice Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgDevice Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -DeviceId $deviceId -Property "id,extensionAttributes" ``` -### Example 4 +This example shows how to use the Get-MgDevice Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgDevice Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -Filter "extensionAttributes/extensionAttribute1 eq 'BYOD-Device'" -CountVariable CountVar -ConsistencyLevel eventual ``` -### Example 5 +This example shows how to use the Get-MgDevice Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the Get-MgDevice Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice ``` -### Example 6 +This example shows how to use the Get-MgDevice Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 6: Using the Get-MgDevice Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -Property "id,extensionAttributes" ``` -### Example 7 +This example shows how to use the Get-MgDevice Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 7: Using the Get-MgDevice Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDevice -Filter "startswith(displayName, 'a')" -CountVariable CountVar -Top 1 -Sort "displayName" -ConsistencyLevel eventual ``` +This example shows how to use the Get-MgDevice Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceMemberOf.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceMemberOf.md index 65b2b5ae558..d83557ee5cb 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceMemberOf.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceMemberOf.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgDeviceMemberOf Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDeviceMemberOf -DeviceId $deviceId ``` +This example shows how to use the Get-MgDeviceMemberOf Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredOwner.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredOwner.md index 60b6270efc6..a1180f205f5 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredOwner.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredOwner.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgDeviceRegisteredOwner Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDeviceRegisteredOwner -DeviceId $deviceId ``` +This example shows how to use the Get-MgDeviceRegisteredOwner Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredUser.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredUser.md index 52eb4c8c431..c99c9ce8aac 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredUser.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceRegisteredUser.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgDeviceRegisteredUser Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDeviceRegisteredUser -DeviceId $deviceId ``` +This example shows how to use the Get-MgDeviceRegisteredUser Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceTransitiveMemberOf.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceTransitiveMemberOf.md index fd9e3deb5d9..4edc82d6207 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceTransitiveMemberOf.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDeviceTransitiveMemberOf.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgDeviceTransitiveMemberOf Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDeviceTransitiveMemberOf -DeviceId $deviceId ``` +This example shows how to use the Get-MgDeviceTransitiveMemberOf Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnit.md index 38dc5f336d5..259c8e98d12 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnit.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgDirectoryAdministrativeUnit Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnit -AdministrativeUnitId $administrativeUnitId ``` -### Example 2 +This example shows how to use the Get-MgDirectoryAdministrativeUnit Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgDirectoryAdministrativeUnit Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnit ``` +This example shows how to use the Get-MgDirectoryAdministrativeUnit Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMember.md index 17ceadbfb25..476caeabfab 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMember.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgDirectoryAdministrativeUnitMember Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnitMember -AdministrativeUnitId $administrativeUnitId ``` +This example shows how to use the Get-MgDirectoryAdministrativeUnitMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMemberByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMemberByRef.md index 1734e44e850..f8311e3be03 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMemberByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitMemberByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgDirectoryAdministrativeUnitMemberByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnitMemberByRef -AdministrativeUnitId $administrativeUnitId ``` +This example shows how to use the Get-MgDirectoryAdministrativeUnitMemberByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitScopedRoleMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitScopedRoleMember.md index 7e13091f1f7..e7006a3718e 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitScopedRoleMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryAdministrativeUnitScopedRoleMember.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgDirectoryAdministrativeUnitScopedRoleMember Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnitScopedRoleMember -AdministrativeUnitId $administrativeUnitId -ScopedRoleMembershipId $scopedRoleMembershipId ``` -### Example 2 +This example shows how to use the Get-MgDirectoryAdministrativeUnitScopedRoleMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgDirectoryAdministrativeUnitScopedRoleMember Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryAdministrativeUnitScopedRoleMember -AdministrativeUnitId $administrativeUnitId ``` +This example shows how to use the Get-MgDirectoryAdministrativeUnitScopedRoleMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryFederationConfiguration.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryFederationConfiguration.md index f77a19dedde..81a1bf6821d 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryFederationConfiguration.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryFederationConfiguration.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgDirectoryFederationConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryFederationConfiguration -IdentityProviderBaseId $identityProviderBaseId -Filter "domains/any(x: x/id eq 'contoso.com')" ``` -### Example 2 +This example shows how to use the Get-MgDirectoryFederationConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgDirectoryFederationConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryFederationConfiguration -IdentityProviderBaseId $identityProviderBaseId ``` +This example shows how to use the Get-MgDirectoryFederationConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleDelta.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleDelta.md index 546e0150f7a..66ae1efd076 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleDelta.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleDelta.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgDirectoryRoleDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryRoleDelta ``` +This example shows how to use the Get-MgDirectoryRoleDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleScopedMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleScopedMember.md index 69eef37bf87..f1182cc0668 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleScopedMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleScopedMember.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgDirectoryRoleScopedMember Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryRoleScopedMember -DirectoryRoleId $directoryRoleId ``` +This example shows how to use the Get-MgDirectoryRoleScopedMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleTemplate.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleTemplate.md index 311c409d55d..e8e27e057f0 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleTemplate.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDirectoryRoleTemplate.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgDirectoryRoleTemplate Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryRoleTemplate -DirectoryRoleTemplateId $directoryRoleTemplateId ``` -### Example 2 +This example shows how to use the Get-MgDirectoryRoleTemplate Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgDirectoryRoleTemplate Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDirectoryRoleTemplate ``` +This example shows how to use the Get-MgDirectoryRoleTemplate Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainNameReference.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainNameReference.md index 2ef53aa351b..64754851c9d 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainNameReference.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainNameReference.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgDomainNameReference Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDomainNameReference -DomainId $domainId ``` +This example shows how to use the Get-MgDomainNameReference Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainServiceConfigurationRecord.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainServiceConfigurationRecord.md index 12e121b1e60..09290208592 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainServiceConfigurationRecord.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainServiceConfigurationRecord.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgDomainServiceConfigurationRecord Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDomainServiceConfigurationRecord -DomainId $domainId ``` +This example shows how to use the Get-MgDomainServiceConfigurationRecord Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainVerificationDnsRecord.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainVerificationDnsRecord.md index a483d9ab0f2..8508acb879e 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainVerificationDnsRecord.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgDomainVerificationDnsRecord.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgDomainVerificationDnsRecord Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgDomainVerificationDnsRecord -DomainId $domainId ``` +This example shows how to use the Get-MgDomainVerificationDnsRecord Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganization.md index 58afc7a29b6..bf1a20a58cb 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganization.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgOrganization Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganization -OrganizationId $organizationId ``` -### Example 2 +This example shows how to use the Get-MgOrganization Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgOrganization Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganization ``` +This example shows how to use the Get-MgOrganization Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBranding.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBranding.md index ddbbe3f52c8..9d542a4611e 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBranding.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBranding.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgOrganizationBranding Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBranding -OrganizationId $organizationId ``` -### Example 2 +This example shows how to use the Get-MgOrganizationBranding Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgOrganizationBranding Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBranding -OrganizationId $organizationId ``` -### Example 3 +This example shows how to use the Get-MgOrganizationBranding Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgOrganizationBranding Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBranding -OrganizationId $organizationId ``` +This example shows how to use the Get-MgOrganizationBranding Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalization.md index 6174f4ce606..0572ed0fe94 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalization.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgOrganizationBrandingLocalization Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBrandingLocalization -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId ``` -### Example 2 +This example shows how to use the Get-MgOrganizationBrandingLocalization Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgOrganizationBrandingLocalization Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBrandingLocalization -OrganizationId $organizationId ``` +This example shows how to use the Get-MgOrganizationBrandingLocalization Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalizationBannerLogo.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalizationBannerLogo.md index 01238c45c8c..2add861809a 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalizationBannerLogo.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Get-MgOrganizationBrandingLocalizationBannerLogo.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgOrganizationBrandingLocalizationBannerLogo Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBrandingLocalizationBannerLogo -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId ``` -### Example 2 +This example shows how to use the Get-MgOrganizationBrandingLocalizationBannerLogo Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgOrganizationBrandingLocalizationBannerLogo Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBrandingLocalizationBannerLogo -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId ``` -### Example 3 +This example shows how to use the Get-MgOrganizationBrandingLocalizationBannerLogo Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgOrganizationBrandingLocalizationBannerLogo Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Get-MgOrganizationBrandingLocalizationBannerLogo -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId -OutFile $outFileId ``` +This example shows how to use the Get-MgOrganizationBrandingLocalizationBannerLogo Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Invoke-MgForceDomainDelete.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Invoke-MgForceDomainDelete.md index d1e85e29381..aca2d80b927 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Invoke-MgForceDomainDelete.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Invoke-MgForceDomainDelete.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgForceDomainDelete Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Invoke-MgForceDomainDelete -DomainId $domainId -BodyParameter $params ``` +This example shows how to use the Invoke-MgForceDomainDelete Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDevice.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDevice.md index 170b67a2b84..6cc559d78b2 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDevice.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDevice.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgDevice Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -16,3 +16,5 @@ $params = @{ } New-MgDevice -BodyParameter $params ``` +This example shows how to use the New-MgDevice Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredOwnerByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredOwnerByRef.md index 2ebe90eb22e..4da7bfd4586 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredOwnerByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredOwnerByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgDeviceRegisteredOwnerByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgDeviceRegisteredOwnerByRef -DeviceId $deviceId -BodyParameter $params ``` +This example shows how to use the New-MgDeviceRegisteredOwnerByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredUserByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredUserByRef.md index 06e6b5f2827..3fb7b342acf 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredUserByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDeviceRegisteredUserByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgDeviceRegisteredUserByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgDeviceRegisteredUserByRef -DeviceId $deviceId -BodyParameter $params ``` +This example shows how to use the New-MgDeviceRegisteredUserByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnit.md index 5fc149ba783..c3b2ff8fa98 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnit.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgDirectoryAdministrativeUnit Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgDirectoryAdministrativeUnit -BodyParameter $params ``` +This example shows how to use the New-MgDirectoryAdministrativeUnit Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitMemberByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitMemberByRef.md index 84fd36785f1..4c50c2ccc39 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitMemberByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitMemberByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgDirectoryAdministrativeUnitMemberByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgDirectoryAdministrativeUnitMemberByRef -AdministrativeUnitId $administrativeUnitId -BodyParameter $params ``` +This example shows how to use the New-MgDirectoryAdministrativeUnitMemberByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitScopedRoleMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitScopedRoleMember.md index 187a1c8d21c..5c8a9266800 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitScopedRoleMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryAdministrativeUnitScopedRoleMember.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgDirectoryAdministrativeUnitScopedRoleMember Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -9,3 +9,5 @@ $params = @{ } New-MgDirectoryAdministrativeUnitScopedRoleMember -AdministrativeUnitId $administrativeUnitId -BodyParameter $params ``` +This example shows how to use the New-MgDirectoryAdministrativeUnitScopedRoleMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryFederationConfiguration.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryFederationConfiguration.md index a15d1170287..96f4e935ab4 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryFederationConfiguration.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryFederationConfiguration.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgDirectoryFederationConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -18,3 +18,5 @@ $params = @{ } New-MgDirectoryFederationConfiguration -BodyParameter $params ``` +This example shows how to use the New-MgDirectoryFederationConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryRole.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryRole.md index 89d43ecffdc..14ef0502506 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryRole.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDirectoryRole.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgDirectoryRole Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgDirectoryRole -BodyParameter $params ``` +This example shows how to use the New-MgDirectoryRole Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDomain.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDomain.md index c1b3f3ca703..f88d172ca2d 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDomain.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgDomain.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgDomain Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgDomain -BodyParameter $params ``` +This example shows how to use the New-MgDomain Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgOrganizationBrandingLocalization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgOrganizationBrandingLocalization.md index 3fd169e1104..c80e7735f90 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgOrganizationBrandingLocalization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/New-MgOrganizationBrandingLocalization.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgOrganizationBrandingLocalization Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgOrganizationBrandingLocalization -OrganizationId $organizationId -BodyParameter $params ``` +This example shows how to use the New-MgOrganizationBrandingLocalization Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDevice.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDevice.md index 5c954676d20..f95ac3817a5 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDevice.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDevice.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgDevice Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDevice -DeviceId $deviceId ``` +This example shows how to use the Remove-MgDevice Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDeviceRegisteredOwnerByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDeviceRegisteredOwnerByRef.md index 9ee57901ea7..e39709f5bd4 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDeviceRegisteredOwnerByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDeviceRegisteredOwnerByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgDeviceRegisteredOwnerByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDeviceRegisteredOwnerByRef -DeviceId $deviceId -DirectoryObjectId $directoryObjectId ``` +This example shows how to use the Remove-MgDeviceRegisteredOwnerByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnit.md index 574a0afd03c..f8cf0710b99 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnit.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgDirectoryAdministrativeUnit Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryAdministrativeUnit -AdministrativeUnitId $administrativeUnitId ``` +This example shows how to use the Remove-MgDirectoryAdministrativeUnit Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitMemberByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitMemberByRef.md index 0c7e475423e..b2039e63475 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitMemberByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitMemberByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgDirectoryAdministrativeUnitMemberByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryAdministrativeUnitMemberByRef -AdministrativeUnitId $administrativeUnitId -DirectoryObjectId $directoryObjectId ``` +This example shows how to use the Remove-MgDirectoryAdministrativeUnitMemberByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitScopedRoleMember.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitScopedRoleMember.md index d6d041bd10e..a25463ac296 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitScopedRoleMember.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryAdministrativeUnitScopedRoleMember.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgDirectoryAdministrativeUnitScopedRoleMember Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryAdministrativeUnitScopedRoleMember -AdministrativeUnitId $administrativeUnitId -ScopedRoleMembershipId $scopedRoleMembershipId ``` +This example shows how to use the Remove-MgDirectoryAdministrativeUnitScopedRoleMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryDeletedItem.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryDeletedItem.md index 737959a973b..f78331b425b 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryDeletedItem.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryDeletedItem.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgDirectoryDeletedItem Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryDeletedItem -DirectoryObjectId $directoryObjectId ``` +This example shows how to use the Remove-MgDirectoryDeletedItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryFederationConfiguration.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryFederationConfiguration.md index 114c7445897..c0f0946b4b6 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryFederationConfiguration.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryFederationConfiguration.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgDirectoryFederationConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryFederationConfiguration -IdentityProviderBaseId $identityProviderBaseId ``` +This example shows how to use the Remove-MgDirectoryFederationConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryRoleMemberByRef.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryRoleMemberByRef.md index a66bc3a5d30..31685a3cad6 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryRoleMemberByRef.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDirectoryRoleMemberByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgDirectoryRoleMemberByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDirectoryRoleMemberByRef -DirectoryRoleId $directoryRoleId -DirectoryObjectId $directoryObjectId ``` +This example shows how to use the Remove-MgDirectoryRoleMemberByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDomain.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDomain.md index 5d9f4389d39..9a3adcac02e 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDomain.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgDomain.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgDomain Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgDomain -DomainId $domainId ``` +This example shows how to use the Remove-MgDomain Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgOrganizationBrandingLocalization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgOrganizationBrandingLocalization.md index c4eef6360fb..65e78f222c8 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgOrganizationBrandingLocalization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Remove-MgOrganizationBrandingLocalization.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgOrganizationBrandingLocalization Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Remove-MgOrganizationBrandingLocalization -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId ``` +This example shows how to use the Remove-MgOrganizationBrandingLocalization Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Restore-MgDirectoryDeletedItem.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Restore-MgDirectoryDeletedItem.md index 31a6ea139e6..1633d1d41f2 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Restore-MgDirectoryDeletedItem.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Restore-MgDirectoryDeletedItem.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Restore-MgDirectoryDeletedItem Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement Restore-MgDirectoryDeletedItem -DirectoryObjectId $directoryObjectId ``` +This example shows how to use the Restore-MgDirectoryDeletedItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDevice.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDevice.md index 941d483208f..0cdd079c27d 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDevice.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDevice.md @@ -1,11 +1,13 @@ -### Example 1 +### Example 1: Using the Update-MgDevice Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ } Update-MgDevice -DeviceId $deviceId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Update-MgDevice Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Update-MgDevice Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -13,3 +15,5 @@ $params = @{ } Update-MgDevice -DeviceId $deviceId -BodyParameter $params ``` +This example shows how to use the Update-MgDevice Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDirectoryAdministrativeUnit.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDirectoryAdministrativeUnit.md index 766ae239bef..67d7f07d3eb 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDirectoryAdministrativeUnit.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDirectoryAdministrativeUnit.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgDirectoryAdministrativeUnit Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgDirectoryAdministrativeUnit -AdministrativeUnitId $administrativeUnitId -BodyParameter $params ``` +This example shows how to use the Update-MgDirectoryAdministrativeUnit Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDomain.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDomain.md index 1a79ba174dc..1ff91394b8f 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDomain.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgDomain.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgDomain Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -10,3 +10,5 @@ $params = @{ } Update-MgDomain -DomainId $domainId -BodyParameter $params ``` +This example shows how to use the Update-MgDomain Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganization.md index 9e77822f663..5e266c3d37d 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganization.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgOrganization Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -21,3 +21,5 @@ $params = @{ } Update-MgOrganization -OrganizationId $organizationId -BodyParameter $params ``` +This example shows how to use the Update-MgOrganization Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBranding.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBranding.md index de9d27fcd3b..a52a4669fef 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBranding.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBranding.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgOrganizationBranding Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Update-MgOrganizationBranding -OrganizationId $organizationId -BodyParameter $params ``` +This example shows how to use the Update-MgOrganizationBranding Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBrandingLocalization.md b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBrandingLocalization.md index 4707902bf0d..9e02549df28 100644 --- a/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBrandingLocalization.md +++ b/src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples/v1.0/Update-MgOrganizationBrandingLocalization.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgOrganizationBrandingLocalization Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -7,7 +7,9 @@ $params = @{ } Update-MgOrganizationBrandingLocalization -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Update-MgOrganizationBrandingLocalization Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Update-MgOrganizationBrandingLocalization Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement $params = @{ @@ -16,3 +18,5 @@ $params = @{ } Update-MgOrganizationBrandingLocalization -OrganizationId $organizationId -OrganizationalBrandingLocalizationId $organizationalBrandingLocalizationId -BodyParameter $params ``` +This example shows how to use the Update-MgOrganizationBrandingLocalization Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md index 7d410e1c1a2..b47c8495eb0 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` +This example shows how to use the Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackage.md index a2ef9d71b20..2c598ca7b98 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackage.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgEntitlementManagementAccessPackage Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackage -AccessPackageId $accessPackageId ``` -### Example 2 +This example shows how to use the Get-MgEntitlementManagementAccessPackage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEntitlementManagementAccessPackage Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackage -AccessPackageId $accessPackageId ``` -### Example 3 +This example shows how to use the Get-MgEntitlementManagementAccessPackage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgEntitlementManagementAccessPackage Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackage ``` +This example shows how to use the Get-MgEntitlementManagementAccessPackage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement.md index 321d6a57051..68e1cff8a15 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement -AccessPackageId $accessPackageId ``` +This example shows how to use the Get-MgEntitlementManagementAccessPackageApplicablePolicyRequirement Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage.md index f08018df317..e2060b8a45e 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage -ApprovalId $approvalId -ApprovalStageId $approvalStageId ``` -### Example 2 +This example shows how to use the Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage -ApprovalId $approvalId ``` +This example shows how to use the Get-MgEntitlementManagementAccessPackageAssignmentApprovalStage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignment.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignment.md index b323d15e0d1..43b0683798a 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignment.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignment.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgEntitlementManagementAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignment -AccessPackageAssignmentId $accessPackageAssignmentId ``` -### Example 2 +This example shows how to use the Get-MgEntitlementManagementAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEntitlementManagementAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignment -AccessPackageAssignmentId $accessPackageAssignmentId ``` -### Example 3 +This example shows how to use the Get-MgEntitlementManagementAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgEntitlementManagementAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignment ``` +This example shows how to use the Get-MgEntitlementManagementAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentPolicy.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentPolicy.md index 6118c9e9fa0..63da8678912 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentPolicy.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentPolicy.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgEntitlementManagementAssignmentPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignmentPolicy -AccessPackageAssignmentPolicyId $accessPackageAssignmentPolicyId ``` -### Example 2 +This example shows how to use the Get-MgEntitlementManagementAssignmentPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEntitlementManagementAssignmentPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignmentPolicy ``` +This example shows how to use the Get-MgEntitlementManagementAssignmentPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentRequest.md index cdd4cc21314..c0723aac771 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementAssignmentRequest.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgEntitlementManagementAssignmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId ``` -### Example 2 +This example shows how to use the Get-MgEntitlementManagementAssignmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEntitlementManagementAssignmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId ``` -### Example 3 +This example shows how to use the Get-MgEntitlementManagementAssignmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgEntitlementManagementAssignmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementAssignmentRequest ``` +This example shows how to use the Get-MgEntitlementManagementAssignmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementCatalog.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementCatalog.md index 215a09acdf8..15dca9a8afb 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementCatalog.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementCatalog.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgEntitlementManagementCatalog Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementCatalog -AccessPackageCatalogId $accessPackageCatalogId ``` -### Example 2 +This example shows how to use the Get-MgEntitlementManagementCatalog Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEntitlementManagementCatalog Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementCatalog ``` +This example shows how to use the Get-MgEntitlementManagementCatalog Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementConnectedOrganization.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementConnectedOrganization.md index cbc4370214d..10e9971e12e 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementConnectedOrganization.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementConnectedOrganization.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgEntitlementManagementConnectedOrganization Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementConnectedOrganization -ConnectedOrganizationId $connectedOrganizationId ``` -### Example 2 +This example shows how to use the Get-MgEntitlementManagementConnectedOrganization Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgEntitlementManagementConnectedOrganization Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementConnectedOrganization ``` +This example shows how to use the Get-MgEntitlementManagementConnectedOrganization Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementSetting.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementSetting.md index cf7156ddd23..0a604864430 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementSetting.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgEntitlementManagementSetting.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgEntitlementManagementSetting Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgEntitlementManagementSetting ``` +This example shows how to use the Get-MgEntitlementManagementSetting Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinition.md index e8f42f5aa1c..c1c3a5bc264 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinition.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityGovernanceAccessReviewDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinition -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId ``` -### Example 2 +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgIdentityGovernanceAccessReviewDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinition -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId ``` -### Example 3 +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgIdentityGovernanceAccessReviewDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinition -Filter "contains(scope/microsoft.graph.accessReviewQueryScope/query, './members')" ``` -### Example 4 +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgIdentityGovernanceAccessReviewDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinition -Top 100 -Skip 0 ``` +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstance.md index 2f949a49289..22c45c9e876 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstance.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityGovernanceAccessReviewDefinitionInstance Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` -### Example 2 +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinitionInstance Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgIdentityGovernanceAccessReviewDefinitionInstance Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` -### Example 3 +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinitionInstance Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgIdentityGovernanceAccessReviewDefinitionInstance Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId ``` +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinitionInstance Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer.md index b8a381e3482..a338bf14029 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceContactedReviewer Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md index e6fd1052b59..482c00a494f 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId ``` -### Example 2 +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId ``` -### Example 3 +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md index 35f9c76731a..4764bacf290 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId ``` -### Example 2 +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId ``` -### Example 3 +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md index 350e098ace0..b1567ab4c77 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId ``` -### Example 2 +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId ``` -### Example 3 +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId ``` +This example shows how to use the Get-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinition.md index 0af243b12f7..b34e64f97fe 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinition.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityGovernanceAccessReviewHistoryDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewHistoryDefinition -AccessReviewHistoryDefinitionId $accessReviewHistoryDefinitionId ``` -### Example 2 +This example shows how to use the Get-MgIdentityGovernanceAccessReviewHistoryDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgIdentityGovernanceAccessReviewHistoryDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewHistoryDefinition ``` +This example shows how to use the Get-MgIdentityGovernanceAccessReviewHistoryDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance.md index 50426124db7..b87b960b7a0 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance -AccessReviewHistoryDefinitionId $accessReviewHistoryDefinitionId ``` +This example shows how to use the Get-MgIdentityGovernanceAccessReviewHistoryDefinitionInstance Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequest.md index 079fc60524f..9d0900dc77f 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequest.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityGovernanceAppConsentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequest -AppConsentRequestId $appConsentRequestId -Filter "userConsentRequests/any(u:u/status eq 'InProgress')" ``` -### Example 2 +This example shows how to use the Get-MgIdentityGovernanceAppConsentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgIdentityGovernanceAppConsentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequest -AppConsentRequestId $appConsentRequestId ``` -### Example 3 +This example shows how to use the Get-MgIdentityGovernanceAppConsentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgIdentityGovernanceAppConsentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequest ``` -### Example 4 +This example shows how to use the Get-MgIdentityGovernanceAppConsentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgIdentityGovernanceAppConsentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequest -Filter "userConsentRequests/any (u:u/status eq 'InProgress')" ``` +This example shows how to use the Get-MgIdentityGovernanceAppConsentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest.md index 5c358acfc2f..c8b8d1b5286 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest -AppConsentRequestId $appConsentRequestId -UserConsentRequestId $userConsentRequestId ``` -### Example 2 +This example shows how to use the Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest -AppConsentRequestId $appConsentRequestId ``` -### Example 3 +This example shows how to use the Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest -AppConsentRequestId $appConsentRequestId -UserConsentRequestId $userConsentRequestId -Filter " (status eq 'Completed')" ``` +This example shows how to use the Get-MgIdentityGovernanceAppConsentRequestUserConsentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreement.md index 5f01ac05db3..1fcf9544f45 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreement.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityGovernanceTermOfUseAgreement Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId -ExpandProperty "files" ``` -### Example 2 +This example shows how to use the Get-MgIdentityGovernanceTermOfUseAgreement Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgIdentityGovernanceTermOfUseAgreement Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId ``` -### Example 3 +This example shows how to use the Get-MgIdentityGovernanceTermOfUseAgreement Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgIdentityGovernanceTermOfUseAgreement Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceTermOfUseAgreement ``` -### Example 4 +This example shows how to use the Get-MgIdentityGovernanceTermOfUseAgreement Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgIdentityGovernanceTermOfUseAgreement Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId -ExpandProperty "files" ``` +This example shows how to use the Get-MgIdentityGovernanceTermOfUseAgreement Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreementFile.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreementFile.md index fc828daa7a4..fe6826865fb 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreementFile.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgIdentityGovernanceTermOfUseAgreementFile.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityGovernanceTermOfUseAgreementFile Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Get-MgIdentityGovernanceTermOfUseAgreementFile -AgreementId $agreementId ``` +This example shows how to use the Get-MgIdentityGovernanceTermOfUseAgreementFile Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgUserAgreementAcceptance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgUserAgreementAcceptance.md index ccbe2772f0f..76614e3db15 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgUserAgreementAcceptance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Get-MgUserAgreementAcceptance.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserAgreementAcceptance Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance # A UPN can also be used as -UserId. Get-MgUserAgreementAcceptance -UserId $userId ``` +This example shows how to use the Get-MgUserAgreementAcceptance Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md index 95859aaf1bd..00f45c46966 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` +This example shows how to use the Invoke-MgAcceptIdentityGovernanceAccessReviewDefinitionInstanceRecommendation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md index 3e40b8b7812..dce5a920fad 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -8,3 +8,5 @@ $params = @{ } Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -BodyParameter $params ``` +This example shows how to use the Invoke-MgBatchIdentityGovernanceAccessReviewDefinitionInstanceRecordDecision Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAccessPackage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAccessPackage.md index 59984e70498..057b5f79783 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAccessPackage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAccessPackage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEntitlementManagementAccessPackage Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -11,3 +11,5 @@ $params = @{ } New-MgEntitlementManagementAccessPackage -BodyParameter $params ``` +This example shows how to use the New-MgEntitlementManagementAccessPackage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentPolicy.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentPolicy.md index 3d845993319..b6b95e1321b 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentPolicy.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentPolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEntitlementManagementAssignmentPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -116,7 +116,9 @@ $params = @{ } New-MgEntitlementManagementAssignmentPolicy -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgEntitlementManagementAssignmentPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgEntitlementManagementAssignmentPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -153,3 +155,5 @@ $params = @{ } New-MgEntitlementManagementAssignmentPolicy -BodyParameter $params ``` +This example shows how to use the New-MgEntitlementManagementAssignmentPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentRequest.md index 486847f1bd8..dd3451a81d6 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementAssignmentRequest.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEntitlementManagementAssignmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -11,7 +11,9 @@ $params = @{ } New-MgEntitlementManagementAssignmentRequest -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgEntitlementManagementAssignmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgEntitlementManagementAssignmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -24,7 +26,9 @@ $params = @{ } New-MgEntitlementManagementAssignmentRequest -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgEntitlementManagementAssignmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgEntitlementManagementAssignmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -35,7 +39,9 @@ $params = @{ } New-MgEntitlementManagementAssignmentRequest -BodyParameter $params ``` -### Example 4 +This example shows how to use the New-MgEntitlementManagementAssignmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the New-MgEntitlementManagementAssignmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -46,7 +52,9 @@ $params = @{ } New-MgEntitlementManagementAssignmentRequest -BodyParameter $params ``` -### Example 5 +This example shows how to use the New-MgEntitlementManagementAssignmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the New-MgEntitlementManagementAssignmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -57,3 +65,5 @@ $params = @{ } New-MgEntitlementManagementAssignmentRequest -BodyParameter $params ``` +This example shows how to use the New-MgEntitlementManagementAssignmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementCatalog.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementCatalog.md index ceef55f6867..9c1b9228cfe 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementCatalog.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementCatalog.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEntitlementManagementCatalog Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -9,3 +9,5 @@ $params = @{ } New-MgEntitlementManagementCatalog -BodyParameter $params ``` +This example shows how to use the New-MgEntitlementManagementCatalog Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganization.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganization.md index aa3920ee24b..6615b36b19b 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganization.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganization.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEntitlementManagementConnectedOrganization Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -15,3 +15,5 @@ $params = @{ } New-MgEntitlementManagementConnectedOrganization -BodyParameter $params ``` +This example shows how to use the New-MgEntitlementManagementConnectedOrganization Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md index b1b0dfa762f..59042e6ddde 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef -ConnectedOrganizationId $connectedOrganizationId -BodyParameter $params ``` +This example shows how to use the New-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md index a2f711c1b33..d6524b48b42 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef -ConnectedOrganizationId $connectedOrganizationId -BodyParameter $params ``` +This example shows how to use the New-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewDefinition.md index de225df6c20..23590d2c53c 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewDefinition.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgIdentityGovernanceAccessReviewDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -61,7 +61,9 @@ $params = @{ } New-MgIdentityGovernanceAccessReviewDefinition -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgIdentityGovernanceAccessReviewDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgIdentityGovernanceAccessReviewDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -133,7 +135,9 @@ $params = @{ } New-MgIdentityGovernanceAccessReviewDefinition -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgIdentityGovernanceAccessReviewDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgIdentityGovernanceAccessReviewDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -187,7 +191,9 @@ $params = @{ } New-MgIdentityGovernanceAccessReviewDefinition -BodyParameter $params ``` -### Example 4 +This example shows how to use the New-MgIdentityGovernanceAccessReviewDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the New-MgIdentityGovernanceAccessReviewDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -227,3 +233,5 @@ $params = @{ } New-MgIdentityGovernanceAccessReviewDefinition -BodyParameter $params ``` +This example shows how to use the New-MgIdentityGovernanceAccessReviewDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinition.md index 8312aade5ad..6b8e7b80cd2 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinition.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgIdentityGovernanceAccessReviewHistoryDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -41,3 +41,5 @@ $params = @{ } New-MgIdentityGovernanceAccessReviewHistoryDefinition -BodyParameter $params ``` +This example shows how to use the New-MgIdentityGovernanceAccessReviewHistoryDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md index ac411dcc585..b7d0811595d 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri -AccessReviewHistoryDefinitionId $accessReviewHistoryDefinitionId -AccessReviewHistoryInstanceId $accessReviewHistoryInstanceId ``` +This example shows how to use the New-MgIdentityGovernanceAccessReviewHistoryDefinitionInstanceDownloadUri Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceTermOfUseAgreement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceTermOfUseAgreement.md index bc0b060709b..65515ad10fb 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceTermOfUseAgreement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/New-MgIdentityGovernanceTermOfUseAgreement.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgIdentityGovernanceTermOfUseAgreement Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -17,3 +17,5 @@ $params = @{ } New-MgIdentityGovernanceTermOfUseAgreement -BodyParameter $params ``` +This example shows how to use the New-MgIdentityGovernanceTermOfUseAgreement Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAccessPackage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAccessPackage.md index 44387fc9efe..42fb5c27863 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAccessPackage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAccessPackage.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEntitlementManagementAccessPackage Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementAccessPackage -AccessPackageId $accessPackageId ``` +This example shows how to use the Remove-MgEntitlementManagementAccessPackage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentPolicy.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentPolicy.md index 799537a74b8..2562cccae98 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentPolicy.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentPolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEntitlementManagementAssignmentPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementAssignmentPolicy -AccessPackageAssignmentPolicyId $accessPackageAssignmentPolicyId ``` +This example shows how to use the Remove-MgEntitlementManagementAssignmentPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentRequest.md index caa98a6bee2..ca01cdfc165 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementAssignmentRequest.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEntitlementManagementAssignmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId ``` +This example shows how to use the Remove-MgEntitlementManagementAssignmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementCatalog.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementCatalog.md index 6166a899fda..f615ed0a665 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementCatalog.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementCatalog.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEntitlementManagementCatalog Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementCatalog -AccessPackageCatalogId $accessPackageCatalogId ``` +This example shows how to use the Remove-MgEntitlementManagementCatalog Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganization.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganization.md index d53d0ca8cad..feca4fdd7af 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganization.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganization.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEntitlementManagementConnectedOrganization Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementConnectedOrganization -ConnectedOrganizationId $connectedOrganizationId ``` +This example shows how to use the Remove-MgEntitlementManagementConnectedOrganization Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md index 345d572a973..b42d7c7f4d3 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef -ConnectedOrganizationId $connectedOrganizationId -DirectoryObjectId $directoryObjectId ``` +This example shows how to use the Remove-MgEntitlementManagementConnectedOrganizationExternalSponsorByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md index 1f9ec17ac9a..33e8ec27a51 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef -ConnectedOrganizationId $connectedOrganizationId -DirectoryObjectId $directoryObjectId ``` +This example shows how to use the Remove-MgEntitlementManagementConnectedOrganizationInternalSponsorByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceAccessReviewDefinition.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceAccessReviewDefinition.md index b9e89bf914c..6cbaec7fc58 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceAccessReviewDefinition.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceAccessReviewDefinition.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgIdentityGovernanceAccessReviewDefinition Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgIdentityGovernanceAccessReviewDefinition -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId ``` +This example shows how to use the Remove-MgIdentityGovernanceAccessReviewDefinition Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceTermOfUseAgreement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceTermOfUseAgreement.md index 71fb04bbd67..144a7eca0b4 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceTermOfUseAgreement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Remove-MgIdentityGovernanceTermOfUseAgreement.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgIdentityGovernanceTermOfUseAgreement Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Remove-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId ``` +This example shows how to use the Remove-MgIdentityGovernanceTermOfUseAgreement Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md index 843f9be8da1..3ef62cfef24 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` +This example shows how to use the Reset-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder.md index 551b513ff21..7ba2e3c82ec 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` +This example shows how to use the Send-MgIdentityGovernanceAccessReviewDefinitionInstanceReminder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgEntitlementManagementAssignmentRequest.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgEntitlementManagementAssignmentRequest.md index 4ca4ae16a52..b3f91a04dd4 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgEntitlementManagementAssignmentRequest.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgEntitlementManagementAssignmentRequest.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Stop-MgEntitlementManagementAssignmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Stop-MgEntitlementManagementAssignmentRequest -AccessPackageAssignmentRequestId $accessPackageAssignmentRequestId ``` +This example shows how to use the Stop-MgEntitlementManagementAssignmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstance.md index 037410444ed..8609e140da7 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstance.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Stop-MgIdentityGovernanceAccessReviewDefinitionInstance Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Stop-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId ``` +This example shows how to use the Stop-MgIdentityGovernanceAccessReviewDefinitionInstance Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md index eb67c20650c..61dca690e09 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId ``` +This example shows how to use the Stop-MgIdentityGovernanceAccessReviewDefinitionInstanceStage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementAccessPackage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementAccessPackage.md index 20f01907116..dde105e5dba 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementAccessPackage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementAccessPackage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgEntitlementManagementAccessPackage Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgEntitlementManagementAccessPackage -AccessPackageId $accessPackageId -BodyParameter $params ``` +This example shows how to use the Update-MgEntitlementManagementAccessPackage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementCatalog.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementCatalog.md index 882de977eca..acf610fb403 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementCatalog.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementCatalog.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgEntitlementManagementCatalog Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgEntitlementManagementCatalog -AccessPackageCatalogId $accessPackageCatalogId -BodyParameter $params ``` +This example shows how to use the Update-MgEntitlementManagementCatalog Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementConnectedOrganization.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementConnectedOrganization.md index a78e73452c9..3ece92d710d 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementConnectedOrganization.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementConnectedOrganization.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgEntitlementManagementConnectedOrganization Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -8,3 +8,5 @@ $params = @{ } Update-MgEntitlementManagementConnectedOrganization -ConnectedOrganizationId $connectedOrganizationId -BodyParameter $params ``` +This example shows how to use the Update-MgEntitlementManagementConnectedOrganization Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementSetting.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementSetting.md index ff0536acfc8..ad9d0ca1b55 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementSetting.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgEntitlementManagementSetting.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgEntitlementManagementSetting Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgEntitlementManagementSetting -BodyParameter $params ``` +This example shows how to use the Update-MgEntitlementManagementSetting Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstance.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstance.md index bd88e9fbae0..418a6ea2988 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstance.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstance.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgIdentityGovernanceAccessReviewDefinitionInstance Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -43,3 +43,5 @@ $params = @{ } Update-MgIdentityGovernanceAccessReviewDefinitionInstance -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -BodyParameter $params ``` +This example shows how to use the Update-MgIdentityGovernanceAccessReviewDefinitionInstance Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md index 210122e2139..c8074176ebd 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -22,3 +22,5 @@ $params = @{ } Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -BodyParameter $params ``` +This example shows how to use the Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md index e61e165091d..b4985a58038 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -7,7 +7,9 @@ $params = @{ } Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -16,7 +18,9 @@ $params = @{ } Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId -BodyParameter $params ``` -### Example 3 +This example shows how to use the Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -25,3 +29,5 @@ $params = @{ } Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision -AccessReviewScheduleDefinitionId $accessReviewScheduleDefinitionId -AccessReviewInstanceId $accessReviewInstanceId -AccessReviewStageId $accessReviewStageId -AccessReviewInstanceDecisionItemId $accessReviewInstanceDecisionItemId -BodyParameter $params ``` +This example shows how to use the Update-MgIdentityGovernanceAccessReviewDefinitionInstanceStageDecision Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceTermOfUseAgreement.md b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceTermOfUseAgreement.md index 8be48d5cb20..26ef56ffc80 100644 --- a/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceTermOfUseAgreement.md +++ b/src/Identity.Governance/Identity.Governance/examples/v1.0/Update-MgIdentityGovernanceTermOfUseAgreement.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgIdentityGovernanceTermOfUseAgreement Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.Governance $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Update-MgIdentityGovernanceTermOfUseAgreement -AgreementId $agreementId -BodyParameter $params ``` +This example shows how to use the Update-MgIdentityGovernanceTermOfUseAgreement Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Confirm-MgRiskyUserCompromised.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Confirm-MgRiskyUserCompromised.md index a26f56f1e46..d7e4481bb1a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Confirm-MgRiskyUserCompromised.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Confirm-MgRiskyUserCompromised.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Confirm-MgRiskyUserCompromised Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Confirm-MgRiskyUserCompromised -BodyParameter $params ``` +This example shows how to use the Confirm-MgRiskyUserCompromised Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgDataPolicyOperation.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgDataPolicyOperation.md index ba95c252bde..af06a44cfe9 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgDataPolicyOperation.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgDataPolicyOperation.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgDataPolicyOperation Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgDataPolicyOperation -DataPolicyOperationId $dataPolicyOperationId ``` +This example shows how to use the Get-MgDataPolicyOperation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityApiConnector.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityApiConnector.md index 3bf281da3d7..471582843c2 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityApiConnector.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityApiConnector.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityApiConnector Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId ``` -### Example 2 +This example shows how to use the Get-MgIdentityApiConnector Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgIdentityApiConnector Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityApiConnector ``` +This example shows how to use the Get-MgIdentityApiConnector Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlow.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlow.md index cd58bf1e82c..f080a277fb2 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlow.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlow.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityB2XUserFlow Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlow -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` -### Example 2 +This example shows how to use the Get-MgIdentityB2XUserFlow Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgIdentityB2XUserFlow Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlow -ExpandProperty "identityProviders" ``` -### Example 3 +This example shows how to use the Get-MgIdentityB2XUserFlow Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgIdentityB2XUserFlow Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlow ``` +This example shows how to use the Get-MgIdentityB2XUserFlow Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowIdentityProvider.md index d75d630c190..4f2ad8123cc 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowIdentityProvider.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityB2XUserFlowIdentityProvider Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowIdentityProvider -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` +This example shows how to use the Get-MgIdentityB2XUserFlowIdentityProvider Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguage.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguage.md index 2e2819b37b3..79d1e1e8e9d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguage.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguage.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityB2XUserFlowLanguage Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowLanguage -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` -### Example 2 +This example shows how to use the Get-MgIdentityB2XUserFlowLanguage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgIdentityB2XUserFlowLanguage Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowLanguage -B2xIdentityUserFlowId $b2xIdentityUserFlowId -UserFlowLanguageConfigurationId $userFlowLanguageConfigurationId ``` +This example shows how to use the Get-MgIdentityB2XUserFlowLanguage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageDefaultPageContent.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageDefaultPageContent.md index ad13acff2e2..f64be2d250b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageDefaultPageContent.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageDefaultPageContent.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityB2XUserFlowLanguageDefaultPageContent Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowLanguageDefaultPageContent -B2xIdentityUserFlowId $b2xIdentityUserFlowId -UserFlowLanguageConfigurationId $userFlowLanguageConfigurationId -UserFlowLanguagePageId $userFlowLanguagePageId -OutFile $outFileId ``` +This example shows how to use the Get-MgIdentityB2XUserFlowLanguageDefaultPageContent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageOverridePage.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageOverridePage.md index 268b2bc8055..c8e6cdc6b99 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageOverridePage.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowLanguageOverridePage.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityB2XUserFlowLanguageOverridePage Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowLanguageOverridePage -B2xIdentityUserFlowId $b2xIdentityUserFlowId -UserFlowLanguageConfigurationId $userFlowLanguageConfigurationId ``` +This example shows how to use the Get-MgIdentityB2XUserFlowLanguageOverridePage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignment.md index 1a20312e7ef..3b32c80bb11 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignment.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityB2XUserFlowUserAttributeAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` -### Example 2 +This example shows how to use the Get-MgIdentityB2XUserFlowUserAttributeAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgIdentityB2XUserFlowUserAttributeAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -IdentityUserFlowAttributeAssignmentId $identityUserFlowAttributeAssignmentId ``` -### Example 3 +This example shows how to use the Get-MgIdentityB2XUserFlowUserAttributeAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgIdentityB2XUserFlowUserAttributeAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -ExpandProperty "userAttribute" ``` -### Example 4 +This example shows how to use the Get-MgIdentityB2XUserFlowUserAttributeAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgIdentityB2XUserFlowUserAttributeAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -IdentityUserFlowAttributeAssignmentId $identityUserFlowAttributeAssignmentId -ExpandProperty "userAttribute" ``` +This example shows how to use the Get-MgIdentityB2XUserFlowUserAttributeAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md index 984ea111d95..1d35fcc444c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` +This example shows how to use the Get-MgIdentityB2XUserFlowUserAttributeAssignmentOrder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityProvider.md index 8d5693d43f6..01b5b539c20 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityProvider.md @@ -1,40 +1,56 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityProvider Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId ``` -### Example 2 +This example shows how to use the Get-MgIdentityProvider Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgIdentityProvider Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId ``` -### Example 3 +This example shows how to use the Get-MgIdentityProvider Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgIdentityProvider Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider -IdentityProviderId $identityProviderId ``` -### Example 4 +This example shows how to use the Get-MgIdentityProvider Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgIdentityProvider Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider ``` -### Example 5 +This example shows how to use the Get-MgIdentityProvider Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the Get-MgIdentityProvider Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider ``` -### Example 6 +This example shows how to use the Get-MgIdentityProvider Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 6: Using the Get-MgIdentityProvider Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider -OutFile $outFileId ``` -### Example 7 +This example shows how to use the Get-MgIdentityProvider Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 7: Using the Get-MgIdentityProvider Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId ``` -### Example 8 +This example shows how to use the Get-MgIdentityProvider Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 8: Using the Get-MgIdentityProvider Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityProvider ``` +This example shows how to use the Get-MgIdentityProvider Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityUserFlowAttribute.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityUserFlowAttribute.md index f8aae8f9ce5..559459b4d9a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityUserFlowAttribute.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgIdentityUserFlowAttribute.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgIdentityUserFlowAttribute Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityUserFlowAttribute -IdentityUserFlowAttributeId $identityUserFlowAttributeId ``` -### Example 2 +This example shows how to use the Get-MgIdentityUserFlowAttribute Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgIdentityUserFlowAttribute Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgIdentityUserFlowAttribute ``` +This example shows how to use the Get-MgIdentityUserFlowAttribute Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionBitlockerRecoveryKey.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionBitlockerRecoveryKey.md index 5d9a2186457..3625ef23dfe 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionBitlockerRecoveryKey.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionBitlockerRecoveryKey.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgInformationProtectionBitlockerRecoveryKey Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $bitlockerRecoveryKeyId -Property "key" ``` -### Example 2 +This example shows how to use the Get-MgInformationProtectionBitlockerRecoveryKey Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgInformationProtectionBitlockerRecoveryKey Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $bitlockerRecoveryKeyId ``` -### Example 3 +This example shows how to use the Get-MgInformationProtectionBitlockerRecoveryKey Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgInformationProtectionBitlockerRecoveryKey Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionBitlockerRecoveryKey -Filter "deviceId eq '1ab40ab2-32a8-4b00-b6b5-ba724e407de9'" ``` -### Example 4 +This example shows how to use the Get-MgInformationProtectionBitlockerRecoveryKey Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgInformationProtectionBitlockerRecoveryKey Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionBitlockerRecoveryKey ``` +This example shows how to use the Get-MgInformationProtectionBitlockerRecoveryKey Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionThreatAssessmentRequest.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionThreatAssessmentRequest.md index 991e8feffc8..28ea7eda368 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionThreatAssessmentRequest.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgInformationProtectionThreatAssessmentRequest.md @@ -1,30 +1,42 @@ -### Example 1 +### Example 1: Using the Get-MgInformationProtectionThreatAssessmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId ``` -### Example 2 +This example shows how to use the Get-MgInformationProtectionThreatAssessmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgInformationProtectionThreatAssessmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId ``` -### Example 3 +This example shows how to use the Get-MgInformationProtectionThreatAssessmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgInformationProtectionThreatAssessmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId ``` -### Example 4 +This example shows how to use the Get-MgInformationProtectionThreatAssessmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgInformationProtectionThreatAssessmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId -ExpandProperty "results" ``` -### Example 5 +This example shows how to use the Get-MgInformationProtectionThreatAssessmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the Get-MgInformationProtectionThreatAssessmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest ``` -### Example 6 +This example shows how to use the Get-MgInformationProtectionThreatAssessmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 6: Using the Get-MgInformationProtectionThreatAssessmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgInformationProtectionThreatAssessmentRequest -ThreatAssessmentRequestId $threatAssessmentRequestId ``` +This example shows how to use the Get-MgInformationProtectionThreatAssessmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrant.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrant.md index 831fe2ac595..6886116e856 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrant.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrant.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgOauth2PermissionGrant Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgOauth2PermissionGrant -OAuth2PermissionGrantId $oAuth2PermissionGrantId ``` -### Example 2 +This example shows how to use the Get-MgOauth2PermissionGrant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgOauth2PermissionGrant Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgOauth2PermissionGrant ``` +This example shows how to use the Get-MgOauth2PermissionGrant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrantDelta.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrantDelta.md index 2c5dda36ad9..51ba17a10be 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrantDelta.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOauth2PermissionGrantDelta.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgOauth2PermissionGrantDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgOauth2PermissionGrantDelta ``` +This example shows how to use the Get-MgOauth2PermissionGrantDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOrganizationCertificateBasedAuthConfiguration.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOrganizationCertificateBasedAuthConfiguration.md index f13eb2c02c8..62dba8d8694 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOrganizationCertificateBasedAuthConfiguration.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgOrganizationCertificateBasedAuthConfiguration.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgOrganizationCertificateBasedAuthConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgOrganizationCertificateBasedAuthConfiguration -OrganizationId $organizationId -CertificateBasedAuthConfigurationId $certificateBasedAuthConfigurationId ``` -### Example 2 +This example shows how to use the Get-MgOrganizationCertificateBasedAuthConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgOrganizationCertificateBasedAuthConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgOrganizationCertificateBasedAuthConfiguration -OrganizationId $organizationId ``` +This example shows how to use the Get-MgOrganizationCertificateBasedAuthConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyActivityBasedTimeoutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyActivityBasedTimeoutPolicy.md index b9ae26353ef..c81eb394fd0 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyActivityBasedTimeoutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyActivityBasedTimeoutPolicy.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyActivityBasedTimeoutPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyActivityBasedTimeoutPolicy ``` -### Example 2 +This example shows how to use the Get-MgPolicyActivityBasedTimeoutPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPolicyActivityBasedTimeoutPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyActivityBasedTimeoutPolicy -ActivityBasedTimeoutPolicyId $activityBasedTimeoutPolicyId ``` +This example shows how to use the Get-MgPolicyActivityBasedTimeoutPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAdminConsentRequestPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAdminConsentRequestPolicy.md index 340a78a3b92..ee06d4621b7 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAdminConsentRequestPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAdminConsentRequestPolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyAdminConsentRequestPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAdminConsentRequestPolicy ``` +This example shows how to use the Get-MgPolicyAdminConsentRequestPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationFlowPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationFlowPolicy.md index 520e1b9d0bf..a13c86a1e80 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationFlowPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationFlowPolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyAuthenticationFlowPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationFlowPolicy ``` +This example shows how to use the Get-MgPolicyAuthenticationFlowPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicy.md index cdd930e611c..75477a41d29 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyAuthenticationMethodPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationMethodPolicy ``` +This example shows how to use the Get-MgPolicyAuthenticationMethodPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md index 1a856eb7ed7..6fac0127bc1 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` -### Example 2 +This example shows how to use the Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` -### Example 3 +This example shows how to use the Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` -### Example 4 +This example shows how to use the Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` +This example shows how to use the Get-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyClaimMappingPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyClaimMappingPolicy.md index 15728f650ef..c08a9fbb2da 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyClaimMappingPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyClaimMappingPolicy.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyClaimMappingPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyClaimMappingPolicy ``` -### Example 2 +This example shows how to use the Get-MgPolicyClaimMappingPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPolicyClaimMappingPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyClaimMappingPolicy -ClaimsMappingPolicyId $claimsMappingPolicyId ``` +This example shows how to use the Get-MgPolicyClaimMappingPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicy.md index bcdd37e3839..1652fc09ccd 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyCrossTenantAccessPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyCrossTenantAccessPolicy ``` +This example shows how to use the Get-MgPolicyCrossTenantAccessPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyDefault.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyDefault.md index 142f1bef1c1..7ae532c239b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyDefault.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyDefault.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyCrossTenantAccessPolicyDefault Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyCrossTenantAccessPolicyDefault ``` +This example shows how to use the Get-MgPolicyCrossTenantAccessPolicyDefault Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyPartner.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyPartner.md index 567cb0a67b6..33ae6aa3f98 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyPartner.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyCrossTenantAccessPolicyPartner.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyCrossTenantAccessPolicyPartner Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyCrossTenantAccessPolicyPartner -CrossTenantAccessPolicyConfigurationPartnerTenantId $crossTenantAccessPolicyConfigurationPartnerTenantId ``` -### Example 2 +This example shows how to use the Get-MgPolicyCrossTenantAccessPolicyPartner Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPolicyCrossTenantAccessPolicyPartner Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyCrossTenantAccessPolicyPartner ``` +This example shows how to use the Get-MgPolicyCrossTenantAccessPolicyPartner Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyFeatureRolloutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyFeatureRolloutPolicy.md index 45bced25fae..409f7518584 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyFeatureRolloutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyFeatureRolloutPolicy.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyFeatureRolloutPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyFeatureRolloutPolicy ``` -### Example 2 +This example shows how to use the Get-MgPolicyFeatureRolloutPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPolicyFeatureRolloutPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyFeatureRolloutPolicy -FeatureRolloutPolicyId $featureRolloutPolicyId -ExpandProperty "appliesTo" ``` -### Example 3 +This example shows how to use the Get-MgPolicyFeatureRolloutPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgPolicyFeatureRolloutPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyFeatureRolloutPolicy -FeatureRolloutPolicyId $featureRolloutPolicyId ``` +This example shows how to use the Get-MgPolicyFeatureRolloutPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md index 272bdaaf1c2..f111110a7fd 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyHomeRealmDiscoveryPolicy.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyHomeRealmDiscoveryPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyHomeRealmDiscoveryPolicy ``` -### Example 2 +This example shows how to use the Get-MgPolicyHomeRealmDiscoveryPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPolicyHomeRealmDiscoveryPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyHomeRealmDiscoveryPolicy -HomeRealmDiscoveryPolicyId $homeRealmDiscoveryPolicyId ``` +This example shows how to use the Get-MgPolicyHomeRealmDiscoveryPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md index 593317ba3ca..d99fd54d041 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy ``` +This example shows how to use the Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicy.md index 0ae5066eecb..4b2846787dc 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicy.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyPermissionGrantPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyPermissionGrantPolicy -PermissionGrantPolicyId $permissionGrantPolicyId ``` -### Example 2 +This example shows how to use the Get-MgPolicyPermissionGrantPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPolicyPermissionGrantPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyPermissionGrantPolicy ``` +This example shows how to use the Get-MgPolicyPermissionGrantPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyExclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyExclude.md index dd4ba360124..45595cfb290 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyExclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyExclude.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyPermissionGrantPolicyExclude Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyPermissionGrantPolicyExclude -PermissionGrantPolicyId $permissionGrantPolicyId ``` +This example shows how to use the Get-MgPolicyPermissionGrantPolicyExclude Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyInclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyInclude.md index 73ac0083756..6508b9db5f8 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyInclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyPermissionGrantPolicyInclude.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyPermissionGrantPolicyInclude Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyPermissionGrantPolicyInclude -PermissionGrantPolicyId $permissionGrantPolicyId ``` +This example shows how to use the Get-MgPolicyPermissionGrantPolicyInclude Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicy.md index f5e332889da..d35fb00f8eb 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicy.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyRoleManagementPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicy -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId -ExpandProperty "effectiveRules,rules" ``` -### Example 2 +This example shows how to use the Get-MgPolicyRoleManagementPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPolicyRoleManagementPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicy -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId ``` -### Example 3 +This example shows how to use the Get-MgPolicyRoleManagementPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgPolicyRoleManagementPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicy -Filter "scopeId eq '/' and scopeType eq 'Directory'" -ExpandProperty "rules" ``` -### Example 4 +This example shows how to use the Get-MgPolicyRoleManagementPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgPolicyRoleManagementPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicy -Filter "scopeId eq '/' and scopeType eq 'DirectoryRole'" ``` +This example shows how to use the Get-MgPolicyRoleManagementPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyAssignment.md index 9e8faef9250..2c119732c9e 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyAssignment.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyRoleManagementPolicyAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyAssignment -UnifiedRoleManagementPolicyAssignmentId $unifiedRoleManagementPolicyAssignmentId -ExpandProperty "policy(`$expand=rules)" ``` -### Example 2 +This example shows how to use the Get-MgPolicyRoleManagementPolicyAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPolicyRoleManagementPolicyAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyAssignment -UnifiedRoleManagementPolicyAssignmentId $unifiedRoleManagementPolicyAssignmentId ``` -### Example 3 +This example shows how to use the Get-MgPolicyRoleManagementPolicyAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgPolicyRoleManagementPolicyAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyAssignment -Filter "scopeId eq '/' and scopeType eq 'DirectoryRole' and roleDefinitionId eq '62e90394-69f5-4237-9190-012177145e10'" -ExpandProperty "policy(`$expand=rules)" ``` -### Example 4 +This example shows how to use the Get-MgPolicyRoleManagementPolicyAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgPolicyRoleManagementPolicyAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyAssignment -Filter "scopeId eq '/' and scopeType eq 'Directory'" ``` +This example shows how to use the Get-MgPolicyRoleManagementPolicyAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyRule.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyRule.md index 940e9b857bd..74a8a80cffd 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyRule.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyRoleManagementPolicyRule.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyRoleManagementPolicyRule Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyRule -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId -UnifiedRoleManagementPolicyRuleId $unifiedRoleManagementPolicyRuleId ``` -### Example 2 +This example shows how to use the Get-MgPolicyRoleManagementPolicyRule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPolicyRoleManagementPolicyRule Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyRoleManagementPolicyRule -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId ``` +This example shows how to use the Get-MgPolicyRoleManagementPolicyRule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenIssuancePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenIssuancePolicy.md index 25f37e2c39b..db347e52326 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenIssuancePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenIssuancePolicy.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyTokenIssuancePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyTokenIssuancePolicy -TokenIssuancePolicyId $tokenIssuancePolicyId ``` -### Example 2 +This example shows how to use the Get-MgPolicyTokenIssuancePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPolicyTokenIssuancePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyTokenIssuancePolicy ``` +This example shows how to use the Get-MgPolicyTokenIssuancePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenLifetimePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenLifetimePolicy.md index c639a4d2bc3..b0732911a74 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenLifetimePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgPolicyTokenLifetimePolicy.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPolicyTokenLifetimePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyTokenLifetimePolicy ``` -### Example 2 +This example shows how to use the Get-MgPolicyTokenLifetimePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPolicyTokenLifetimePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgPolicyTokenLifetimePolicy -TokenLifetimePolicyId $tokenLifetimePolicyId ``` +This example shows how to use the Get-MgPolicyTokenLifetimePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskDetection.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskDetection.md index b4546dbc301..c02e2543740 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskDetection.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskDetection.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgRiskDetection Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskDetection -RiskDetectionId $riskDetectionId ``` -### Example 2 +This example shows how to use the Get-MgRiskDetection Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgRiskDetection Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskDetection ``` +This example shows how to use the Get-MgRiskDetection Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUser.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUser.md index fcabc5916c7..e5e581c00d7 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUser.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUser.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgRiskyUser Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskyUser -RiskyUserId $riskyUserId ``` -### Example 2 +This example shows how to use the Get-MgRiskyUser Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgRiskyUser Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskyUser ``` +This example shows how to use the Get-MgRiskyUser Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUserHistory.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUserHistory.md index cf17cb91b90..5ed6797c62b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUserHistory.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgRiskyUserHistory.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgRiskyUserHistory Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskyUserHistory -RiskyUserId $riskyUserId ``` -### Example 2 +This example shows how to use the Get-MgRiskyUserHistory Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgRiskyUserHistory Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgRiskyUserHistory -RiskyUserId $riskyUserId ``` +This example shows how to use the Get-MgRiskyUserHistory Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationEmailMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationEmailMethod.md index 1f717916c2a..c6ce2c9abbe 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationEmailMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationEmailMethod.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserAuthenticationEmailMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationEmailMethod -UserId $userId -EmailAuthenticationMethodId $emailAuthenticationMethodId ``` -### Example 2 +This example shows how to use the Get-MgUserAuthenticationEmailMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserAuthenticationEmailMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationEmailMethod -UserId $userId ``` +This example shows how to use the Get-MgUserAuthenticationEmailMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationFido2Method.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationFido2Method.md index f805e58aef2..03c43f7beb5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationFido2Method.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationFido2Method.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserAuthenticationFido2Method Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationFido2Method -UserId $userId -Fido2AuthenticationMethodId $fido2AuthenticationMethodId ``` +This example shows how to use the Get-MgUserAuthenticationFido2Method Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationMicrosoftAuthenticatorMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationMicrosoftAuthenticatorMethod.md index 8c6683fbc87..decbc7b38a5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationMicrosoftAuthenticatorMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationMicrosoftAuthenticatorMethod.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgUserAuthenticationMicrosoftAuthenticatorMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationMicrosoftAuthenticatorMethod -UserId $userId ``` +This example shows how to use the Get-MgUserAuthenticationMicrosoftAuthenticatorMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationOperation.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationOperation.md index 6a99e84f01a..be39c89e922 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationOperation.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationOperation.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgUserAuthenticationOperation Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationOperation -UserId $userId -LongRunningOperationId $longRunningOperationId ``` +This example shows how to use the Get-MgUserAuthenticationOperation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPasswordMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPasswordMethod.md index 290bab80c77..cefc8bfa00f 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPasswordMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPasswordMethod.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserAuthenticationPasswordMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationPasswordMethod -UserId $userId -PasswordAuthenticationMethodId $passwordAuthenticationMethodId ``` -### Example 2 +This example shows how to use the Get-MgUserAuthenticationPasswordMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserAuthenticationPasswordMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationPasswordMethod -UserId $userId ``` +This example shows how to use the Get-MgUserAuthenticationPasswordMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPhoneMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPhoneMethod.md index 638d34c5782..2bc9fa82043 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPhoneMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationPhoneMethod.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserAuthenticationPhoneMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationPhoneMethod -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId ``` -### Example 2 +This example shows how to use the Get-MgUserAuthenticationPhoneMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserAuthenticationPhoneMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationPhoneMethod -UserId $userId ``` +This example shows how to use the Get-MgUserAuthenticationPhoneMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationSoftwareOathMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationSoftwareOathMethod.md index 449124deb82..bd08915fec1 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationSoftwareOathMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationSoftwareOathMethod.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserAuthenticationSoftwareOathMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationSoftwareOathMethod -UserId $userId -SoftwareOathAuthenticationMethodId $softwareOathAuthenticationMethodId ``` -### Example 2 +This example shows how to use the Get-MgUserAuthenticationSoftwareOathMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserAuthenticationSoftwareOathMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Get-MgUserAuthenticationSoftwareOathMethod -UserId $userId ``` +This example shows how to use the Get-MgUserAuthenticationSoftwareOathMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationTemporaryAccessPassMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationTemporaryAccessPassMethod.md index 2ac213afec5..7ffe8feb4e0 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationTemporaryAccessPassMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationTemporaryAccessPassMethod.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgUserAuthenticationTemporaryAccessPassMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationTemporaryAccessPassMethod -UserId $userId -TemporaryAccessPassAuthenticationMethodId $temporaryAccessPassAuthenticationMethodId ``` -### Example 2 +This example shows how to use the Get-MgUserAuthenticationTemporaryAccessPassMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserAuthenticationTemporaryAccessPassMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationTemporaryAccessPassMethod -UserId $userId ``` +This example shows how to use the Get-MgUserAuthenticationTemporaryAccessPassMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationWindowHelloForBusinessMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationWindowHelloForBusinessMethod.md index 657eaef7804..6ec810677a5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationWindowHelloForBusinessMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Get-MgUserAuthenticationWindowHelloForBusinessMethod.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgUserAuthenticationWindowHelloForBusinessMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationWindowHelloForBusinessMethod -UserId $userId -WindowsHelloForBusinessAuthenticationMethodId $windowsHelloForBusinessAuthenticationMethodId ``` -### Example 2 +This example shows how to use the Get-MgUserAuthenticationWindowHelloForBusinessMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserAuthenticationWindowHelloForBusinessMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Get-MgUserAuthenticationWindowHelloForBusinessMethod -UserId $userId ``` +This example shows how to use the Get-MgUserAuthenticationWindowHelloForBusinessMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgAvailableIdentityProviderType.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgAvailableIdentityProviderType.md index 68d45fafed4..6360c5ceb24 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgAvailableIdentityProviderType.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgAvailableIdentityProviderType.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Invoke-MgAvailableIdentityProviderType Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Invoke-MgAvailableIdentityProviderType ``` -### Example 2 +This example shows how to use the Invoke-MgAvailableIdentityProviderType Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Invoke-MgAvailableIdentityProviderType Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Invoke-MgAvailableIdentityProviderType ``` -### Example 3 +This example shows how to use the Invoke-MgAvailableIdentityProviderType Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Invoke-MgAvailableIdentityProviderType Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Invoke-MgAvailableIdentityProviderType -OutFile $outFileId ``` +This example shows how to use the Invoke-MgAvailableIdentityProviderType Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgDismissRiskyUser.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgDismissRiskyUser.md index d780646579c..16bbe303c32 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgDismissRiskyUser.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgDismissRiskyUser.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgDismissRiskyUser Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Invoke-MgDismissRiskyUser -BodyParameter $params ``` +This example shows how to use the Invoke-MgDismissRiskyUser Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgUploadIdentityApiConnectorClientCertificate.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgUploadIdentityApiConnectorClientCertificate.md index 5d9fc04b1c7..80281cb67fb 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgUploadIdentityApiConnectorClientCertificate.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Invoke-MgUploadIdentityApiConnectorClientCertificate.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgUploadIdentityApiConnectorClientCertificate Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Invoke-MgUploadIdentityApiConnectorClientCertificate -IdentityApiConnectorId $identityApiConnectorId -BodyParameter $params ``` +This example shows how to use the Invoke-MgUploadIdentityApiConnectorClientCertificate Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityApiConnector.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityApiConnector.md index fe3a33d24ce..5fc7a59036d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityApiConnector.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityApiConnector.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgIdentityApiConnector Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -12,7 +12,9 @@ $params = @{ } New-MgIdentityApiConnector -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgIdentityApiConnector Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgIdentityApiConnector Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -26,7 +28,9 @@ $params = @{ } New-MgIdentityApiConnector -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgIdentityApiConnector Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgIdentityApiConnector Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -40,3 +44,5 @@ $params = @{ } New-MgIdentityApiConnector -BodyParameter $params ``` +This example shows how to use the New-MgIdentityApiConnector Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlow.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlow.md index e46fee3a2e7..512cd6e7c15 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlow.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlow.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgIdentityB2XUserFlow Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -16,7 +16,9 @@ $params = @{ } New-MgIdentityB2XUserFlow -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgIdentityB2XUserFlow Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgIdentityB2XUserFlow Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -33,7 +35,9 @@ $params = @{ } New-MgIdentityB2XUserFlow -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgIdentityB2XUserFlow Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgIdentityB2XUserFlow Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -43,3 +47,5 @@ $params = @{ } New-MgIdentityB2XUserFlow -BodyParameter $params ``` +This example shows how to use the New-MgIdentityB2XUserFlow Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlowUserAttributeAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlowUserAttributeAssignment.md index b85fb78473a..aca99cdf086 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlowUserAttributeAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityB2XUserFlowUserAttributeAssignment.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgIdentityB2XUserFlowUserAttributeAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -14,3 +14,5 @@ $params = @{ } New-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -BodyParameter $params ``` +This example shows how to use the New-MgIdentityB2XUserFlowUserAttributeAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityProvider.md index 570b76aba58..71d8706ad99 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityProvider.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgIdentityProvider Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -11,7 +11,9 @@ $params = @{ } New-MgIdentityProvider -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgIdentityProvider Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgIdentityProvider Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -23,3 +25,5 @@ $params = @{ } New-MgIdentityProvider -BodyParameter $params ``` +This example shows how to use the New-MgIdentityProvider Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityUserFlowAttribute.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityUserFlowAttribute.md index ada5e5f86d6..e296bf1fa7f 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityUserFlowAttribute.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgIdentityUserFlowAttribute.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgIdentityUserFlowAttribute Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgIdentityUserFlowAttribute -BodyParameter $params ``` +This example shows how to use the New-MgIdentityUserFlowAttribute Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgInformationProtectionThreatAssessmentRequest.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgInformationProtectionThreatAssessmentRequest.md index fd35e3e29f3..5f84e79e607 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgInformationProtectionThreatAssessmentRequest.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgInformationProtectionThreatAssessmentRequest.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgInformationProtectionThreatAssessmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -10,7 +10,9 @@ $params = @{ } New-MgInformationProtectionThreatAssessmentRequest -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgInformationProtectionThreatAssessmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgInformationProtectionThreatAssessmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -22,7 +24,9 @@ $params = @{ } New-MgInformationProtectionThreatAssessmentRequest -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgInformationProtectionThreatAssessmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgInformationProtectionThreatAssessmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -34,7 +38,9 @@ $params = @{ } New-MgInformationProtectionThreatAssessmentRequest -BodyParameter $params ``` -### Example 4 +This example shows how to use the New-MgInformationProtectionThreatAssessmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the New-MgInformationProtectionThreatAssessmentRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -45,3 +51,5 @@ $params = @{ } New-MgInformationProtectionThreatAssessmentRequest -BodyParameter $params ``` +This example shows how to use the New-MgInformationProtectionThreatAssessmentRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgOauth2PermissionGrant.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgOauth2PermissionGrant.md index e102ac80673..e1d8039ddaa 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgOauth2PermissionGrant.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgOauth2PermissionGrant.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgOauth2PermissionGrant Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -9,3 +9,5 @@ $params = @{ } New-MgOauth2PermissionGrant -BodyParameter $params ``` +This example shows how to use the New-MgOauth2PermissionGrant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyActivityBasedTimeoutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyActivityBasedTimeoutPolicy.md index 1adb903bbb9..004e0922584 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyActivityBasedTimeoutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyActivityBasedTimeoutPolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPolicyActivityBasedTimeoutPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -10,3 +10,5 @@ $params = @{ } New-MgPolicyActivityBasedTimeoutPolicy -BodyParameter $params ``` +This example shows how to use the New-MgPolicyActivityBasedTimeoutPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyClaimMappingPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyClaimMappingPolicy.md index e73a6f89f8d..02afa593e74 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyClaimMappingPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyClaimMappingPolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPolicyClaimMappingPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -9,3 +9,5 @@ $params = @{ } New-MgPolicyClaimMappingPolicy -BodyParameter $params ``` +This example shows how to use the New-MgPolicyClaimMappingPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyCrossTenantAccessPolicyPartner.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyCrossTenantAccessPolicyPartner.md index 83e1bf586e3..08248d42e4e 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyCrossTenantAccessPolicyPartner.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyCrossTenantAccessPolicyPartner.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPolicyCrossTenantAccessPolicyPartner Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -28,3 +28,5 @@ $params = @{ } New-MgPolicyCrossTenantAccessPolicyPartner -BodyParameter $params ``` +This example shows how to use the New-MgPolicyCrossTenantAccessPolicyPartner Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicy.md index d7869675802..373de32eaff 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPolicyFeatureRolloutPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -10,3 +10,5 @@ $params = @{ } New-MgPolicyFeatureRolloutPolicy -BodyParameter $params ``` +This example shows how to use the New-MgPolicyFeatureRolloutPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicyApplyToByRef.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicyApplyToByRef.md index b6b4ef25769..76772151534 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicyApplyToByRef.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyFeatureRolloutPolicyApplyToByRef.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPolicyFeatureRolloutPolicyApplyToByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgPolicyFeatureRolloutPolicyApplyToByRef -FeatureRolloutPolicyId $featureRolloutPolicyId -BodyParameter $params ``` +This example shows how to use the New-MgPolicyFeatureRolloutPolicyApplyToByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md index 46020bab5f4..e1b04fb9256 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyHomeRealmDiscoveryPolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPolicyHomeRealmDiscoveryPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -10,3 +10,5 @@ $params = @{ } New-MgPolicyHomeRealmDiscoveryPolicy -BodyParameter $params ``` +This example shows how to use the New-MgPolicyHomeRealmDiscoveryPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicy.md index c5e2d21d4df..b0251d3e6a8 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPolicyPermissionGrantPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgPolicyPermissionGrantPolicy -BodyParameter $params ``` +This example shows how to use the New-MgPolicyPermissionGrantPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyExclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyExclude.md index 7667f1cda6d..7e643156294 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyExclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyExclude.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPolicyPermissionGrantPolicyExclude Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -7,3 +7,5 @@ $params = @{ } New-MgPolicyPermissionGrantPolicyExclude -PermissionGrantPolicyId $permissionGrantPolicyId -BodyParameter $params ``` +This example shows how to use the New-MgPolicyPermissionGrantPolicyExclude Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyInclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyInclude.md index d1ed196cf7c..cbc0451eab1 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyInclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyPermissionGrantPolicyInclude.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPolicyPermissionGrantPolicyInclude Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -7,3 +7,5 @@ $params = @{ } New-MgPolicyPermissionGrantPolicyInclude -PermissionGrantPolicyId $permissionGrantPolicyId -BodyParameter $params ``` +This example shows how to use the New-MgPolicyPermissionGrantPolicyInclude Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenIssuancePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenIssuancePolicy.md index daffdf53fdc..9d7351e87fd 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenIssuancePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenIssuancePolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPolicyTokenIssuancePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -10,3 +10,5 @@ $params = @{ } New-MgPolicyTokenIssuancePolicy -BodyParameter $params ``` +This example shows how to use the New-MgPolicyTokenIssuancePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenLifetimePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenLifetimePolicy.md index dcde45e6050..00b365ba89a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenLifetimePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgPolicyTokenLifetimePolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPolicyTokenLifetimePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -10,3 +10,5 @@ $params = @{ } New-MgPolicyTokenLifetimePolicy -BodyParameter $params ``` +This example shows how to use the New-MgPolicyTokenLifetimePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationEmailMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationEmailMethod.md index 6f54d561d6d..71c41f18dc3 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationEmailMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationEmailMethod.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserAuthenticationEmailMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgUserAuthenticationEmailMethod -UserId $userId -BodyParameter $params ``` +This example shows how to use the New-MgUserAuthenticationEmailMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationPhoneMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationPhoneMethod.md index c491094dbb4..a4751566f82 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationPhoneMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationPhoneMethod.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserAuthenticationPhoneMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -8,3 +8,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserAuthenticationPhoneMethod -UserId $userId -BodyParameter $params ``` +This example shows how to use the New-MgUserAuthenticationPhoneMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationTemporaryAccessPassMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationTemporaryAccessPassMethod.md index eb7194bf047..7a823021bde 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationTemporaryAccessPassMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/New-MgUserAuthenticationTemporaryAccessPassMethod.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserAuthenticationTemporaryAccessPassMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgUserAuthenticationTemporaryAccessPassMethod -UserId $userId -BodyParameter $params ``` +This example shows how to use the New-MgUserAuthenticationTemporaryAccessPassMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityApiConnector.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityApiConnector.md index 32e61a1c7c3..2c391416e36 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityApiConnector.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityApiConnector.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgIdentityApiConnector Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId ``` +This example shows how to use the Remove-MgIdentityApiConnector Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlow.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlow.md index dff0a0e40d3..41afb02897f 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlow.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlow.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgIdentityB2XUserFlow Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityB2XUserFlow -B2xIdentityUserFlowId $b2xIdentityUserFlowId ``` +This example shows how to use the Remove-MgIdentityB2XUserFlow Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlowUserAttributeAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlowUserAttributeAssignment.md index b34f82f10f5..77c6d93aab9 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlowUserAttributeAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityB2XUserFlowUserAttributeAssignment.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgIdentityB2XUserFlowUserAttributeAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -IdentityUserFlowAttributeAssignmentId $identityUserFlowAttributeAssignmentId ``` +This example shows how to use the Remove-MgIdentityB2XUserFlowUserAttributeAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityProvider.md index 74386102608..e5d0701e143 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityProvider.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Remove-MgIdentityProvider Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId ``` -### Example 2 +This example shows how to use the Remove-MgIdentityProvider Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Remove-MgIdentityProvider Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId ``` +This example shows how to use the Remove-MgIdentityProvider Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityUserFlowAttribute.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityUserFlowAttribute.md index 7477c98d1aa..4428c56f617 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityUserFlowAttribute.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgIdentityUserFlowAttribute.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgIdentityUserFlowAttribute Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgIdentityUserFlowAttribute -IdentityUserFlowAttributeId $identityUserFlowAttributeId ``` +This example shows how to use the Remove-MgIdentityUserFlowAttribute Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgOauth2PermissionGrant.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgOauth2PermissionGrant.md index 186878776f0..9b181d80bb5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgOauth2PermissionGrant.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgOauth2PermissionGrant.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgOauth2PermissionGrant Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgOauth2PermissionGrant -OAuth2PermissionGrantId $oAuth2PermissionGrantId ``` +This example shows how to use the Remove-MgOauth2PermissionGrant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyActivityBasedTimeoutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyActivityBasedTimeoutPolicy.md index f98367214d0..52a82621278 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyActivityBasedTimeoutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyActivityBasedTimeoutPolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPolicyActivityBasedTimeoutPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyActivityBasedTimeoutPolicy -ActivityBasedTimeoutPolicyId $activityBasedTimeoutPolicyId ``` +This example shows how to use the Remove-MgPolicyActivityBasedTimeoutPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md index e0c8c7ba91d..35e83587f02 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` -### Example 2 +This example shows how to use the Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` -### Example 3 +This example shows how to use the Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` -### Example 4 +This example shows how to use the Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId ``` +This example shows how to use the Remove-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyClaimMappingPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyClaimMappingPolicy.md index 6c6ed0c13a7..bce6459f0ff 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyClaimMappingPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyClaimMappingPolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPolicyClaimMappingPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyClaimMappingPolicy -ClaimsMappingPolicyId $claimsMappingPolicyId ``` +This example shows how to use the Remove-MgPolicyClaimMappingPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyCrossTenantAccessPolicyPartner.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyCrossTenantAccessPolicyPartner.md index 54daa32654a..f1ade290468 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyCrossTenantAccessPolicyPartner.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyCrossTenantAccessPolicyPartner.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPolicyCrossTenantAccessPolicyPartner Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyCrossTenantAccessPolicyPartner -CrossTenantAccessPolicyConfigurationPartnerTenantId $crossTenantAccessPolicyConfigurationPartnerTenantId ``` +This example shows how to use the Remove-MgPolicyCrossTenantAccessPolicyPartner Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicy.md index 2cda75a58ab..dadb557f6f5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPolicyFeatureRolloutPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyFeatureRolloutPolicy -FeatureRolloutPolicyId $featureRolloutPolicyId ``` +This example shows how to use the Remove-MgPolicyFeatureRolloutPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md index 28edacc5c33..16aac6be8c0 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyFeatureRolloutPolicyApplyToByRef.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPolicyFeatureRolloutPolicyApplyToByRef Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyFeatureRolloutPolicyApplyToByRef -FeatureRolloutPolicyId $featureRolloutPolicyId -DirectoryObjectId $directoryObjectId ``` +This example shows how to use the Remove-MgPolicyFeatureRolloutPolicyApplyToByRef Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyHomeRealmDiscoveryPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyHomeRealmDiscoveryPolicy.md index d7fb3c12087..42c25002d03 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyHomeRealmDiscoveryPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyHomeRealmDiscoveryPolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPolicyHomeRealmDiscoveryPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyHomeRealmDiscoveryPolicy -HomeRealmDiscoveryPolicyId $homeRealmDiscoveryPolicyId ``` +This example shows how to use the Remove-MgPolicyHomeRealmDiscoveryPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicy.md index 628f87a04a2..14cd36d85ae 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPolicyPermissionGrantPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyPermissionGrantPolicy -PermissionGrantPolicyId $permissionGrantPolicyId ``` +This example shows how to use the Remove-MgPolicyPermissionGrantPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyExclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyExclude.md index b2ded98e9ce..c34af0da1c8 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyExclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyExclude.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPolicyPermissionGrantPolicyExclude Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyPermissionGrantPolicyExclude -PermissionGrantPolicyId $permissionGrantPolicyId -PermissionGrantConditionSetId $permissionGrantConditionSetId ``` +This example shows how to use the Remove-MgPolicyPermissionGrantPolicyExclude Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyInclude.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyInclude.md index c5b9c98ec9d..e774a409166 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyInclude.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyPermissionGrantPolicyInclude.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPolicyPermissionGrantPolicyInclude Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyPermissionGrantPolicyInclude -PermissionGrantPolicyId $permissionGrantPolicyId -PermissionGrantConditionSetId $permissionGrantConditionSetId ``` +This example shows how to use the Remove-MgPolicyPermissionGrantPolicyInclude Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenIssuancePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenIssuancePolicy.md index 32b7eb1dafc..c2333972a62 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenIssuancePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenIssuancePolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPolicyTokenIssuancePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyTokenIssuancePolicy -TokenIssuancePolicyId $tokenIssuancePolicyId ``` +This example shows how to use the Remove-MgPolicyTokenIssuancePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenLifetimePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenLifetimePolicy.md index 5074e84036b..9a32bcccd62 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenLifetimePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgPolicyTokenLifetimePolicy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPolicyTokenLifetimePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgPolicyTokenLifetimePolicy -TokenLifetimePolicyId $tokenLifetimePolicyId ``` +This example shows how to use the Remove-MgPolicyTokenLifetimePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationEmailMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationEmailMethod.md index 1c1936772a8..c5a2f4ffb16 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationEmailMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationEmailMethod.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgUserAuthenticationEmailMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationEmailMethod -UserId $userId -EmailAuthenticationMethodId $emailAuthenticationMethodId ``` +This example shows how to use the Remove-MgUserAuthenticationEmailMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationFido2Method.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationFido2Method.md index 1011b6aaeee..a10bc3e26a0 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationFido2Method.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationFido2Method.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgUserAuthenticationFido2Method Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationFido2Method -UserId $userId -Fido2AuthenticationMethodId $fido2AuthenticationMethodId ``` +This example shows how to use the Remove-MgUserAuthenticationFido2Method Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod.md index ff88d86debe..8ad03994dda 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod -UserId $userId -MicrosoftAuthenticatorAuthenticationMethodId $microsoftAuthenticatorAuthenticationMethodId ``` +This example shows how to use the Remove-MgUserAuthenticationMicrosoftAuthenticatorMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationPhoneMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationPhoneMethod.md index dc67e4598eb..7ff17c6323a 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationPhoneMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationPhoneMethod.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserAuthenticationPhoneMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns # A UPN can also be used as -UserId. Remove-MgUserAuthenticationPhoneMethod -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId ``` +This example shows how to use the Remove-MgUserAuthenticationPhoneMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationSoftwareOathMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationSoftwareOathMethod.md index 95a7d59cab1..ffcb8a49662 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationSoftwareOathMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationSoftwareOathMethod.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgUserAuthenticationSoftwareOathMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationSoftwareOathMethod -UserId $userId -SoftwareOathAuthenticationMethodId $softwareOathAuthenticationMethodId ``` +This example shows how to use the Remove-MgUserAuthenticationSoftwareOathMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationTemporaryAccessPassMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationTemporaryAccessPassMethod.md index 08b72aed538..f8351df4ef4 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationTemporaryAccessPassMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationTemporaryAccessPassMethod.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgUserAuthenticationTemporaryAccessPassMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationTemporaryAccessPassMethod -UserId $userId -TemporaryAccessPassAuthenticationMethodId $temporaryAccessPassAuthenticationMethodId ``` +This example shows how to use the Remove-MgUserAuthenticationTemporaryAccessPassMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationWindowHelloForBusinessMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationWindowHelloForBusinessMethod.md index 01617bc0eaf..c1e25594be3 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationWindowHelloForBusinessMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Remove-MgUserAuthenticationWindowHelloForBusinessMethod.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgUserAuthenticationWindowHelloForBusinessMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Remove-MgUserAuthenticationWindowHelloForBusinessMethod -UserId $userId -WindowsHelloForBusinessAuthenticationMethodId $windowsHelloForBusinessAuthenticationMethodId ``` +This example shows how to use the Remove-MgUserAuthenticationWindowHelloForBusinessMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md index 16906c7b561..7347182ffeb 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault ``` +This example shows how to use the Reset-MgPolicyCrossTenantAccessPolicyDefaultToSystemDefault Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowLanguageOverridePageContent.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowLanguageOverridePageContent.md index f607d2d7369..3fb652b6ee6 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowLanguageOverridePageContent.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowLanguageOverridePageContent.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Set-MgIdentityB2XUserFlowLanguageOverridePageContent Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Set-MgIdentityB2XUserFlowLanguageOverridePageContent -B2xIdentityUserFlowId $b2xIdentityUserFlowId -UserFlowLanguageConfigurationId $userFlowLanguageConfigurationId -UserFlowLanguagePageId $userFlowLanguagePageId -BodyParameter $params ``` +This example shows how to use the Set-MgIdentityB2XUserFlowLanguageOverridePageContent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md index 39a7a1646e8..2045d8f7c46 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -11,3 +11,5 @@ $params = @{ } Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder -B2xIdentityUserFlowId $b2xIdentityUserFlowId -BodyParameter $params ``` +This example shows how to use the Set-MgIdentityB2XUserFlowUserAttributeAssignmentOrder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityApiConnector.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityApiConnector.md index 15ceea0a39b..f9c4734e6fa 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityApiConnector.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityApiConnector.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgIdentityApiConnector Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -10,7 +10,9 @@ $params = @{ } Update-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Update-MgIdentityApiConnector Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Update-MgIdentityApiConnector Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -24,7 +26,9 @@ $params = @{ } Update-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId -BodyParameter $params ``` -### Example 3 +This example shows how to use the Update-MgIdentityApiConnector Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Update-MgIdentityApiConnector Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -36,3 +40,5 @@ $params = @{ } Update-MgIdentityApiConnector -IdentityApiConnectorId $identityApiConnectorId -BodyParameter $params ``` +This example shows how to use the Update-MgIdentityApiConnector Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityB2XUserFlowUserAttributeAssignment.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityB2XUserFlowUserAttributeAssignment.md index c2f868837e5..40320aa452d 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityB2XUserFlowUserAttributeAssignment.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityB2XUserFlowUserAttributeAssignment.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgIdentityB2XUserFlowUserAttributeAssignment Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgIdentityB2XUserFlowUserAttributeAssignment -B2xIdentityUserFlowId $b2xIdentityUserFlowId -IdentityUserFlowAttributeAssignmentId $identityUserFlowAttributeAssignmentId -BodyParameter $params ``` +This example shows how to use the Update-MgIdentityB2XUserFlowUserAttributeAssignment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityProvider.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityProvider.md index 28f43034fb2..21f171b1dc9 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityProvider.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityProvider.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgIdentityProvider Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -7,7 +7,9 @@ $params = @{ } Update-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Update-MgIdentityProvider Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Update-MgIdentityProvider Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -15,7 +17,9 @@ $params = @{ } Update-MgIdentityProvider -IdentityProviderId $identityProviderId -BodyParameter $params ``` -### Example 3 +This example shows how to use the Update-MgIdentityProvider Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Update-MgIdentityProvider Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -24,3 +28,5 @@ $params = @{ } Update-MgIdentityProvider -IdentityProviderBaseId $identityProviderBaseId -BodyParameter $params ``` +This example shows how to use the Update-MgIdentityProvider Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityUserFlowAttribute.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityUserFlowAttribute.md index 5acc19aa1ad..a6f4a521f06 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityUserFlowAttribute.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgIdentityUserFlowAttribute.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgIdentityUserFlowAttribute Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgIdentityUserFlowAttribute -IdentityUserFlowAttributeId $identityUserFlowAttributeId -BodyParameter $params ``` +This example shows how to use the Update-MgIdentityUserFlowAttribute Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgOauth2PermissionGrant.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgOauth2PermissionGrant.md index cf0efa32513..7a1f2d7b0e7 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgOauth2PermissionGrant.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgOauth2PermissionGrant.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgOauth2PermissionGrant Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgOauth2PermissionGrant -OAuth2PermissionGrantId $oAuth2PermissionGrantId -BodyParameter $params ``` +This example shows how to use the Update-MgOauth2PermissionGrant Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyActivityBasedTimeoutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyActivityBasedTimeoutPolicy.md index 2a41758531c..f9f4b84afa4 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyActivityBasedTimeoutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyActivityBasedTimeoutPolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPolicyActivityBasedTimeoutPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -10,3 +10,5 @@ $params = @{ } Update-MgPolicyActivityBasedTimeoutPolicy -ActivityBasedTimeoutPolicyId $activityBasedTimeoutPolicyId -BodyParameter $params ``` +This example shows how to use the Update-MgPolicyActivityBasedTimeoutPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationFlowPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationFlowPolicy.md index 2f0dbc1d7dc..578c6acbcea 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationFlowPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationFlowPolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPolicyAuthenticationFlowPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -8,3 +8,5 @@ $params = @{ } Update-MgPolicyAuthenticationFlowPolicy -BodyParameter $params ``` +This example shows how to use the Update-MgPolicyAuthenticationFlowPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicy.md index 59d31ae9b4c..3e3a4653cf7 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPolicyAuthenticationMethodPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -30,3 +30,5 @@ $params = @{ } Update-MgPolicyAuthenticationMethodPolicy -BodyParameter $params ``` +This example shows how to use the Update-MgPolicyAuthenticationMethodPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md index e17b2a2bef8..6538a87062c 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -7,7 +7,9 @@ $params = @{ } Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -17,7 +19,9 @@ $params = @{ } Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId -BodyParameter $params ``` -### Example 3 +This example shows how to use the Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -26,7 +30,9 @@ $params = @{ } Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId -BodyParameter $params ``` -### Example 4 +This example shows how to use the Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -35,3 +41,5 @@ $params = @{ } Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -AuthenticationMethodConfigurationId $authenticationMethodConfigurationId -BodyParameter $params ``` +This example shows how to use the Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyClaimMappingPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyClaimMappingPolicy.md index ea5b4efceff..cad82458421 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyClaimMappingPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyClaimMappingPolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPolicyClaimMappingPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgPolicyClaimMappingPolicy -ClaimsMappingPolicyId $claimsMappingPolicyId -BodyParameter $params ``` +This example shows how to use the Update-MgPolicyClaimMappingPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicy.md index 4cd8ebb4f84..90493d420a5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPolicyCrossTenantAccessPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgPolicyCrossTenantAccessPolicy -BodyParameter $params ``` +This example shows how to use the Update-MgPolicyCrossTenantAccessPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyDefault.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyDefault.md index 630526d0f06..5f42277105e 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyDefault.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyDefault.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPolicyCrossTenantAccessPolicyDefault Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -25,3 +25,5 @@ $params = @{ } Update-MgPolicyCrossTenantAccessPolicyDefault -BodyParameter $params ``` +This example shows how to use the Update-MgPolicyCrossTenantAccessPolicyDefault Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyPartner.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyPartner.md index acede6a3384..2c53523988b 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyPartner.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyCrossTenantAccessPolicyPartner.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPolicyCrossTenantAccessPolicyPartner Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -10,3 +10,5 @@ $params = @{ } Update-MgPolicyCrossTenantAccessPolicyPartner -CrossTenantAccessPolicyConfigurationPartnerTenantId $crossTenantAccessPolicyConfigurationPartnerTenantId -BodyParameter $params ``` +This example shows how to use the Update-MgPolicyCrossTenantAccessPolicyPartner Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyFeatureRolloutPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyFeatureRolloutPolicy.md index 1635df117ba..d3999dd6483 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyFeatureRolloutPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyFeatureRolloutPolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPolicyFeatureRolloutPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Update-MgPolicyFeatureRolloutPolicy -FeatureRolloutPolicyId $featureRolloutPolicyId -BodyParameter $params ``` +This example shows how to use the Update-MgPolicyFeatureRolloutPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyHomeRealmDiscoveryPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyHomeRealmDiscoveryPolicy.md index 26e0daa2825..c2f7669d545 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyHomeRealmDiscoveryPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyHomeRealmDiscoveryPolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPolicyHomeRealmDiscoveryPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -10,3 +10,5 @@ $params = @{ } Update-MgPolicyHomeRealmDiscoveryPolicy -HomeRealmDiscoveryPolicyId $homeRealmDiscoveryPolicyId -BodyParameter $params ``` +This example shows how to use the Update-MgPolicyHomeRealmDiscoveryPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md index e8c83bda37c..916fda78477 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy -BodyParameter $params ``` +This example shows how to use the Update-MgPolicyIdentitySecurityDefaultEnforcementPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyPermissionGrantPolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyPermissionGrantPolicy.md index a1668526158..456ad1ba882 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyPermissionGrantPolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyPermissionGrantPolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPolicyPermissionGrantPolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgPolicyPermissionGrantPolicy -PermissionGrantPolicyId $permissionGrantPolicyId -BodyParameter $params ``` +This example shows how to use the Update-MgPolicyPermissionGrantPolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyRoleManagementPolicyRule.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyRoleManagementPolicyRule.md index 68aadbaa1ad..bfdc4bdf4c5 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyRoleManagementPolicyRule.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyRoleManagementPolicyRule.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPolicyRoleManagementPolicyRule Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -21,3 +21,5 @@ $params = @{ } Update-MgPolicyRoleManagementPolicyRule -UnifiedRoleManagementPolicyId $unifiedRoleManagementPolicyId -UnifiedRoleManagementPolicyRuleId $unifiedRoleManagementPolicyRuleId -BodyParameter $params ``` +This example shows how to use the Update-MgPolicyRoleManagementPolicyRule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenIssuancePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenIssuancePolicy.md index 29887e5a041..991279d9a37 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenIssuancePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenIssuancePolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPolicyTokenIssuancePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -10,3 +10,5 @@ $params = @{ } Update-MgPolicyTokenIssuancePolicy -TokenIssuancePolicyId $tokenIssuancePolicyId -BodyParameter $params ``` +This example shows how to use the Update-MgPolicyTokenIssuancePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenLifetimePolicy.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenLifetimePolicy.md index cf99ac4252a..e3c17506ca7 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenLifetimePolicy.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgPolicyTokenLifetimePolicy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPolicyTokenLifetimePolicy Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -10,3 +10,5 @@ $params = @{ } Update-MgPolicyTokenLifetimePolicy -TokenLifetimePolicyId $tokenLifetimePolicyId -BodyParameter $params ``` +This example shows how to use the Update-MgPolicyTokenLifetimePolicy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationEmailMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationEmailMethod.md index 9e3c96fbb2d..1e91b1f02eb 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationEmailMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationEmailMethod.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserAuthenticationEmailMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgUserAuthenticationEmailMethod -UserId $userId -EmailAuthenticationMethodId $emailAuthenticationMethodId -BodyParameter $params ``` +This example shows how to use the Update-MgUserAuthenticationEmailMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationPhoneMethod.md b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationPhoneMethod.md index ef08ab1401c..7375b689937 100644 --- a/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationPhoneMethod.md +++ b/src/Identity.SignIns/Identity.SignIns/examples/v1.0/Update-MgUserAuthenticationPhoneMethod.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserAuthenticationPhoneMethod Cmdlet ```powershell Import-Module Microsoft.Graph.Identity.SignIns $params = @{ @@ -8,3 +8,5 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserAuthenticationPhoneMethod -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId -BodyParameter $params ``` +This example shows how to use the Update-MgUserAuthenticationPhoneMethod Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserInferenceClassificationOverride.md b/src/Mail/Mail/examples/v1.0/Get-MgUserInferenceClassificationOverride.md index 09b2c7db8c1..17be1eb8173 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserInferenceClassificationOverride.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserInferenceClassificationOverride.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserInferenceClassificationOverride Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserInferenceClassificationOverride -UserId $userId ``` +This example shows how to use the Get-MgUserInferenceClassificationOverride Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolder.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolder.md index de848b97c64..b2305146281 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolder.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolder.md @@ -1,18 +1,24 @@ -### Example 1 +### Example 1: Using the Get-MgUserMailFolder Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId ``` -### Example 2 +This example shows how to use the Get-MgUserMailFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserMailFolder Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolder -UserId $userId ``` -### Example 3 +This example shows how to use the Get-MgUserMailFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgUserMailFolder Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId ``` +This example shows how to use the Get-MgUserMailFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderChildFolder.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderChildFolder.md index 071f125f52f..9ef9c61937a 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderChildFolder.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderChildFolder.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserMailFolderChildFolder Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolderChildFolder -UserId $userId -MailFolderId $mailFolderId ``` +This example shows how to use the Get-MgUserMailFolderChildFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessage.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessage.md index 4386c1a6bc2..f8c1a762842 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessage.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessage.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserMailFolderMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolderMessage -UserId $userId -MailFolderId $mailFolderId ``` +This example shows how to use the Get-MgUserMailFolderMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessageRule.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessageRule.md index 2daab704ef0..8ba4ec629ff 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessageRule.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMailFolderMessageRule.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserMailFolderMessageRule Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolderMessageRule -UserId $userId -MailFolderId $mailFolderId -MessageRuleId $messageRuleId ``` -### Example 2 +This example shows how to use the Get-MgUserMailFolderMessageRule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserMailFolderMessageRule Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMailFolderMessageRule -UserId $userId -MailFolderId $mailFolderId ``` +This example shows how to use the Get-MgUserMailFolderMessageRule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md index b455cd8075f..7b601cc96f2 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMessage.md @@ -1,30 +1,40 @@ -### Example 1 +### Example 1: Using the Get-MgUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessage -UserId $userId -MessageId $messageId ``` -### Example 2 +This example shows how to use the Get-MgUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessage -UserId $userId -MessageId $messageId -Property "internetMessageHeaders" ``` -### Example 3 +This example shows how to use the Get-MgUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessage -UserId $userId -MessageId $messageId -Property "subject,body,bodyPreview,uniqueBody" ``` -### Example 4 +This example shows how to use the Get-MgUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessage -UserId $userId -MessageId $messageId ``` -### Example 5 +This example shows how to use the Get-MgUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the Get-MgUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessage -UserId $userId -Property "sender,subject" ``` +This example shows how to use the Get-MgUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMessageAttachment.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMessageAttachment.md index 6d071fe7e45..c1854a1f118 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMessageAttachment.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMessageAttachment.md @@ -1,42 +1,56 @@ -### Example 1 +### Example 1: Using the Get-MgUserMessageAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId ``` -### Example 2 +This example shows how to use the Get-MgUserMessageAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserMessageAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId -ExpandProperty "microsoft.graph.itemattachment/item" ``` -### Example 3 +This example shows how to use the Get-MgUserMessageAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgUserMessageAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId -ExpandProperty "microsoft.graph.itemattachment/item" ``` -### Example 4 +This example shows how to use the Get-MgUserMessageAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgUserMessageAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId ``` -### Example 5 +This example shows how to use the Get-MgUserMessageAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the Get-MgUserMessageAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId ``` -### Example 6 +This example shows how to use the Get-MgUserMessageAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 6: Using the Get-MgUserMessageAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId -AttachmentId $attachmentId ``` -### Example 7 +This example shows how to use the Get-MgUserMessageAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 7: Using the Get-MgUserMessageAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageAttachment -UserId $userId -MessageId $messageId ``` +This example shows how to use the Get-MgUserMessageAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Get-MgUserMessageExtension.md b/src/Mail/Mail/examples/v1.0/Get-MgUserMessageExtension.md index 6836e4f401d..1e5c230c748 100644 --- a/src/Mail/Mail/examples/v1.0/Get-MgUserMessageExtension.md +++ b/src/Mail/Mail/examples/v1.0/Get-MgUserMessageExtension.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserMessageExtension Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Get-MgUserMessageExtension -UserId $userId -MessageId $messageId -ExtensionId $extensionId ``` +This example shows how to use the Get-MgUserMessageExtension Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserInferenceClassificationOverride.md b/src/Mail/Mail/examples/v1.0/New-MgUserInferenceClassificationOverride.md index 83dbd1bc536..f7f8599f03f 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserInferenceClassificationOverride.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserInferenceClassificationOverride.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserInferenceClassificationOverride Cmdlet ```powershell Import-Module Microsoft.Graph.Mail $params = @{ @@ -11,3 +11,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserInferenceClassificationOverride -UserId $userId -BodyParameter $params ``` +This example shows how to use the New-MgUserInferenceClassificationOverride Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolder.md b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolder.md index aec85f5293a..c07c53c18a1 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolder.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolder.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserMailFolder Cmdlet ```powershell Import-Module Microsoft.Graph.Mail $params = @{ @@ -8,3 +8,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserMailFolder -UserId $userId -BodyParameter $params ``` +This example shows how to use the New-MgUserMailFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderChildFolder.md b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderChildFolder.md index 15f5e9908fd..dc8bdfe7be6 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderChildFolder.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderChildFolder.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserMailFolderChildFolder Cmdlet ```powershell Import-Module Microsoft.Graph.Mail $params = @{ @@ -8,7 +8,9 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserMailFolderChildFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgUserMailFolderChildFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgUserMailFolderChildFolder Cmdlet ```powershell Import-Module Microsoft.Graph.Mail $params = @{ @@ -23,3 +25,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserMailFolderChildFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` +This example shows how to use the New-MgUserMailFolderChildFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessage.md b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessage.md index db4b2fc3fc1..286a5444e4e 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessage.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserMailFolderMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Mail $params = @{ @@ -15,3 +15,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserMailFolderMessage -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` +This example shows how to use the New-MgUserMailFolderMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessageRule.md b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessageRule.md index f325d4339de..9665ec34a31 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessageRule.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMailFolderMessageRule.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserMailFolderMessageRule Cmdlet ```powershell Import-Module Microsoft.Graph.Mail $params = @{ @@ -25,3 +25,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserMailFolderMessageRule -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` +This example shows how to use the New-MgUserMailFolderMessageRule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMessage.md b/src/Mail/Mail/examples/v1.0/New-MgUserMessage.md index 1f69077c702..dff97c550a1 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMessage.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMessage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Mail $params = @{ @@ -19,7 +19,9 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserMessage -UserId $userId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Mail $params = @{ @@ -49,3 +51,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserMessage -UserId $userId -BodyParameter $params ``` +This example shows how to use the New-MgUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/New-MgUserMessageAttachment.md b/src/Mail/Mail/examples/v1.0/New-MgUserMessageAttachment.md index 9646a505a5f..f50fc1006ad 100644 --- a/src/Mail/Mail/examples/v1.0/New-MgUserMessageAttachment.md +++ b/src/Mail/Mail/examples/v1.0/New-MgUserMessageAttachment.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserMessageAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Mail $params = @{ @@ -12,7 +12,9 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserMessageAttachment -UserId $userId -MessageId $messageId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgUserMessageAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgUserMessageAttachment Cmdlet ```powershell Import-Module Microsoft.Graph.Mail $params = @{ @@ -23,3 +25,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserMessageAttachment -UserId $userId -MessageId $messageId -BodyParameter $params ``` +This example shows how to use the New-MgUserMessageAttachment Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserInferenceClassificationOverride.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserInferenceClassificationOverride.md index 0a334e715ef..6be2a44bbba 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserInferenceClassificationOverride.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserInferenceClassificationOverride.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserInferenceClassificationOverride Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserInferenceClassificationOverride -UserId $userId -InferenceClassificationOverrideId $inferenceClassificationOverrideId ``` +This example shows how to use the Remove-MgUserInferenceClassificationOverride Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolder.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolder.md index 589b783a4d4..4d4e4d75664 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolder.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolder.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserMailFolder Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId ``` +This example shows how to use the Remove-MgUserMailFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolderMessageRule.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolderMessageRule.md index 360c5d39f98..5580bf0cae1 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolderMessageRule.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserMailFolderMessageRule.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserMailFolderMessageRule Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserMailFolderMessageRule -UserId $userId -MailFolderId $mailFolderId -MessageRuleId $messageRuleId ``` +This example shows how to use the Remove-MgUserMailFolderMessageRule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserMessage.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserMessage.md index c4751b3bb57..19137c5c0b4 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserMessage.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserMessage.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Remove-MgUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserMessage -UserId $userId -MessageId $messageId ``` -### Example 2 +This example shows how to use the Remove-MgUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Remove-MgUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserMessage -UserId $userId -MessageId $messageId ``` +This example shows how to use the Remove-MgUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Remove-MgUserMessageExtension.md b/src/Mail/Mail/examples/v1.0/Remove-MgUserMessageExtension.md index 0eb829dadc9..0e59fe62b40 100644 --- a/src/Mail/Mail/examples/v1.0/Remove-MgUserMessageExtension.md +++ b/src/Mail/Mail/examples/v1.0/Remove-MgUserMessageExtension.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserMessageExtension Cmdlet ```powershell Import-Module Microsoft.Graph.Mail # A UPN can also be used as -UserId. Remove-MgUserMessageExtension -UserId $userId -MessageId $messageId -ExtensionId $extensionId ``` +This example shows how to use the Remove-MgUserMessageExtension Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Update-MgUserInferenceClassificationOverride.md b/src/Mail/Mail/examples/v1.0/Update-MgUserInferenceClassificationOverride.md index 96ab1b42c8f..3d86ddb676b 100644 --- a/src/Mail/Mail/examples/v1.0/Update-MgUserInferenceClassificationOverride.md +++ b/src/Mail/Mail/examples/v1.0/Update-MgUserInferenceClassificationOverride.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserInferenceClassificationOverride Cmdlet ```powershell Import-Module Microsoft.Graph.Mail $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserInferenceClassificationOverride -UserId $userId -InferenceClassificationOverrideId $inferenceClassificationOverrideId -BodyParameter $params ``` +This example shows how to use the Update-MgUserInferenceClassificationOverride Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolder.md b/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolder.md index bcbf2f8bfe6..037e7b990a3 100644 --- a/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolder.md +++ b/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolder.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserMailFolder Cmdlet ```powershell Import-Module Microsoft.Graph.Mail $params = @{ @@ -7,7 +7,9 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Update-MgUserMailFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Update-MgUserMailFolder Cmdlet ```powershell Import-Module Microsoft.Graph.Mail $params = @{ @@ -17,3 +19,5 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` +This example shows how to use the Update-MgUserMailFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolderMessageRule.md b/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolderMessageRule.md index 1fec0c700db..1892488eb31 100644 --- a/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolderMessageRule.md +++ b/src/Mail/Mail/examples/v1.0/Update-MgUserMailFolderMessageRule.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserMailFolderMessageRule Cmdlet ```powershell Import-Module Microsoft.Graph.Mail $params = @{ @@ -10,3 +10,5 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserMailFolderMessageRule -UserId $userId -MailFolderId $mailFolderId -MessageRuleId $messageRuleId -BodyParameter $params ``` +This example shows how to use the Update-MgUserMailFolderMessageRule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Mail/Mail/examples/v1.0/Update-MgUserMessage.md b/src/Mail/Mail/examples/v1.0/Update-MgUserMessage.md index 10e184c9799..d2199b93c99 100644 --- a/src/Mail/Mail/examples/v1.0/Update-MgUserMessage.md +++ b/src/Mail/Mail/examples/v1.0/Update-MgUserMessage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Mail $params = @{ @@ -7,7 +7,9 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Update-MgUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Update-MgUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Mail $params = @{ @@ -21,3 +23,5 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params ``` +This example shows how to use the Update-MgUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebook.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebook.md index 99c91bff4b8..cf630807ed8 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebook.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebook.md @@ -1,18 +1,24 @@ -### Example 1 +### Example 1: Using the Get-MgUserOnenoteNotebook Cmdlet ```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteNotebook -UserId $userId -NotebookId $notebookId ``` -### Example 2 +This example shows how to use the Get-MgUserOnenoteNotebook Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserOnenoteNotebook Cmdlet ```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteNotebook -UserId $userId ``` -### Example 3 +This example shows how to use the Get-MgUserOnenoteNotebook Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgUserOnenoteNotebook Cmdlet ```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteNotebook -UserId $userId -NotebookId $notebookId ``` +This example shows how to use the Get-MgUserOnenoteNotebook Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSection.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSection.md index dd1d412cb27..5e24f9cb2ac 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSection.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSection.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserOnenoteNotebookSection Cmdlet ```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteNotebookSection -UserId $userId -NotebookId $notebookId ``` +This example shows how to use the Get-MgUserOnenoteNotebookSection Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSectionGroup.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSectionGroup.md index ceff548e6a9..2b4e4da71f2 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSectionGroup.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteNotebookSectionGroup.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserOnenoteNotebookSectionGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteNotebookSectionGroup -UserId $userId -NotebookId $notebookId ``` +This example shows how to use the Get-MgUserOnenoteNotebookSectionGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteOperation.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteOperation.md index b65550c1f0f..d43d2d8d0e2 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteOperation.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteOperation.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserOnenoteOperation Cmdlet ```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteOperation -UserId $userId -OnenoteOperationId $onenoteOperationId ``` +This example shows how to use the Get-MgUserOnenoteOperation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSection.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSection.md index 2b54f582860..83d92648f54 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSection.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSection.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserOnenoteSection Cmdlet ```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteSection -UserId $userId -OnenoteSectionId $onenoteSectionId ``` -### Example 2 +This example shows how to use the Get-MgUserOnenoteSection Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserOnenoteSection Cmdlet ```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteSection -UserId $userId ``` +This example shows how to use the Get-MgUserOnenoteSection Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroup.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroup.md index 19b8a8c6c67..2aeedfa816e 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroup.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroup.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserOnenoteSectionGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteSectionGroup -UserId $userId ``` +This example shows how to use the Get-MgUserOnenoteSectionGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroupSection.md b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroupSection.md index db07955a518..a234de3df29 100644 --- a/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroupSection.md +++ b/src/Notes/Notes/examples/v1.0/Get-MgUserOnenoteSectionGroupSection.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserOnenoteSectionGroupSection Cmdlet ```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Get-MgUserOnenoteSectionGroupSection -UserId $userId -SectionGroupId $sectionGroupId ``` +This example shows how to use the Get-MgUserOnenoteSectionGroupSection Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebook.md b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebook.md index 6fa7d7c84f6..36192b3b5fd 100644 --- a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebook.md +++ b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebook.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserOnenoteNotebook Cmdlet ```powershell Import-Module Microsoft.Graph.Notes $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserOnenoteNotebook -UserId $userId -BodyParameter $params ``` +This example shows how to use the New-MgUserOnenoteNotebook Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSection.md b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSection.md index 303950047de..838fd4d5258 100644 --- a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSection.md +++ b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSection.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserOnenoteNotebookSection Cmdlet ```powershell Import-Module Microsoft.Graph.Notes $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserOnenoteNotebookSection -UserId $userId -NotebookId $notebookId -BodyParameter $params ``` +This example shows how to use the New-MgUserOnenoteNotebookSection Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSectionGroup.md b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSectionGroup.md index 69733e7ceb7..8fe88b33041 100644 --- a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSectionGroup.md +++ b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteNotebookSectionGroup.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserOnenoteNotebookSectionGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Notes $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserOnenoteNotebookSectionGroup -UserId $userId -NotebookId $notebookId -BodyParameter $params ``` +This example shows how to use the New-MgUserOnenoteNotebookSectionGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteSectionGroupSection.md b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteSectionGroupSection.md index b106f9b3fe9..d481eb0fae0 100644 --- a/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteSectionGroupSection.md +++ b/src/Notes/Notes/examples/v1.0/New-MgUserOnenoteSectionGroupSection.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserOnenoteSectionGroupSection Cmdlet ```powershell Import-Module Microsoft.Graph.Notes $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserOnenoteSectionGroupSection -UserId $userId -SectionGroupId $sectionGroupId -BodyParameter $params ``` +This example shows how to use the New-MgUserOnenoteSectionGroupSection Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Notes/Notes/examples/v1.0/Remove-MgUserOnenotePage.md b/src/Notes/Notes/examples/v1.0/Remove-MgUserOnenotePage.md index 38180c8b3fa..8f9927ca2f5 100644 --- a/src/Notes/Notes/examples/v1.0/Remove-MgUserOnenotePage.md +++ b/src/Notes/Notes/examples/v1.0/Remove-MgUserOnenotePage.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserOnenotePage Cmdlet ```powershell Import-Module Microsoft.Graph.Notes # A UPN can also be used as -UserId. Remove-MgUserOnenotePage -UserId $userId -OnenotePageId $onenotePageId ``` +This example shows how to use the Remove-MgUserOnenotePage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/People/People/examples/v1.0/Get-MgUserPerson.md b/src/People/People/examples/v1.0/Get-MgUserPerson.md index 7de9339cb8c..7482d458910 100644 --- a/src/People/People/examples/v1.0/Get-MgUserPerson.md +++ b/src/People/People/examples/v1.0/Get-MgUserPerson.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserPerson Cmdlet ```powershell Import-Module Microsoft.Graph.People # A UPN can also be used as -UserId. Get-MgUserPerson -UserId $userId ``` +This example shows how to use the Get-MgUserPerson Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/People/People/examples/v1.0/Get-MgUserUsedInsight.md b/src/People/People/examples/v1.0/Get-MgUserUsedInsight.md index 2734f0d0630..2873a6e603a 100644 --- a/src/People/People/examples/v1.0/Get-MgUserUsedInsight.md +++ b/src/People/People/examples/v1.0/Get-MgUserUsedInsight.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserUsedInsight Cmdlet ```powershell Import-Module Microsoft.Graph.People # A UPN can also be used as -UserId. Get-MgUserUsedInsight -UserId $userId -Sort "LastUsed/LastAccessedDateTime desc" ``` -### Example 2 +This example shows how to use the Get-MgUserUsedInsight Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserUsedInsight Cmdlet ```powershell Import-Module Microsoft.Graph.People # A UPN can also be used as -UserId. Get-MgUserUsedInsight -UserId $userId ``` +This example shows how to use the Get-MgUserUsedInsight Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContact.md index 8bbcb5cf72e..badbf3883ab 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContact.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserContact Cmdlet ```powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContact -UserId $userId -ContactId $contactId ``` -### Example 2 +This example shows how to use the Get-MgUserContact Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserContact Cmdlet ```powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContact -UserId $userId ``` +This example shows how to use the Get-MgUserContact Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolder.md index 6b3a0528aa8..ae1d35eb409 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolder.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserContactFolder Cmdlet ```powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContactFolder -UserId $userId -ContactFolderId $contactFolderId ``` -### Example 2 +This example shows how to use the Get-MgUserContactFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserContactFolder Cmdlet ```powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContactFolder -UserId $userId ``` +This example shows how to use the Get-MgUserContactFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderChildFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderChildFolder.md index 2986883153c..a7c97b92d52 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderChildFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderChildFolder.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserContactFolderChildFolder Cmdlet ```powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContactFolderChildFolder -UserId $userId -ContactFolderId $contactFolderId ``` +This example shows how to use the Get-MgUserContactFolderChildFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderContact.md index bfa8b0d531d..2ca82b13bc5 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Get-MgUserContactFolderContact.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserContactFolderContact Cmdlet ```powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Get-MgUserContactFolderContact -UserId $userId -ContactFolderId $contactFolderId ``` +This example shows how to use the Get-MgUserContactFolderContact Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContact.md index e4b155d2590..76d888d29c9 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContact.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserContact Cmdlet ```powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ @@ -17,3 +17,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserContact -UserId $userId -BodyParameter $params ``` +This example shows how to use the New-MgUserContact Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolder.md index 2aa943b1c23..4f7b487fed6 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolder.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserContactFolder Cmdlet ```powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ @@ -8,3 +8,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserContactFolder -UserId $userId -BodyParameter $params ``` +This example shows how to use the New-MgUserContactFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderChildFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderChildFolder.md index da7f5bd83f7..9fee34e1685 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderChildFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderChildFolder.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserContactFolderChildFolder Cmdlet ```powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserContactFolderChildFolder -UserId $userId -ContactFolderId $contactFolderId -BodyParameter $params ``` +This example shows how to use the New-MgUserContactFolderChildFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderContact.md index ebfcacef34a..86615c2292f 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/New-MgUserContactFolderContact.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserContactFolderContact Cmdlet ```powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ @@ -12,3 +12,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserContactFolderContact -UserId $userId -ContactFolderId $contactFolderId -BodyParameter $params ``` +This example shows how to use the New-MgUserContactFolderContact Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContact.md index 3e8b3ca1804..2cfe18df0c1 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContact.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserContact Cmdlet ```powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Remove-MgUserContact -UserId $userId -ContactId $contactId ``` +This example shows how to use the Remove-MgUserContact Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContactFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContactFolder.md index af28c84d221..44f4ebfd984 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContactFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Remove-MgUserContactFolder.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserContactFolder Cmdlet ```powershell Import-Module Microsoft.Graph.PersonalContacts # A UPN can also be used as -UserId. Remove-MgUserContactFolder -UserId $userId -ContactFolderId $contactFolderId ``` +This example shows how to use the Remove-MgUserContactFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContact.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContact.md index 0b9480b25fb..3c1721011a0 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContact.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContact.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserContact Cmdlet ```powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ @@ -13,3 +13,5 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserContact -UserId $userId -ContactId $contactId -BodyParameter $params ``` +This example shows how to use the Update-MgUserContact Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContactFolder.md b/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContactFolder.md index 19e76238c5b..ea993d87800 100644 --- a/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContactFolder.md +++ b/src/PersonalContacts/PersonalContacts/examples/v1.0/Update-MgUserContactFolder.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserContactFolder Cmdlet ```powershell Import-Module Microsoft.Graph.PersonalContacts $params = @{ @@ -8,3 +8,5 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserContactFolder -UserId $userId -ContactFolderId $contactFolderId -BodyParameter $params ``` +This example shows how to use the Update-MgUserContactFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Get-MgGroupPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Get-MgGroupPlannerPlan.md index 22dd6e3d15b..25eb954e105 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgGroupPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgGroupPlannerPlan.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgGroupPlannerPlan Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Get-MgGroupPlannerPlan -GroupId $groupId ``` +This example shows how to use the Get-MgGroupPlannerPlan Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlanner.md b/src/Planner/Planner/examples/v1.0/Get-MgPlanner.md index 713ee09ed31..5e88ba0e8a2 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlanner.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlanner.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPlanner Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Get-MgPlanner ``` +This example shows how to use the Get-MgPlanner Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucket.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucket.md index 53660263266..527e0665d1a 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucket.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucket.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPlannerBucket Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerBucket ``` -### Example 2 +This example shows how to use the Get-MgPlannerBucket Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPlannerBucket Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerBucket -PlannerBucketId $plannerBucketId ``` +This example shows how to use the Get-MgPlannerBucket Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucketTask.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucketTask.md index 982a483bdaa..7428815cc14 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucketTask.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerBucketTask.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPlannerBucketTask Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerBucketTask -PlannerBucketId $plannerBucketId ``` +This example shows how to use the Get-MgPlannerBucketTask Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlan.md index c9b54db0db3..c85fd490932 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlan.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPlannerPlan Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerPlan -PlannerPlanId $plannerPlanId ``` -### Example 2 +This example shows how to use the Get-MgPlannerPlan Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPlannerPlan Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerPlan ``` +This example shows how to use the Get-MgPlannerPlan Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanBucket.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanBucket.md index 1a3b8da4e1f..8c5cd966d3b 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanBucket.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanBucket.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPlannerPlanBucket Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerPlanBucket -PlannerPlanId $plannerPlanId ``` +This example shows how to use the Get-MgPlannerPlanBucket Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanDetail.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanDetail.md index fffbbfc3237..3ef38714af1 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanDetail.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanDetail.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPlannerPlanDetail Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerPlanDetail -PlannerPlanId $plannerPlanId ``` +This example shows how to use the Get-MgPlannerPlanDetail Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanTask.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanTask.md index 3b9f65432bc..6f9debbe198 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanTask.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerPlanTask.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPlannerPlanTask Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerPlanTask -PlannerPlanId $plannerPlanId ``` +This example shows how to use the Get-MgPlannerPlanTask Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTask.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTask.md index 0a1a591f7b9..b77b84390d9 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTask.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgPlannerTask Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTask -PlannerTaskId $plannerTaskId ``` -### Example 2 +This example shows how to use the Get-MgPlannerTask Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgPlannerTask Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTask ``` +This example shows how to use the Get-MgPlannerTask Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskAssignedToTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskAssignedToTaskBoardFormat.md index d2ea0ebcf04..9c5f0fea3bc 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskAssignedToTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskAssignedToTaskBoardFormat.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPlannerTaskAssignedToTaskBoardFormat Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTaskAssignedToTaskBoardFormat -PlannerTaskId $plannerTaskId ``` +This example shows how to use the Get-MgPlannerTaskAssignedToTaskBoardFormat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskBucketTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskBucketTaskBoardFormat.md index ea7a4414202..33d6a38f832 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskBucketTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskBucketTaskBoardFormat.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPlannerTaskBucketTaskBoardFormat Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTaskBucketTaskBoardFormat -PlannerTaskId $plannerTaskId ``` +This example shows how to use the Get-MgPlannerTaskBucketTaskBoardFormat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskDetail.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskDetail.md index 36d4e1300d4..3723f3299b1 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskDetail.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskDetail.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPlannerTaskDetail Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTaskDetail -PlannerTaskId $plannerTaskId ``` +This example shows how to use the Get-MgPlannerTaskDetail Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskProgressTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskProgressTaskBoardFormat.md index 73ee527ce92..a8925d1e73b 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskProgressTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgPlannerTaskProgressTaskBoardFormat.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgPlannerTaskProgressTaskBoardFormat Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Get-MgPlannerTaskProgressTaskBoardFormat -PlannerTaskId $plannerTaskId ``` +This example shows how to use the Get-MgPlannerTaskProgressTaskBoardFormat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerPlan.md index 593d898cf9e..9bdde25910d 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerPlan.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserPlannerPlan Cmdlet ```powershell Import-Module Microsoft.Graph.Planner # A UPN can also be used as -UserId. Get-MgUserPlannerPlan -UserId $userId ``` +This example shows how to use the Get-MgUserPlannerPlan Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerTask.md b/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerTask.md index 66e8fdf6400..4a3c8888dca 100644 --- a/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/Get-MgUserPlannerTask.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserPlannerTask Cmdlet ```powershell Import-Module Microsoft.Graph.Planner # A UPN can also be used as -UserId. Get-MgUserPlannerTask -UserId $userId ``` +This example shows how to use the Get-MgUserPlannerTask Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/New-MgPlannerBucket.md b/src/Planner/Planner/examples/v1.0/New-MgPlannerBucket.md index ab2eabd4283..92e6b457ff3 100644 --- a/src/Planner/Planner/examples/v1.0/New-MgPlannerBucket.md +++ b/src/Planner/Planner/examples/v1.0/New-MgPlannerBucket.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPlannerBucket Cmdlet ```powershell Import-Module Microsoft.Graph.Planner $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgPlannerBucket -BodyParameter $params ``` +This example shows how to use the New-MgPlannerBucket Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/New-MgPlannerPlan.md b/src/Planner/Planner/examples/v1.0/New-MgPlannerPlan.md index 3a20581ad83..d4a02df2e39 100644 --- a/src/Planner/Planner/examples/v1.0/New-MgPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/New-MgPlannerPlan.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPlannerPlan Cmdlet ```powershell Import-Module Microsoft.Graph.Planner $params = @{ @@ -7,3 +7,5 @@ $params = @{ } New-MgPlannerPlan -BodyParameter $params ``` +This example shows how to use the New-MgPlannerPlan Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/New-MgPlannerTask.md b/src/Planner/Planner/examples/v1.0/New-MgPlannerTask.md index 881cc621916..3cf42b6362b 100644 --- a/src/Planner/Planner/examples/v1.0/New-MgPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/New-MgPlannerTask.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgPlannerTask Cmdlet ```powershell Import-Module Microsoft.Graph.Planner $params = @{ @@ -14,3 +14,5 @@ $params = @{ } New-MgPlannerTask -BodyParameter $params ``` +This example shows how to use the New-MgPlannerTask Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerBucket.md b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerBucket.md index cefe18482ae..ef48c848a6f 100644 --- a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerBucket.md +++ b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerBucket.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPlannerBucket Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Remove-MgPlannerBucket -PlannerBucketId $plannerBucketId-If-Match W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc=" ``` +This example shows how to use the Remove-MgPlannerBucket Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerPlan.md index 0c78ca23263..68a7b2eea17 100644 --- a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerPlan.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPlannerPlan Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Remove-MgPlannerPlan -PlannerPlanId $plannerPlanId-If-Match W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc=" ``` +This example shows how to use the Remove-MgPlannerPlan Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerTask.md b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerTask.md index c8c6064fddc..bbeb881e87c 100644 --- a/src/Planner/Planner/examples/v1.0/Remove-MgPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/Remove-MgPlannerTask.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgPlannerTask Cmdlet ```powershell Import-Module Microsoft.Graph.Planner Remove-MgPlannerTask -PlannerTaskId $plannerTaskId-If-Match W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc=" ``` +This example shows how to use the Remove-MgPlannerTask Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerBucket.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerBucket.md index 4cdc762db8c..3ed2845eac4 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerBucket.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerBucket.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPlannerBucket Cmdlet ```powershell Import-Module Microsoft.Graph.Planner $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgPlannerBucket -PlannerBucketId $plannerBucketId -BodyParameter $params ``` +This example shows how to use the Update-MgPlannerBucket Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlan.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlan.md index 5eb99c5578c..f85255752f9 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlan.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlan.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPlannerPlan Cmdlet ```powershell Import-Module Microsoft.Graph.Planner $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgPlannerPlan -PlannerPlanId $plannerPlanId -BodyParameter $params ``` +This example shows how to use the Update-MgPlannerPlan Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlanDetail.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlanDetail.md index 83e46acfe38..7e24eb55fd6 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlanDetail.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerPlanDetail.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPlannerPlanDetail Cmdlet ```powershell Import-Module Microsoft.Graph.Planner $params = @{ @@ -13,3 +13,5 @@ $params = @{ } Update-MgPlannerPlanDetail -PlannerPlanId $plannerPlanId -BodyParameter $params ``` +This example shows how to use the Update-MgPlannerPlanDetail Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTask.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTask.md index 19d5f5975cd..d6f22d3562a 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTask.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTask.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPlannerTask Cmdlet ```powershell Import-Module Microsoft.Graph.Planner $params = @{ @@ -15,3 +15,5 @@ $params = @{ } Update-MgPlannerTask -PlannerTaskId $plannerTaskId -BodyParameter $params ``` +This example shows how to use the Update-MgPlannerTask Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskAssignedToTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskAssignedToTaskBoardFormat.md index 5c40826904a..59425a6026f 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskAssignedToTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskAssignedToTaskBoardFormat.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPlannerTaskAssignedToTaskBoardFormat Cmdlet ```powershell Import-Module Microsoft.Graph.Planner $params = @{ @@ -8,3 +8,5 @@ $params = @{ } Update-MgPlannerTaskAssignedToTaskBoardFormat -PlannerTaskId $plannerTaskId -BodyParameter $params ``` +This example shows how to use the Update-MgPlannerTaskAssignedToTaskBoardFormat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskBucketTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskBucketTaskBoardFormat.md index dd7237a1ffa..b94eeb1278a 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskBucketTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskBucketTaskBoardFormat.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPlannerTaskBucketTaskBoardFormat Cmdlet ```powershell Import-Module Microsoft.Graph.Planner $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgPlannerTaskBucketTaskBoardFormat -PlannerTaskId $plannerTaskId -BodyParameter $params ``` +This example shows how to use the Update-MgPlannerTaskBucketTaskBoardFormat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskDetail.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskDetail.md index 0b46afa4008..d16d0bc58c5 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskDetail.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskDetail.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPlannerTaskDetail Cmdlet ```powershell Import-Module Microsoft.Graph.Planner $params = @{ @@ -31,3 +31,5 @@ $params = @{ } Update-MgPlannerTaskDetail -PlannerTaskId $plannerTaskId -BodyParameter $params ``` +This example shows how to use the Update-MgPlannerTaskDetail Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskProgressTaskBoardFormat.md b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskProgressTaskBoardFormat.md index 6c347812d4a..4a456eeb232 100644 --- a/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskProgressTaskBoardFormat.md +++ b/src/Planner/Planner/examples/v1.0/Update-MgPlannerTaskProgressTaskBoardFormat.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgPlannerTaskProgressTaskBoardFormat Cmdlet ```powershell Import-Module Microsoft.Graph.Planner $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgPlannerTaskProgressTaskBoardFormat -PlannerTaskId $plannerTaskId -BodyParameter $params ``` +This example shows how to use the Update-MgPlannerTaskProgressTaskBoardFormat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogDirectoryAudit.md b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogDirectoryAudit.md index 0d8bd19e69b..475994ea767 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogDirectoryAudit.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogDirectoryAudit.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgAuditLogDirectoryAudit Cmdlet ```powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogDirectoryAudit -DirectoryAuditId $directoryAuditId ``` -### Example 2 +This example shows how to use the Get-MgAuditLogDirectoryAudit Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgAuditLogDirectoryAudit Cmdlet ```powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogDirectoryAudit ``` +This example shows how to use the Get-MgAuditLogDirectoryAudit Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogProvisioning.md b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogProvisioning.md index 520dd00faeb..976e96bb3c1 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogProvisioning.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogProvisioning.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgAuditLogProvisioning Cmdlet ```powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogProvisioning ``` -### Example 2 +This example shows how to use the Get-MgAuditLogProvisioning Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgAuditLogProvisioning Cmdlet ```powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogProvisioning ``` +This example shows how to use the Get-MgAuditLogProvisioning Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogSignIn.md b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogSignIn.md index 751b8f46b16..6e6ffdfd8df 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgAuditLogSignIn.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgAuditLogSignIn.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgAuditLogSignIn Cmdlet ```powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogSignIn -SignInId $signInId ``` -### Example 2 +This example shows how to use the Get-MgAuditLogSignIn Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgAuditLogSignIn Cmdlet ```powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogSignIn -Filter "startsWith(appDisplayName,'Graph')" -Top 10 ``` -### Example 3 +This example shows how to use the Get-MgAuditLogSignIn Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgAuditLogSignIn Cmdlet ```powershell Import-Module Microsoft.Graph.Reports Get-MgAuditLogSignIn ``` +This example shows how to use the Get-MgAuditLogSignIn Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByPrinter.md b/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByPrinter.md index c5ba5fa586d..38e18d2a5ee 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByPrinter.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByPrinter.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgReportDailyPrintUsageByPrinter Cmdlet ```powershell Import-Module Microsoft.Graph.Reports Get-MgReportDailyPrintUsageByPrinter -PrintUsageByPrinterId $printUsageByPrinterId ``` -### Example 2 +This example shows how to use the Get-MgReportDailyPrintUsageByPrinter Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgReportDailyPrintUsageByPrinter Cmdlet ```powershell Import-Module Microsoft.Graph.Reports Get-MgReportDailyPrintUsageByPrinter ``` +This example shows how to use the Get-MgReportDailyPrintUsageByPrinter Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByUser.md b/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByUser.md index 0ae385cc5f1..0bbe5bd12c8 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByUser.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgReportDailyPrintUsageByUser.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgReportDailyPrintUsageByUser Cmdlet ```powershell Import-Module Microsoft.Graph.Reports Get-MgReportDailyPrintUsageByUser -PrintUsageByUserId $printUsageByUserId ``` -### Example 2 +This example shows how to use the Get-MgReportDailyPrintUsageByUser Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgReportDailyPrintUsageByUser Cmdlet ```powershell Import-Module Microsoft.Graph.Reports Get-MgReportDailyPrintUsageByUser ``` +This example shows how to use the Get-MgReportDailyPrintUsageByUser Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByPrinter.md b/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByPrinter.md index f19f605f27c..9a5e0224bd5 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByPrinter.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByPrinter.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgReportMonthlyPrintUsageByPrinter Cmdlet ```powershell Import-Module Microsoft.Graph.Reports Get-MgReportMonthlyPrintUsageByPrinter ``` +This example shows how to use the Get-MgReportMonthlyPrintUsageByPrinter Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByUser.md b/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByUser.md index 2e4165d3f4d..bf4e7d533ca 100644 --- a/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByUser.md +++ b/src/Reports/Reports/examples/v1.0/Get-MgReportMonthlyPrintUsageByUser.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgReportMonthlyPrintUsageByUser Cmdlet ```powershell Import-Module Microsoft.Graph.Reports Get-MgReportMonthlyPrintUsageByUser ``` +This example shows how to use the Get-MgReportMonthlyPrintUsageByUser Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Get-MgSchemaExtension.md b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Get-MgSchemaExtension.md index 60e80f05d4b..463677ebfe3 100644 --- a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Get-MgSchemaExtension.md +++ b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Get-MgSchemaExtension.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSchemaExtension Cmdlet ```powershell Import-Module Microsoft.Graph.SchemaExtensions Get-MgSchemaExtension -SchemaExtensionId $schemaExtensionId ``` -### Example 2 +This example shows how to use the Get-MgSchemaExtension Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSchemaExtension Cmdlet ```powershell Import-Module Microsoft.Graph.SchemaExtensions Get-MgSchemaExtension -Filter "id eq 'graphlearn_test'" ``` +This example shows how to use the Get-MgSchemaExtension Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/New-MgSchemaExtension.md b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/New-MgSchemaExtension.md index 8ee08f44815..369d52f1ca4 100644 --- a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/New-MgSchemaExtension.md +++ b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/New-MgSchemaExtension.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSchemaExtension Cmdlet ```powershell Import-Module Microsoft.Graph.SchemaExtensions $params = @{ @@ -24,7 +24,9 @@ $params = @{ } New-MgSchemaExtension -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgSchemaExtension Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgSchemaExtension Cmdlet ```powershell Import-Module Microsoft.Graph.SchemaExtensions $params = @{ @@ -50,7 +52,9 @@ $params = @{ } New-MgSchemaExtension -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgSchemaExtension Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgSchemaExtension Cmdlet ```powershell Import-Module Microsoft.Graph.SchemaExtensions $params = @{ @@ -77,3 +81,5 @@ $params = @{ } New-MgSchemaExtension -BodyParameter $params ``` +This example shows how to use the New-MgSchemaExtension Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Remove-MgSchemaExtension.md b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Remove-MgSchemaExtension.md index 78b5b2dbd2f..5fbf9f8da95 100644 --- a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Remove-MgSchemaExtension.md +++ b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Remove-MgSchemaExtension.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgSchemaExtension Cmdlet ```powershell Import-Module Microsoft.Graph.SchemaExtensions Remove-MgSchemaExtension -SchemaExtensionId $schemaExtensionId ``` +This example shows how to use the Remove-MgSchemaExtension Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Update-MgSchemaExtension.md b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Update-MgSchemaExtension.md index f78257ff2dc..961a8eb0e44 100644 --- a/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Update-MgSchemaExtension.md +++ b/src/SchemaExtensions/SchemaExtensions/examples/v1.0/Update-MgSchemaExtension.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgSchemaExtension Cmdlet ```powershell Import-Module Microsoft.Graph.SchemaExtensions $params = @{ @@ -24,7 +24,9 @@ $params = @{ } Update-MgSchemaExtension -SchemaExtensionId $schemaExtensionId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Update-MgSchemaExtension Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Update-MgSchemaExtension Cmdlet ```powershell Import-Module Microsoft.Graph.SchemaExtensions $params = @{ @@ -50,3 +52,5 @@ $params = @{ } Update-MgSchemaExtension -SchemaExtensionId $schemaExtensionId -BodyParameter $params ``` +This example shows how to use the Update-MgSchemaExtension Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnection.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnection.md index b90e294d292..1ed6e2eb7e7 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnection.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnection.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgExternalConnection Cmdlet ```powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnection -ExternalConnectionId $externalConnectionId ``` -### Example 2 +This example shows how to use the Get-MgExternalConnection Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgExternalConnection Cmdlet ```powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnection ``` +This example shows how to use the Get-MgExternalConnection Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionGroup.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionGroup.md index 625d0f8fa88..f60b7dde06c 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionGroup.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionGroup.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgExternalConnectionGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnectionGroup -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId ``` +This example shows how to use the Get-MgExternalConnectionGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionItem.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionItem.md index ccab4044713..b3620a72024 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionItem.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionItem.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgExternalConnectionItem Cmdlet ```powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnectionItem -ExternalConnectionId $externalConnectionId -ExternalItemId $externalItemId ``` +This example shows how to use the Get-MgExternalConnectionItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionOperation.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionOperation.md index 0ea7547c811..8e09194b1fe 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionOperation.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionOperation.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgExternalConnectionOperation Cmdlet ```powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnectionOperation -ExternalConnectionId $externalConnectionId -ConnectionOperationId $connectionOperationId ``` +This example shows how to use the Get-MgExternalConnectionOperation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionSchema.md b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionSchema.md index e09659af1e8..66d1dc5d0aa 100644 --- a/src/Search/Search/examples/v1.0/Get-MgExternalConnectionSchema.md +++ b/src/Search/Search/examples/v1.0/Get-MgExternalConnectionSchema.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgExternalConnectionSchema Cmdlet ```powershell Import-Module Microsoft.Graph.Search Get-MgExternalConnectionSchema -ExternalConnectionId $externalConnectionId ``` +This example shows how to use the Get-MgExternalConnectionSchema Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Search/Search/examples/v1.0/New-MgExternalConnection.md b/src/Search/Search/examples/v1.0/New-MgExternalConnection.md index 773972673ed..a0247c4c1d9 100644 --- a/src/Search/Search/examples/v1.0/New-MgExternalConnection.md +++ b/src/Search/Search/examples/v1.0/New-MgExternalConnection.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgExternalConnection Cmdlet ```powershell Import-Module Microsoft.Graph.Search $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgExternalConnection -BodyParameter $params ``` +This example shows how to use the New-MgExternalConnection Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroup.md b/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroup.md index 3ce20940f54..2128cf13651 100644 --- a/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroup.md +++ b/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroup.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgExternalConnectionGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Search $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgExternalConnectionGroup -ExternalConnectionId $externalConnectionId -BodyParameter $params ``` +This example shows how to use the New-MgExternalConnectionGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroupMember.md b/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroupMember.md index 34d560a9d10..49bf7f2ae40 100644 --- a/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroupMember.md +++ b/src/Search/Search/examples/v1.0/New-MgExternalConnectionGroupMember.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgExternalConnectionGroupMember Cmdlet ```powershell Import-Module Microsoft.Graph.Search $params = @{ @@ -7,7 +7,9 @@ $params = @{ } New-MgExternalConnectionGroupMember -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgExternalConnectionGroupMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgExternalConnectionGroupMember Cmdlet ```powershell Import-Module Microsoft.Graph.Search $params = @{ @@ -16,7 +18,9 @@ $params = @{ } New-MgExternalConnectionGroupMember -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgExternalConnectionGroupMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgExternalConnectionGroupMember Cmdlet ```powershell Import-Module Microsoft.Graph.Search $params = @{ @@ -25,3 +29,5 @@ $params = @{ } New-MgExternalConnectionGroupMember -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId -BodyParameter $params ``` +This example shows how to use the New-MgExternalConnectionGroupMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Search/Search/examples/v1.0/Remove-MgExternalConnection.md b/src/Search/Search/examples/v1.0/Remove-MgExternalConnection.md index 37f49c496c1..8cba0fa7fa1 100644 --- a/src/Search/Search/examples/v1.0/Remove-MgExternalConnection.md +++ b/src/Search/Search/examples/v1.0/Remove-MgExternalConnection.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgExternalConnection Cmdlet ```powershell Import-Module Microsoft.Graph.Search Remove-MgExternalConnection -ExternalConnectionId $externalConnectionId ``` +This example shows how to use the Remove-MgExternalConnection Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroup.md b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroup.md index ae271f9df9c..594a7d0bcee 100644 --- a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroup.md +++ b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroup.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgExternalConnectionGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Search Remove-MgExternalConnectionGroup -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId ``` +This example shows how to use the Remove-MgExternalConnectionGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroupMember.md b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroupMember.md index f13eb1f9f5c..c7b3afefb9e 100644 --- a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroupMember.md +++ b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionGroupMember.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgExternalConnectionGroupMember Cmdlet ```powershell Import-Module Microsoft.Graph.Search Remove-MgExternalConnectionGroupMember -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId -IdentityId $identityId ``` +This example shows how to use the Remove-MgExternalConnectionGroupMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionItem.md b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionItem.md index 82927357365..42ba2ec9a58 100644 --- a/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionItem.md +++ b/src/Search/Search/examples/v1.0/Remove-MgExternalConnectionItem.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgExternalConnectionItem Cmdlet ```powershell Import-Module Microsoft.Graph.Search Remove-MgExternalConnectionItem -ExternalConnectionId $externalConnectionId -ExternalItemId $externalItemId ``` +This example shows how to use the Remove-MgExternalConnectionItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Search/Search/examples/v1.0/Update-MgExternalConnection.md b/src/Search/Search/examples/v1.0/Update-MgExternalConnection.md index 3e7058af164..95ba5a033aa 100644 --- a/src/Search/Search/examples/v1.0/Update-MgExternalConnection.md +++ b/src/Search/Search/examples/v1.0/Update-MgExternalConnection.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgExternalConnection Cmdlet ```powershell Import-Module Microsoft.Graph.Search $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Update-MgExternalConnection -ExternalConnectionId $externalConnectionId -BodyParameter $params ``` +This example shows how to use the Update-MgExternalConnection Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Search/Search/examples/v1.0/Update-MgExternalConnectionGroup.md b/src/Search/Search/examples/v1.0/Update-MgExternalConnectionGroup.md index bd8144399e6..a3f8bbc234e 100644 --- a/src/Search/Search/examples/v1.0/Update-MgExternalConnectionGroup.md +++ b/src/Search/Search/examples/v1.0/Update-MgExternalConnectionGroup.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgExternalConnectionGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Search $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Update-MgExternalConnectionGroup -ExternalConnectionId $externalConnectionId -ExternalGroupId $externalGroupId -BodyParameter $params ``` +This example shows how to use the Update-MgExternalConnectionGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Search/Search/examples/v1.0/Update-MgExternalConnectionItem.md b/src/Search/Search/examples/v1.0/Update-MgExternalConnectionItem.md index 40c0b3e507b..794b988a6e2 100644 --- a/src/Search/Search/examples/v1.0/Update-MgExternalConnectionItem.md +++ b/src/Search/Search/examples/v1.0/Update-MgExternalConnectionItem.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgExternalConnectionItem Cmdlet ```powershell Import-Module Microsoft.Graph.Search $params = @{ @@ -12,3 +12,5 @@ $params = @{ } Update-MgExternalConnectionItem -ExternalConnectionId $externalConnectionId -ExternalItemId $externalItemId -BodyParameter $params ``` +This example shows how to use the Update-MgExternalConnectionItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseCustodianHold.md b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseCustodianHold.md index 80f0412d3a3..1c44fc280a2 100644 --- a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseCustodianHold.md +++ b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseCustodianHold.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Add-MgSecurityCaseEdiscoveryCaseCustodianHold Cmdlet ```powershell Import-Module Microsoft.Graph.Security Add-MgSecurityCaseEdiscoveryCaseCustodianHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` -### Example 2 +This example shows how to use the Add-MgSecurityCaseEdiscoveryCaseCustodianHold Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Add-MgSecurityCaseEdiscoveryCaseCustodianHold Cmdlet ```powershell Import-Module Microsoft.Graph.Security Add-MgSecurityCaseEdiscoveryCaseCustodianHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` +This example shows how to use the Add-MgSecurityCaseEdiscoveryCaseCustodianHold Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md index 2e0e8a94c9d..e3baa654bbe 100644 --- a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md +++ b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold Cmdlet ```powershell Import-Module Microsoft.Graph.Security Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` -### Example 2 +This example shows how to use the Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold Cmdlet ```powershell Import-Module Microsoft.Graph.Security Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` +This example shows how to use the Add-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag.md b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag.md index f3b521541a3..b6e1f76e52c 100644 --- a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag.md +++ b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -10,3 +10,5 @@ $params = @{ } Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -EdiscoveryReviewSetQueryId $ediscoveryReviewSetQueryId -BodyParameter $params ``` +This example shows how to use the Add-MgSecurityCaseEdiscoveryCaseReviewSetQueryTag Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md index b1594a89319..aa7cfa45bc7 100644 --- a/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md +++ b/src/Security/Security/examples/v1.0/Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -BodyParameter $params ``` +This example shows how to use the Add-MgSecurityCaseEdiscoveryCaseReviewSetToReviewSet Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Close-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Close-MgSecurityCaseEdiscoveryCase.md index 35c20a1cc76..5ffb1c9ec9a 100644 --- a/src/Security/Security/examples/v1.0/Close-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Close-MgSecurityCaseEdiscoveryCase.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Close-MgSecurityCaseEdiscoveryCase Cmdlet ```powershell Import-Module Microsoft.Graph.Security Close-MgSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId ``` +This example shows how to use the Close-MgSecurityCaseEdiscoveryCase Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityAlert.md b/src/Security/Security/examples/v1.0/Get-MgSecurityAlert.md index 7979802a2e5..e6e1a8cfc20 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityAlert.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityAlert.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityAlert Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityAlert -AlertId $alertId ``` -### Example 2 +This example shows how to use the Get-MgSecurityAlert Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSecurityAlert Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityAlert ``` +This example shows how to use the Get-MgSecurityAlert Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCase.md index 5ecd041f14f..3d9541dd0b2 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCase.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCase Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId ``` -### Example 2 +This example shows how to use the Get-MgSecurityCaseEdiscoveryCase Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSecurityCaseEdiscoveryCase Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCase ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCase Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodian.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodian.md index 343af34d913..343b7051d3a 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodian.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodian.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCaseCustodian Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` -### Example 2 +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseCustodian Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSecurityCaseEdiscoveryCaseCustodian Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseCustodian Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation.md index c74e95bed6e..9c5674f5b13 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseCustodianLastIndexOperation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md index d501e914189..a9425b42824 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseCustodianSiteSource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md index 8cbd3cd8278..69b31909c64 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource.md index 70df5202271..11d59b1d65f 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseCustodianUserSource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md index e6fd6468e29..38e8ed9a58c 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -ExpandProperty "dataSource" ``` -### Example 2 +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -ExpandProperty "dataSource" -OutFile $outFileId ``` -### Example 3 +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId -ExpandProperty "dataSource" ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseOperation.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseOperation.md index 5f1d042bb65..c743c44a57a 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseOperation.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseOperation.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCaseOperation Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseOperation -EdiscoveryCaseId $ediscoveryCaseId -CaseOperationId $caseOperationId ``` -### Example 2 +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseOperation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSecurityCaseEdiscoveryCaseOperation Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseOperation -EdiscoveryCaseId $ediscoveryCaseId ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseOperation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSet.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSet.md index 17345fdce02..7533ab2d84c 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSet.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSet.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCaseReviewSet Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseReviewSet -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId ``` -### Example 2 +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseReviewSet Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSecurityCaseEdiscoveryCaseReviewSet Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseReviewSet -EdiscoveryCaseId $ediscoveryCaseId ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseReviewSet Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md index 87edebf3741..6b2dba5fe8e 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -EdiscoveryReviewSetQueryId $ediscoveryReviewSetQueryId ``` -### Example 2 +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseReviewSetQuery Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearch.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearch.md index c768db77f31..bea4e904d74 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearch.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearch.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCaseSearch Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearch -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` -### Example 2 +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseSearch Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSecurityCaseEdiscoveryCaseSearch Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearch -EdiscoveryCaseId $ediscoveryCaseId ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseSearch Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource.md index b0e3f5ef54f..96e59da1742 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` -### Example 2 +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -OutFile $outFileId ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseSearchAdditionalSource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource.md index a94e0213dd2..80b8003a105 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseSearchCustodianSource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation.md index 8ce9f1104e1..3aa80af3e2d 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseSearchLastEstimateStatisticsOperation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource.md index 16b3afebe91..96a866a7172 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseSearchNoncustodialSource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSetting.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSetting.md index 09ea2e78c13..0d925d1c95b 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSetting.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseSetting.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCaseSetting Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseSetting -EdiscoveryCaseId $ediscoveryCaseId ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseSetting Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md index 248c476e687..c9c0e0f6731 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecurityCaseEdiscoveryCaseTag.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSecurityCaseEdiscoveryCaseTag Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseTag -EdiscoveryCaseId $ediscoveryCaseId ``` -### Example 2 +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseTag Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSecurityCaseEdiscoveryCaseTag Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecurityCaseEdiscoveryCaseTag -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewTagId $ediscoveryReviewTagId ``` +This example shows how to use the Get-MgSecurityCaseEdiscoveryCaseTag Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScore.md b/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScore.md index cb976dd98d6..cb722b4ea79 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScore.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScore.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSecuritySecureScore Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecuritySecureScore -SecureScoreId $secureScoreId ``` -### Example 2 +This example shows how to use the Get-MgSecuritySecureScore Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSecuritySecureScore Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecuritySecureScore -Top 1 ``` +This example shows how to use the Get-MgSecuritySecureScore Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScoreControlProfile.md b/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScoreControlProfile.md index e276a01647d..689af4a4aa7 100644 --- a/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScoreControlProfile.md +++ b/src/Security/Security/examples/v1.0/Get-MgSecuritySecureScoreControlProfile.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSecuritySecureScoreControlProfile Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecuritySecureScoreControlProfile -SecureScoreControlProfileId $secureScoreControlProfileId ``` -### Example 2 +This example shows how to use the Get-MgSecuritySecureScoreControlProfile Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSecuritySecureScoreControlProfile Cmdlet ```powershell Import-Module Microsoft.Graph.Security Get-MgSecuritySecureScoreControlProfile ``` +This example shows how to use the Get-MgSecuritySecureScoreControlProfile Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Initialize-MgSecurityCaseEdiscoveryCaseCustodian.md b/src/Security/Security/examples/v1.0/Initialize-MgSecurityCaseEdiscoveryCaseCustodian.md index ebec0a5f883..ba8abb2fd68 100644 --- a/src/Security/Security/examples/v1.0/Initialize-MgSecurityCaseEdiscoveryCaseCustodian.md +++ b/src/Security/Security/examples/v1.0/Initialize-MgSecurityCaseEdiscoveryCaseCustodian.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Initialize-MgSecurityCaseEdiscoveryCaseCustodian Cmdlet ```powershell Import-Module Microsoft.Graph.Security Initialize-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` +This example shows how to use the Initialize-MgSecurityCaseEdiscoveryCaseCustodian Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md b/src/Security/Security/examples/v1.0/Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md index f6c39fe3082..0507d216070 100644 --- a/src/Security/Security/examples/v1.0/Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md +++ b/src/Security/Security/examples/v1.0/Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy Cmdlet ```powershell Import-Module Microsoft.Graph.Security Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy -EdiscoveryCaseId $ediscoveryCaseId ``` +This example shows how to use the Invoke-MgAsSecurityCaseEdiscoveryCaseTagHierarchy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md b/src/Security/Security/examples/v1.0/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md index afdbd2e8a29..13dbba9cdee 100644 --- a/src/Security/Security/examples/v1.0/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md +++ b/src/Security/Security/examples/v1.0/Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics Cmdlet ```powershell Import-Module Microsoft.Graph.Security Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` +This example shows how to use the Invoke-MgEstimateSecurityCaseEdiscoveryCaseSearchStatistics Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Invoke-MgReopenSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Invoke-MgReopenSecurityCaseEdiscoveryCase.md index 506b5c3e0aa..2e23f482516 100644 --- a/src/Security/Security/examples/v1.0/Invoke-MgReopenSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Invoke-MgReopenSecurityCaseEdiscoveryCase.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Invoke-MgReopenSecurityCaseEdiscoveryCase Cmdlet ```powershell Import-Module Microsoft.Graph.Security Invoke-MgReopenSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId ``` +This example shows how to use the Invoke-MgReopenSecurityCaseEdiscoveryCase Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCase.md index 934645f5060..8d48d254019 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCase.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSecurityCaseEdiscoveryCase Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgSecurityCaseEdiscoveryCase -BodyParameter $params ``` +This example shows how to use the New-MgSecurityCaseEdiscoveryCase Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodian.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodian.md index 472724e53ae..ded74992aeb 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodian.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodian.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSecurityCaseEdiscoveryCaseCustodian Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params ``` +This example shows how to use the New-MgSecurityCaseEdiscoveryCaseCustodian Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md index cdc95e04675..d65cb5ded4d 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId -BodyParameter $params ``` +This example shows how to use the New-MgSecurityCaseEdiscoveryCaseCustodianSiteSource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md index 84760272330..f92b550b31a 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -9,7 +9,9 @@ $params = @{ } New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -18,7 +20,9 @@ $params = @{ } New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -27,3 +31,5 @@ $params = @{ } New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId -BodyParameter $params ``` +This example shows how to use the New-MgSecurityCaseEdiscoveryCaseCustodianUnifiedGroupSource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md index ea197bd1726..a8e4d85bf21 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params ``` +This example shows how to use the New-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSet.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSet.md index 9bd5d77b904..3e35fb4657f 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSet.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSet.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSecurityCaseEdiscoveryCaseReviewSet Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgSecurityCaseEdiscoveryCaseReviewSet -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params ``` +This example shows how to use the New-MgSecurityCaseEdiscoveryCaseReviewSet Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md index 6f197291dbb..881672dd475 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSecurityCaseEdiscoveryCaseReviewSetQuery Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -7,3 +7,5 @@ $params = @{ } New-MgSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -BodyParameter $params ``` +This example shows how to use the New-MgSecurityCaseEdiscoveryCaseReviewSetQuery Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseSearch.md b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseSearch.md index 70869fd2ec3..43a5392a8df 100644 --- a/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseSearch.md +++ b/src/Security/Security/examples/v1.0/New-MgSecurityCaseEdiscoveryCaseSearch.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSecurityCaseEdiscoveryCaseSearch Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -16,3 +16,5 @@ $params = @{ } New-MgSecurityCaseEdiscoveryCaseSearch -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params ``` +This example shows how to use the New-MgSecurityCaseEdiscoveryCaseSearch Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseCustodian.md b/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseCustodian.md index 25e9b45b067..db8b130356a 100644 --- a/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseCustodian.md +++ b/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseCustodian.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Publish-MgSecurityCaseEdiscoveryCaseCustodian Cmdlet ```powershell Import-Module Microsoft.Graph.Security Publish-MgSecurityCaseEdiscoveryCaseCustodian -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` +This example shows how to use the Publish-MgSecurityCaseEdiscoveryCaseCustodian Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md b/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md index a1b12b8f6f2..cb8353eab9a 100644 --- a/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md +++ b/src/Security/Security/examples/v1.0/Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource Cmdlet ```powershell Import-Module Microsoft.Graph.Security Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` +This example shows how to use the Publish-MgSecurityCaseEdiscoveryCaseNoncustodialDataSource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCase.md index 659f0032058..4f94cc69fb8 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCase.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgSecurityCaseEdiscoveryCase Cmdlet ```powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId ``` +This example shows how to use the Remove-MgSecurityCaseEdiscoveryCase Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseCustodianHold.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseCustodianHold.md index b0fdf8d7a81..ef2a5bd0316 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseCustodianHold.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseCustodianHold.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgSecurityCaseEdiscoveryCaseCustodianHold Cmdlet ```powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseCustodianHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` +This example shows how to use the Remove-MgSecurityCaseEdiscoveryCaseCustodianHold Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md index 0e76320f500..ca20510ea87 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold Cmdlet ```powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` -### Example 2 +This example shows how to use the Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold Cmdlet ```powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` +This example shows how to use the Remove-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceHold Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md index 77c7e705bd7..1cd6012b1b4 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery Cmdlet ```powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -EdiscoveryReviewSetQueryId $ediscoveryReviewSetQueryId ``` +This example shows how to use the Remove-MgSecurityCaseEdiscoveryCaseReviewSetQuery Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseSearch.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseSearch.md index 50cf9a1395b..bc15c9d5bc1 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseSearch.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseSearch.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgSecurityCaseEdiscoveryCaseSearch Cmdlet ```powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseSearch -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId ``` +This example shows how to use the Remove-MgSecurityCaseEdiscoveryCaseSearch Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseTag.md b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseTag.md index 074fccd6bd9..25b221923d5 100644 --- a/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseTag.md +++ b/src/Security/Security/examples/v1.0/Remove-MgSecurityCaseEdiscoveryCaseTag.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgSecurityCaseEdiscoveryCaseTag Cmdlet ```powershell Import-Module Microsoft.Graph.Security Remove-MgSecurityCaseEdiscoveryCaseTag -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewTagId $ediscoveryReviewTagId ``` +This example shows how to use the Remove-MgSecurityCaseEdiscoveryCaseTag Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault.md b/src/Security/Security/examples/v1.0/Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault.md index 1c478ae6e80..1fd692c1732 100644 --- a/src/Security/Security/examples/v1.0/Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault.md +++ b/src/Security/Security/examples/v1.0/Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault Cmdlet ```powershell Import-Module Microsoft.Graph.Security Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault -EdiscoveryCaseId $ediscoveryCaseId ``` +This example shows how to use the Reset-MgSecurityCaseEdiscoveryCaseSettingToDefault Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityAlert.md b/src/Security/Security/examples/v1.0/Update-MgSecurityAlert.md index 2109a359300..f96730d858b 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityAlert.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityAlert.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgSecurityAlert Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -19,7 +19,9 @@ $params = @{ } Update-MgSecurityAlert -AlertId $alertId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Update-MgSecurityAlert Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Update-MgSecurityAlert Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -40,3 +42,5 @@ $params = @{ } Update-MgSecurityAlert -AlertId $alertId -BodyParameter $params ``` +This example shows how to use the Update-MgSecurityAlert Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCase.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCase.md index 2f0ee079c05..8b8e49cf037 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCase.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCase.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgSecurityCaseEdiscoveryCase Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Update-MgSecurityCaseEdiscoveryCase -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params ``` +This example shows how to use the Update-MgSecurityCaseEdiscoveryCase Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseCustodianIndex.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseCustodianIndex.md index 8cd2a2128ba..a0d1c1d1518 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseCustodianIndex.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseCustodianIndex.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Update-MgSecurityCaseEdiscoveryCaseCustodianIndex Cmdlet ```powershell Import-Module Microsoft.Graph.Security Update-MgSecurityCaseEdiscoveryCaseCustodianIndex -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId ``` +This example shows how to use the Update-MgSecurityCaseEdiscoveryCaseCustodianIndex Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md index ceeb93964f4..25f9a7f767b 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex Cmdlet ```powershell Import-Module Microsoft.Graph.Security Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryNoncustodialDataSourceId $ediscoveryNoncustodialDataSourceId ``` +This example shows how to use the Update-MgSecurityCaseEdiscoveryCaseNoncustodialDataSourceIndex Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md index 97797e02385..a145c5f8494 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -EdiscoveryReviewSetQueryId $ediscoveryReviewSetQueryId -BodyParameter $params ``` +This example shows how to use the Update-MgSecurityCaseEdiscoveryCaseReviewSetQuery Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSearch.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSearch.md index ffed2bb600b..0f357fb2d80 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSearch.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSearch.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgSecurityCaseEdiscoveryCaseSearch Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgSecurityCaseEdiscoveryCaseSearch -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params ``` +This example shows how to use the Update-MgSecurityCaseEdiscoveryCaseSearch Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSetting.md b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSetting.md index 1330208ecdd..6bb7f565180 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSetting.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecurityCaseEdiscoveryCaseSetting.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgSecurityCaseEdiscoveryCaseSetting Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -15,3 +15,5 @@ $params = @{ } Update-MgSecurityCaseEdiscoveryCaseSetting -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params ``` +This example shows how to use the Update-MgSecurityCaseEdiscoveryCaseSetting Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Security/Security/examples/v1.0/Update-MgSecuritySecureScoreControlProfile.md b/src/Security/Security/examples/v1.0/Update-MgSecuritySecureScoreControlProfile.md index f28b84b649f..3ee33f799b8 100644 --- a/src/Security/Security/examples/v1.0/Update-MgSecuritySecureScoreControlProfile.md +++ b/src/Security/Security/examples/v1.0/Update-MgSecuritySecureScoreControlProfile.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgSecuritySecureScoreControlProfile Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -14,7 +14,9 @@ $params = @{ } Update-MgSecuritySecureScoreControlProfile -SecureScoreControlProfileId $secureScoreControlProfileId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Update-MgSecuritySecureScoreControlProfile Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Update-MgSecuritySecureScoreControlProfile Cmdlet ```powershell Import-Module Microsoft.Graph.Security $params = @{ @@ -30,3 +32,5 @@ $params = @{ } Update-MgSecuritySecureScoreControlProfile -SecureScoreControlProfileId $secureScoreControlProfileId -BodyParameter $params ``` +This example shows how to use the Update-MgSecuritySecureScoreControlProfile Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopy.md b/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopy.md index e6f18471a7f..e97b7e16de3 100644 --- a/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopy.md +++ b/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopy.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Add-MgSiteListContentTypeCopy Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Add-MgSiteListContentTypeCopy -SiteId $siteId -ListId $listId -BodyParameter $params ``` +This example shows how to use the Add-MgSiteListContentTypeCopy Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopyFromContentTypeHub.md b/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopyFromContentTypeHub.md index 8da14cad5f1..ae45a5e322a 100644 --- a/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopyFromContentTypeHub.md +++ b/src/Sites/Sites/examples/v1.0/Add-MgSiteListContentTypeCopyFromContentTypeHub.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Add-MgSiteListContentTypeCopyFromContentTypeHub Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -6,7 +6,9 @@ $params = @{ } Add-MgSiteListContentTypeCopyFromContentTypeHub -SiteId $siteId -ListId $listId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Add-MgSiteListContentTypeCopyFromContentTypeHub Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Add-MgSiteListContentTypeCopyFromContentTypeHub Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -14,7 +16,9 @@ $params = @{ } Add-MgSiteListContentTypeCopyFromContentTypeHub -SiteId $siteId -ListId $listId -BodyParameter $params ``` -### Example 3 +This example shows how to use the Add-MgSiteListContentTypeCopyFromContentTypeHub Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Add-MgSiteListContentTypeCopyFromContentTypeHub Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -22,3 +26,5 @@ $params = @{ } Add-MgSiteListContentTypeCopyFromContentTypeHub -SiteId $siteId -ListId $listId -BodyParameter $params ``` +This example shows how to use the Add-MgSiteListContentTypeCopyFromContentTypeHub Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Copy-MgSiteContentTypeToDefaultContentLocation.md b/src/Sites/Sites/examples/v1.0/Copy-MgSiteContentTypeToDefaultContentLocation.md index 9d4b217a7f8..89c2c33ead5 100644 --- a/src/Sites/Sites/examples/v1.0/Copy-MgSiteContentTypeToDefaultContentLocation.md +++ b/src/Sites/Sites/examples/v1.0/Copy-MgSiteContentTypeToDefaultContentLocation.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Copy-MgSiteContentTypeToDefaultContentLocation Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -12,3 +12,5 @@ $params = @{ } Copy-MgSiteContentTypeToDefaultContentLocation -SiteId $siteId -ContentTypeId $contentTypeId -BodyParameter $params ``` +This example shows how to use the Copy-MgSiteContentTypeToDefaultContentLocation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSite.md b/src/Sites/Sites/examples/v1.0/Get-MgSite.md index ee8f4d58b71..d06a8565629 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSite.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSite.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgSite Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSite -SiteId $siteId ``` -### Example 2 +This example shows how to use the Get-MgSite Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSite Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSite -Search "{query}" ``` -### Example 3 +This example shows how to use the Get-MgSite Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgSite Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSite -Search "{query}" -OutFile $outFileId ``` +This example shows how to use the Get-MgSite Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteColumn.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteColumn.md index a17bd6a1f66..8aa3eaeb358 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteColumn.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteColumn.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSiteColumn Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteColumn -SiteId $siteId ``` +This example shows how to use the Get-MgSiteColumn Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteContentType.md index ef9609d2181..b628661025a 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteContentType.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgSiteContentType Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteContentType -SiteId $siteId ``` -### Example 2 +This example shows how to use the Get-MgSiteContentType Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSiteContentType Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteContentType -SiteId $siteId -OutFile $outFileId ``` -### Example 3 +This example shows how to use the Get-MgSiteContentType Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgSiteContentType Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId ``` +This example shows how to use the Get-MgSiteContentType Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteContentTypeColumn.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteContentTypeColumn.md index cb4f69a0634..5fac8bfbf93 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteContentTypeColumn.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteContentTypeColumn.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSiteContentTypeColumn Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteContentTypeColumn -SiteId $siteId -ContentTypeId $contentTypeId -ColumnDefinitionId $columnDefinitionId ``` -### Example 2 +This example shows how to use the Get-MgSiteContentTypeColumn Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSiteContentTypeColumn Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteContentTypeColumn -SiteId $siteId -ContentTypeId $contentTypeId ``` +This example shows how to use the Get-MgSiteContentTypeColumn Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteDefaultDrive.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteDefaultDrive.md index 0654804431f..c7215430c65 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteDefaultDrive.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteDefaultDrive.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSiteDefaultDrive Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteDefaultDrive -SiteId $siteId ``` +This example shows how to use the Get-MgSiteDefaultDrive Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md index e7b543a2fd7..d866195ee41 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteDrive.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSiteDrive Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteDrive -SiteId $siteId ``` +This example shows how to use the Get-MgSiteDrive Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteList.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteList.md index 391edae102f..ce9d9e98c3e 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteList.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteList.md @@ -1,30 +1,42 @@ -### Example 1 +### Example 1: Using the Get-MgSiteList Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId ``` -### Example 2 +This example shows how to use the Get-MgSiteList Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSiteList Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId -ListId $listId ``` -### Example 3 +This example shows how to use the Get-MgSiteList Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgSiteList Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId -ListId $listId ``` -### Example 4 +This example shows how to use the Get-MgSiteList Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgSiteList Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId -ListId $listId -Property "id,name,lastModifiedDateTime" -ExpandProperty "columns(select=name,description),items)" ``` -### Example 5 +This example shows how to use the Get-MgSiteList Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the Get-MgSiteList Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId -ListId $listId ``` -### Example 6 +This example shows how to use the Get-MgSiteList Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 6: Using the Get-MgSiteList Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteList -SiteId $siteId -ListId $listId ``` +This example shows how to use the Get-MgSiteList Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListColumn.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListColumn.md index d1a888522d4..21ad68064b3 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListColumn.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListColumn.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSiteListColumn Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListColumn -SiteId $siteId -ListId $listId ``` +This example shows how to use the Get-MgSiteListColumn Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentType.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentType.md index 049e2dbb4e5..707302fc487 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentType.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentType.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSiteListContentType Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListContentType -SiteId $siteId -ListId $listId ``` +This example shows how to use the Get-MgSiteListContentType Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentTypeCompatibleHubContentType.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentTypeCompatibleHubContentType.md index 6b87d0a1f4e..e7bbf581224 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentTypeCompatibleHubContentType.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListContentTypeCompatibleHubContentType.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSiteListContentTypeCompatibleHubContentType Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListContentTypeCompatibleHubContentType -SiteId $siteId -ListId $listId ``` +This example shows how to use the Get-MgSiteListContentTypeCompatibleHubContentType Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItem.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItem.md index d6ad319efdf..e5814197197 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItem.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItem.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSiteListItem Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListItem -SiteId $siteId -ListId $listId -ListItemId $listItemId -ExpandProperty "fields" ``` +This example shows how to use the Get-MgSiteListItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemDocumentSetVersion.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemDocumentSetVersion.md index bd81be791d5..c0a41576121 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemDocumentSetVersion.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemDocumentSetVersion.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSiteListItemDocumentSetVersion Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -DocumentSetVersionId $documentSetVersionId ``` -### Example 2 +This example shows how to use the Get-MgSiteListItemDocumentSetVersion Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSiteListItemDocumentSetVersion Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId ``` +This example shows how to use the Get-MgSiteListItemDocumentSetVersion Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemVersion.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemVersion.md index 322047f245e..3f5c7aaedd1 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemVersion.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteListItemVersion.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSiteListItemVersion Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListItemVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId ``` -### Example 2 +This example shows how to use the Get-MgSiteListItemVersion Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSiteListItemVersion Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteListItemVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -ListItemVersionId $listItemVersionId -ExpandProperty "fields" ``` +This example shows how to use the Get-MgSiteListItemVersion Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSitePermission.md b/src/Sites/Sites/examples/v1.0/Get-MgSitePermission.md index c9b5794b762..a81d9eb2f3a 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSitePermission.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSitePermission.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgSitePermission Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSitePermission -SiteId $siteId -PermissionId $permissionId ``` -### Example 2 +This example shows how to use the Get-MgSitePermission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSitePermission Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSitePermission -SiteId $siteId ``` +This example shows how to use the Get-MgSitePermission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStore.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStore.md index 3ca2cad6442..5dc284c5bab 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStore.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStore.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSiteTermStore Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStore -SiteId $siteId -OutFile $outFileId ``` +This example shows how to use the Get-MgSiteTermStore Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroup.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroup.md index f6caea29dff..a3eedaf9fdf 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroup.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroup.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgSiteTermStoreGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreGroup -SiteId $siteId -OutFile $outFileId ``` -### Example 2 +This example shows how to use the Get-MgSiteTermStoreGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgSiteTermStoreGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreGroup -SiteId $siteId -GroupId $groupId ``` -### Example 3 +This example shows how to use the Get-MgSiteTermStoreGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgSiteTermStoreGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreGroup -SiteId $siteId -GroupId $groupId -Property "*,parentSiteId" ``` +This example shows how to use the Get-MgSiteTermStoreGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSet.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSet.md index 3c6184a2210..2f1a43dee16 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSet.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSet.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSiteTermStoreGroupSet Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreGroupSet -SiteId $siteId -GroupId $groupId ``` +This example shows how to use the Get-MgSiteTermStoreGroupSet Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSetTerm.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSetTerm.md index 01d37687d2d..9a610109fce 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSetTerm.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreGroupSetTerm.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSiteTermStoreGroupSetTerm Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreGroupSetTerm -SiteId $siteId -GroupId $groupId -SetId $setId -TermId $termId ``` +This example shows how to use the Get-MgSiteTermStoreGroupSetTerm Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSet.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSet.md index d0de88d1c83..27e4b693762 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSet.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSet.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSiteTermStoreSet Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreSet -SiteId $siteId -SetId $setId ``` +This example shows how to use the Get-MgSiteTermStoreSet Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetChild.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetChild.md index a9b143956de..c40c71470a9 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetChild.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetChild.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSiteTermStoreSetChild Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreSetChild -SiteId $siteId -SetId $setId ``` +This example shows how to use the Get-MgSiteTermStoreSetChild Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetRelation.md b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetRelation.md index 5455fc896f1..9ec6d9d35ef 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetRelation.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSiteTermStoreSetRelation.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSiteTermStoreSetRelation Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSiteTermStoreSetRelation -SiteId $siteId -SetId $setId ``` +This example shows how to use the Get-MgSiteTermStoreSetRelation Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgSubSite.md b/src/Sites/Sites/examples/v1.0/Get-MgSubSite.md index 0dd3e4f140e..63b4711da7c 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgSubSite.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgSubSite.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgSubSite Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Get-MgSubSite -SiteId $siteId ``` +This example shows how to use the Get-MgSubSite Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Get-MgUserFollowedSite.md b/src/Sites/Sites/examples/v1.0/Get-MgUserFollowedSite.md index ed0288099cf..e389c2ac152 100644 --- a/src/Sites/Sites/examples/v1.0/Get-MgUserFollowedSite.md +++ b/src/Sites/Sites/examples/v1.0/Get-MgUserFollowedSite.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserFollowedSite Cmdlet ```powershell Import-Module Microsoft.Graph.Sites # A UPN can also be used as -UserId. Get-MgUserFollowedSite -UserId $userId ``` +This example shows how to use the Get-MgUserFollowedSite Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Join-MgSiteContentTypeWithHubSite.md b/src/Sites/Sites/examples/v1.0/Join-MgSiteContentTypeWithHubSite.md index 9970a30e971..1f88c9eae4d 100644 --- a/src/Sites/Sites/examples/v1.0/Join-MgSiteContentTypeWithHubSite.md +++ b/src/Sites/Sites/examples/v1.0/Join-MgSiteContentTypeWithHubSite.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Join-MgSiteContentTypeWithHubSite Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Join-MgSiteContentTypeWithHubSite -SiteId $siteId -ContentTypeId $contentTypeId -BodyParameter $params ``` +This example shows how to use the Join-MgSiteContentTypeWithHubSite Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteColumn.md b/src/Sites/Sites/examples/v1.0/New-MgSiteColumn.md index 33ca4a7d6db..e89d734a213 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteColumn.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteColumn.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSiteColumn Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -16,3 +16,5 @@ $params = @{ } New-MgSiteColumn -SiteId $siteId -BodyParameter $params ``` +This example shows how to use the New-MgSiteColumn Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/New-MgSiteContentType.md index 852f77ebed5..27f532b11fa 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteContentType.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSiteContentType Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -12,3 +12,5 @@ $params = @{ } New-MgSiteContentType -SiteId $siteId -BodyParameter $params ``` +This example shows how to use the New-MgSiteContentType Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteContentTypeColumn.md b/src/Sites/Sites/examples/v1.0/New-MgSiteContentTypeColumn.md index b98e1c3ed44..ce1951bff30 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteContentTypeColumn.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteContentTypeColumn.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSiteContentTypeColumn Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgSiteContentTypeColumn -SiteId $siteId -ContentTypeId $contentTypeId -BodyParameter $params ``` +This example shows how to use the New-MgSiteContentTypeColumn Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteList.md b/src/Sites/Sites/examples/v1.0/New-MgSiteList.md index 3c5eb8e8994..66083c9b800 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteList.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteList.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSiteList Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -21,3 +21,5 @@ $params = @{ } New-MgSiteList -SiteId $siteId -BodyParameter $params ``` +This example shows how to use the New-MgSiteList Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteListColumn.md b/src/Sites/Sites/examples/v1.0/New-MgSiteListColumn.md index 51ac572cbcc..499765fcb5e 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteListColumn.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteListColumn.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSiteListColumn Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -16,3 +16,5 @@ $params = @{ } New-MgSiteListColumn -SiteId $siteId -ListId $listId -BodyParameter $params ``` +This example shows how to use the New-MgSiteListColumn Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteListItem.md b/src/Sites/Sites/examples/v1.0/New-MgSiteListItem.md index a71c08b328e..2b5c2b22fcf 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteListItem.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteListItem.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSiteListItem Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -10,3 +10,5 @@ $params = @{ } New-MgSiteListItem -SiteId $siteId -ListId $listId -BodyParameter $params ``` +This example shows how to use the New-MgSiteListItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteListItemDocumentSetVersion.md b/src/Sites/Sites/examples/v1.0/New-MgSiteListItemDocumentSetVersion.md index f4aae23160b..a94e05f8e23 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteListItemDocumentSetVersion.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteListItemDocumentSetVersion.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSiteListItemDocumentSetVersion Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -7,3 +7,5 @@ $params = @{ } New-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -BodyParameter $params ``` +This example shows how to use the New-MgSiteListItemDocumentSetVersion Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/New-MgSitePermission.md b/src/Sites/Sites/examples/v1.0/New-MgSitePermission.md index b0b38cfe544..363e7ee368f 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSitePermission.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSitePermission.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSitePermission Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -16,3 +16,5 @@ $params = @{ } New-MgSitePermission -SiteId $siteId -BodyParameter $params ``` +This example shows how to use the New-MgSitePermission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreGroup.md b/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreGroup.md index 8764bb73f19..09006f89d26 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreGroup.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreGroup.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSiteTermStoreGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgSiteTermStoreGroup -SiteId $siteId -BodyParameter $params ``` +This example shows how to use the New-MgSiteTermStoreGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreSetChild.md b/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreSetChild.md index b75aaaf9706..36a8e7d271c 100644 --- a/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreSetChild.md +++ b/src/Sites/Sites/examples/v1.0/New-MgSiteTermStoreSetChild.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgSiteTermStoreSetChild Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -12,3 +12,5 @@ $params = @{ } New-MgSiteTermStoreSetChild -SiteId $siteId -SetId $setId -BodyParameter $params ``` +This example shows how to use the New-MgSiteTermStoreSetChild Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Publish-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Publish-MgSiteContentType.md index fb99d209f40..a49d972730c 100644 --- a/src/Sites/Sites/examples/v1.0/Publish-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Publish-MgSiteContentType.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Publish-MgSiteContentType Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Publish-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId ``` +This example shows how to use the Publish-MgSiteContentType Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentType.md index 58dae877f0f..bbbb9224a1f 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentType.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgSiteContentType Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId ``` +This example shows how to use the Remove-MgSiteContentType Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentTypeColumn.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentTypeColumn.md index 90575599bdc..2bb8fe25e24 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentTypeColumn.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteContentTypeColumn.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgSiteContentTypeColumn Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteContentTypeColumn -SiteId $siteId -ContentTypeId $contentTypeId -ColumnDefinitionId $columnDefinitionId ``` +This example shows how to use the Remove-MgSiteContentTypeColumn Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItem.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItem.md index a48246db81b..7abc69f7410 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItem.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItem.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgSiteListItem Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteListItem -SiteId $siteId -ListId $listId -ListItemId $listItemId ``` +This example shows how to use the Remove-MgSiteListItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItemDocumentSetVersion.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItemDocumentSetVersion.md index e828298f042..699d5742c71 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItemDocumentSetVersion.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteListItemDocumentSetVersion.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgSiteListItemDocumentSetVersion Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -DocumentSetVersionId $documentSetVersionId ``` +This example shows how to use the Remove-MgSiteListItemDocumentSetVersion Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSitePermission.md b/src/Sites/Sites/examples/v1.0/Remove-MgSitePermission.md index 8237c853d2e..87f483f71df 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSitePermission.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSitePermission.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgSitePermission Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Remove-MgSitePermission -SiteId $siteId -PermissionId $permissionId ``` +This example shows how to use the Remove-MgSitePermission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreGroup.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreGroup.md index cdeb5b84cc3..b8b7c3405cf 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreGroup.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreGroup.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgSiteTermStoreGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteTermStoreGroup -SiteId $siteId -GroupId $groupId ``` +This example shows how to use the Remove-MgSiteTermStoreGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSet.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSet.md index 834560cfc11..6c0382684fe 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSet.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSet.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgSiteTermStoreSet Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteTermStoreSet -SiteId $siteId -SetId $setId ``` +This example shows how to use the Remove-MgSiteTermStoreSet Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSetTerm.md b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSetTerm.md index d2758014626..bed5734bc55 100644 --- a/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSetTerm.md +++ b/src/Sites/Sites/examples/v1.0/Remove-MgSiteTermStoreSetTerm.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgSiteTermStoreSetTerm Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Remove-MgSiteTermStoreSetTerm -SiteId $siteId -SetId $setId -TermId $termId ``` +This example shows how to use the Remove-MgSiteTermStoreSetTerm Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemDocumentSetVersion.md b/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemDocumentSetVersion.md index a9567d5a88c..5b3f69954de 100644 --- a/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemDocumentSetVersion.md +++ b/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemDocumentSetVersion.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Restore-MgSiteListItemDocumentSetVersion Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Restore-MgSiteListItemDocumentSetVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -DocumentSetVersionId $documentSetVersionId ``` +This example shows how to use the Restore-MgSiteListItemDocumentSetVersion Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemVersion.md b/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemVersion.md index d25d115e09c..891779c0c8f 100644 --- a/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemVersion.md +++ b/src/Sites/Sites/examples/v1.0/Restore-MgSiteListItemVersion.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Restore-MgSiteListItemVersion Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Restore-MgSiteListItemVersion -SiteId $siteId -ListId $listId -ListItemId $listItemId -ListItemVersionId $listItemVersionId ``` +This example shows how to use the Restore-MgSiteListItemVersion Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Test-MgSiteContentTypePublished.md b/src/Sites/Sites/examples/v1.0/Test-MgSiteContentTypePublished.md index 02fb6eb74be..b3c39701bfd 100644 --- a/src/Sites/Sites/examples/v1.0/Test-MgSiteContentTypePublished.md +++ b/src/Sites/Sites/examples/v1.0/Test-MgSiteContentTypePublished.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Test-MgSiteContentTypePublished Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Test-MgSiteContentTypePublished -SiteId $siteId -ContentTypeId $contentTypeId ``` +This example shows how to use the Test-MgSiteContentTypePublished Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Unpublish-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Unpublish-MgSiteContentType.md index 83823f2624b..aef59ec8ca2 100644 --- a/src/Sites/Sites/examples/v1.0/Unpublish-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Unpublish-MgSiteContentType.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Unpublish-MgSiteContentType Cmdlet ```powershell Import-Module Microsoft.Graph.Sites Unpublish-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId ``` +This example shows how to use the Unpublish-MgSiteContentType Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteContentType.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteContentType.md index f14246f1e6b..3b10d9efe98 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteContentType.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteContentType.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgSiteContentType Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -45,3 +45,5 @@ $params = @{ } Update-MgSiteContentType -SiteId $siteId -ContentTypeId $contentTypeId -BodyParameter $params ``` +This example shows how to use the Update-MgSiteContentType Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteListItemField.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteListItemField.md index 08b53978506..04f565c666f 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteListItemField.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteListItemField.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgSiteListItemField Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -7,3 +7,5 @@ $params = @{ } Update-MgSiteListItemField -SiteId $siteId -ListId $listId -ListItemId $listItemId -BodyParameter $params ``` +This example shows how to use the Update-MgSiteListItemField Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSitePermission.md b/src/Sites/Sites/examples/v1.0/Update-MgSitePermission.md index 38a6a74faaf..9990ad6d08e 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSitePermission.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSitePermission.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgSitePermission Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -8,3 +8,5 @@ $params = @{ } Update-MgSitePermission -SiteId $siteId -PermissionId $permissionId -BodyParameter $params ``` +This example shows how to use the Update-MgSitePermission Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStore.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStore.md index 2534822bad4..fd55c698022 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStore.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStore.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgSiteTermStore Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgSiteTermStore -SiteId $siteId -BodyParameter $params ``` +This example shows how to use the Update-MgSiteTermStore Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSet.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSet.md index 7c55fc957d6..486653b947a 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSet.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSet.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgSiteTermStoreSet Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgSiteTermStoreSet -SiteId $siteId -SetId $setId -BodyParameter $params ``` +This example shows how to use the Update-MgSiteTermStoreSet Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSetTerm.md b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSetTerm.md index a24bf1a070c..09d8a5fb541 100644 --- a/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSetTerm.md +++ b/src/Sites/Sites/examples/v1.0/Update-MgSiteTermStoreSetTerm.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgSiteTermStoreSetTerm Cmdlet ```powershell Import-Module Microsoft.Graph.Sites $params = @{ @@ -12,3 +12,5 @@ $params = @{ } Update-MgSiteTermStoreSetTerm -SiteId $siteId -SetId $setId -TermId $termId -BodyParameter $params ``` +This example shows how to use the Update-MgSiteTermStoreSetTerm Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Add-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/Add-MgTeamMember.md index c894bbb7dfc..6f859aea166 100644 --- a/src/Teams/Teams/examples/v1.0/Add-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/Add-MgTeamMember.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Add-MgTeamMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -20,7 +20,9 @@ $params = @{ } Add-MgTeamMember -TeamId $teamId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Add-MgTeamMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Add-MgTeamMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -42,7 +44,9 @@ $params = @{ } Add-MgTeamMember -TeamId $teamId -BodyParameter $params ``` -### Example 3 +This example shows how to use the Add-MgTeamMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Add-MgTeamMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -64,3 +68,5 @@ $params = @{ } Add-MgTeamMember -TeamId $teamId -BodyParameter $params ``` +This example shows how to use the Add-MgTeamMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Complete-MgTeamChannelMigration.md b/src/Teams/Teams/examples/v1.0/Complete-MgTeamChannelMigration.md index 14d597f233e..9c4dafda6ab 100644 --- a/src/Teams/Teams/examples/v1.0/Complete-MgTeamChannelMigration.md +++ b/src/Teams/Teams/examples/v1.0/Complete-MgTeamChannelMigration.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Complete-MgTeamChannelMigration Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Complete-MgTeamChannelMigration -TeamId $teamId -ChannelId $channelId ``` +This example shows how to use the Complete-MgTeamChannelMigration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Complete-MgTeamMigration.md b/src/Teams/Teams/examples/v1.0/Complete-MgTeamMigration.md index 3d4dfa65392..795dcfe6125 100644 --- a/src/Teams/Teams/examples/v1.0/Complete-MgTeamMigration.md +++ b/src/Teams/Teams/examples/v1.0/Complete-MgTeamMigration.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Complete-MgTeamMigration Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Complete-MgTeamMigration -TeamId $teamId ``` +This example shows how to use the Complete-MgTeamMigration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Copy-MgTeam.md b/src/Teams/Teams/examples/v1.0/Copy-MgTeam.md index e82ffd5ce73..968077d9544 100644 --- a/src/Teams/Teams/examples/v1.0/Copy-MgTeam.md +++ b/src/Teams/Teams/examples/v1.0/Copy-MgTeam.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Copy-MgTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -10,3 +10,5 @@ $params = @{ } Copy-MgTeam -TeamId $teamId -BodyParameter $params ``` +This example shows how to use the Copy-MgTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamApp.md b/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamApp.md index 636e96fb1ee..f561d263263 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamApp.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamApp.md @@ -1,25 +1,35 @@ -### Example 1 +### Example 1: Using the Get-MgAppCatalogTeamApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamApp -Filter "externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee'" ``` -### Example 2 +This example shows how to use the Get-MgAppCatalogTeamApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgAppCatalogTeamApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamApp -Filter "id eq 'b1c5353a-7aca-41b3-830f-27d5218fe0e5'" ``` -### Example 3 +This example shows how to use the Get-MgAppCatalogTeamApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgAppCatalogTeamApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamApp -ExpandProperty "appDefinitions(`$expand=bot)" -Filter "appDefinitions/any(a:a/bot ne null)" ``` -### Example 4 +This example shows how to use the Get-MgAppCatalogTeamApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgAppCatalogTeamApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamApp -Filter "id eq '876df28f-2e78-423b-94a5-44181bd0e225'" -ExpandProperty "appDefinitions" ``` -### Example 5 +This example shows how to use the Get-MgAppCatalogTeamApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the Get-MgAppCatalogTeamApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamApp -Filter "distributionMethod eq 'organization'" ``` +This example shows how to use the Get-MgAppCatalogTeamApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md b/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md index 8204be87855..b824ccbf164 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgAppCatalogTeamAppDefinitionBot.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgAppCatalogTeamAppDefinitionBot Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgAppCatalogTeamAppDefinitionBot -TeamsAppId $teamsAppId -TeamsAppDefinitionId $teamsAppDefinitionId ``` +This example shows how to use the Get-MgAppCatalogTeamAppDefinitionBot Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChat.md b/src/Teams/Teams/examples/v1.0/Get-MgChat.md index 224f490b31b..7aba3b16c0c 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChat.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChat.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgChat Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChat -ChatId $chatId -ExpandProperty "members" ``` -### Example 2 +This example shows how to use the Get-MgChat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgChat Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChat -ChatId $chatId ``` -### Example 3 +This example shows how to use the Get-MgChat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgChat Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChat -ChatId $chatId ``` -### Example 4 +This example shows how to use the Get-MgChat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgChat Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChat -Sort "lastMessagePreview/createdDateTime desc" ``` +This example shows how to use the Get-MgChat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatInstalledApp.md b/src/Teams/Teams/examples/v1.0/Get-MgChatInstalledApp.md index 9d3acb0468c..494295a7604 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatInstalledApp.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgChatInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChatInstalledApp -ChatId $chatId -TeamsAppInstallationId $teamsAppInstallationId ``` -### Example 2 +This example shows how to use the Get-MgChatInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgChatInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChatInstalledApp -ChatId $chatId -ExpandProperty "teamsApp,teamsAppDefinition" -Filter "teamsApp/externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee'" ``` -### Example 3 +This example shows how to use the Get-MgChatInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgChatInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChatInstalledApp -ChatId $chatId -ExpandProperty "teamsAppDefinition(`$expand=bot)" ``` -### Example 4 +This example shows how to use the Get-MgChatInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgChatInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChatInstalledApp -ChatId $chatId ``` +This example shows how to use the Get-MgChatInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatMember.md b/src/Teams/Teams/examples/v1.0/Get-MgChatMember.md index 596d37ffca6..d1744db6365 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatMember.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgChatMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChatMember -ChatId $chatId -ConversationMemberId $conversationMemberId ``` -### Example 2 +This example shows how to use the Get-MgChatMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgChatMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChatMember -ChatId $chatId ``` +This example shows how to use the Get-MgChatMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatMessage.md b/src/Teams/Teams/examples/v1.0/Get-MgChatMessage.md index 2235cf0358f..abe16ce95cd 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatMessage.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatMessage.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgChatMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChatMessage -ChatId $chatId -Top 2 ``` -### Example 2 +This example shows how to use the Get-MgChatMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgChatMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChatMessage -ChatId $chatId -ChatMessageId $chatMessageId ``` +This example shows how to use the Get-MgChatMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatMessageHostedContent.md b/src/Teams/Teams/examples/v1.0/Get-MgChatMessageHostedContent.md index ad4da7dfae5..7758bbb64e0 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatMessageHostedContent.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatMessageHostedContent.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgChatMessageHostedContent Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChatMessageHostedContent -ChatId $chatId -ChatMessageId $chatMessageId -ChatMessageHostedContentId $chatMessageHostedContentId ``` -### Example 2 +This example shows how to use the Get-MgChatMessageHostedContent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgChatMessageHostedContent Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChatMessageHostedContent -ChatId $chatId -ChatMessageId $chatMessageId ``` +This example shows how to use the Get-MgChatMessageHostedContent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgChatTab.md b/src/Teams/Teams/examples/v1.0/Get-MgChatTab.md index 6b703caf613..7f0e9194507 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgChatTab.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgChatTab.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgChatTab Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChatTab -ChatId $chatId -TeamsTabId $teamsTabId -ExpandProperty "teamsApp" ``` -### Example 2 +This example shows how to use the Get-MgChatTab Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgChatTab Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChatTab -ChatId $chatId -ExpandProperty "teamsApp" -Filter "teamsApp/id eq 'com.microsoft.teamspace.tab.web'" ``` -### Example 3 +This example shows how to use the Get-MgChatTab Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgChatTab Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgChatTab -ChatId $chatId -ExpandProperty "teamsApp" ``` +This example shows how to use the Get-MgChatTab Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeam.md b/src/Teams/Teams/examples/v1.0/Get-MgTeam.md index 6a46c254303..c5775d5c57f 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeam.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeam.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeam -TeamId $teamId ``` +This example shows how to use the Get-MgTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannel.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannel.md index 515d3a90af6..d14da61da70 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannel.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannel.md @@ -1,25 +1,35 @@ -### Example 1 +### Example 1: Using the Get-MgTeamChannel Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannel -TeamId $teamId -ChannelId $channelId ``` -### Example 2 +This example shows how to use the Get-MgTeamChannel Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamChannel Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannel -TeamId $teamId ``` -### Example 3 +This example shows how to use the Get-MgTeamChannel Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgTeamChannel Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannel -TeamId $teamId -Filter "membershipType eq 'shared'" ``` -### Example 4 +This example shows how to use the Get-MgTeamChannel Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgTeamChannel Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannel -TeamId $teamId ``` -### Example 5 +This example shows how to use the Get-MgTeamChannel Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the Get-MgTeamChannel Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannel -TeamId $teamId -Filter "membershipType eq 'private'" ``` +This example shows how to use the Get-MgTeamChannel Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelFileFolder.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelFileFolder.md index ebf2742c62c..3a0a9e0f4e1 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelFileFolder.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelFileFolder.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgTeamChannelFileFolder Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelFileFolder -TeamId $teamId -ChannelId $channelId ``` +This example shows how to use the Get-MgTeamChannelFileFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMember.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMember.md index 72a3f7895f4..5cace31bf2d 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMember.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgTeamChannelMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -ConversationMemberId $conversationMemberId ``` -### Example 2 +This example shows how to use the Get-MgTeamChannelMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamChannelMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId ``` +This example shows how to use the Get-MgTeamChannelMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessage.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessage.md index 45a0cf19b49..87b3587b2d6 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessage.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessage.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgTeamChannelMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessage -TeamId $teamId -Filter "lastModifiedDateTime gt 2019-11-01T00:00:00Z and lastModifiedDateTime lt 2021-11-01T00:00:00Z" ``` -### Example 2 +This example shows how to use the Get-MgTeamChannelMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamChannelMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId ``` -### Example 3 +This example shows how to use the Get-MgTeamChannelMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgTeamChannelMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -Top 3 ``` +This example shows how to use the Get-MgTeamChannelMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageHostedContent.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageHostedContent.md index 1c09ea30037..e9e6185b450 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageHostedContent.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageHostedContent.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgTeamChannelMessageHostedContent Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessageHostedContent -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId ``` +This example shows how to use the Get-MgTeamChannelMessageHostedContent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReply.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReply.md index 1a321041f1c..bacc45a32ae 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReply.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReply.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgTeamChannelMessageReply Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessageReply -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId ``` +This example shows how to use the Get-MgTeamChannelMessageReply Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReplyHostedContent.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReplyHostedContent.md index 4216f0efa5a..f876d7a2d53 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReplyHostedContent.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelMessageReplyHostedContent.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgTeamChannelMessageReplyHostedContent Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelMessageReplyHostedContent -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId -ChatMessageId1 $chatMessageId1 ``` +This example shows how to use the Get-MgTeamChannelMessageReplyHostedContent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeam.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeam.md index 16ff399c184..5d2198e61df 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeam.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeam.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgTeamChannelSharedWithTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelSharedWithTeam -TeamId $teamId -ChannelId $channelId -SharedWithChannelTeamInfoId $sharedWithChannelTeamInfoId ``` -### Example 2 +This example shows how to use the Get-MgTeamChannelSharedWithTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamChannelSharedWithTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelSharedWithTeam -TeamId $teamId -ChannelId $channelId ``` +This example shows how to use the Get-MgTeamChannelSharedWithTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeamAllowedMember.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeamAllowedMember.md index 86cea2237ad..0926580fe35 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeamAllowedMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelSharedWithTeamAllowedMember.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgTeamChannelSharedWithTeamAllowedMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelSharedWithTeamAllowedMember -TeamId $teamId -ChannelId $channelId -SharedWithChannelTeamInfoId $sharedWithChannelTeamInfoId ``` +This example shows how to use the Get-MgTeamChannelSharedWithTeamAllowedMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelTab.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelTab.md index 86dd415be27..d004d32e819 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelTab.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamChannelTab.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgTeamChannelTab Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelTab -TeamId $teamId -ChannelId $channelId -ExpandProperty "teamsApp" ``` -### Example 2 +This example shows how to use the Get-MgTeamChannelTab Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamChannelTab Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamChannelTab -TeamId $teamId -ChannelId $channelId -ExpandProperty "teamsApp" -Filter "teamsApp/id eq 'com.microsoft.teamspace.tab.planner'" ``` +This example shows how to use the Get-MgTeamChannelTab Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamIncomingChannel.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamIncomingChannel.md index e937bd7a8c0..89fe35c9364 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamIncomingChannel.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamIncomingChannel.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgTeamIncomingChannel Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamIncomingChannel -TeamId $teamId ``` +This example shows how to use the Get-MgTeamIncomingChannel Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamInstalledApp.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamInstalledApp.md index 60a66535301..2b8be82e065 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamInstalledApp.md @@ -1,25 +1,35 @@ -### Example 1 +### Example 1: Using the Get-MgTeamInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId -ExpandProperty "teamsAppDefinition" ``` -### Example 2 +This example shows how to use the Get-MgTeamInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId ``` -### Example 3 +This example shows how to use the Get-MgTeamInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgTeamInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamInstalledApp -TeamId $teamId -ExpandProperty "teamsApp,teamsAppDefinition" -Filter "teamsApp/externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee'" ``` -### Example 4 +This example shows how to use the Get-MgTeamInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgTeamInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamInstalledApp -TeamId $teamId ``` -### Example 5 +This example shows how to use the Get-MgTeamInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the Get-MgTeamInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamInstalledApp -TeamId $teamId -ExpandProperty "teamsAppDefinition" ``` +This example shows how to use the Get-MgTeamInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamMember.md index 3e4f36fe5a3..ba822ca71cd 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamMember.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgTeamMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamMember -TeamId $teamId -Filter "(microsoft.graph.aadUserConversationMember/userId eq '73761f06-2ac9-469c-9f10-279a8cc267f9')" ``` -### Example 2 +This example shows how to use the Get-MgTeamMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamMember -TeamId $teamId -Filter "(microsoft.graph.aadUserConversationMember/displayName eq 'Harry Johnson' or microsoft.graph.aadUserConversationMember/email eq 'admin@M365x987948.OnMicrosoft.com')" ``` -### Example 3 +This example shows how to use the Get-MgTeamMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgTeamMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamMember -TeamId $teamId ``` -### Example 4 +This example shows how to use the Get-MgTeamMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgTeamMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamMember -TeamId $teamId -ConversationMemberId $conversationMemberId ``` +This example shows how to use the Get-MgTeamMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamPrimaryChannel.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamPrimaryChannel.md index 94f10c1f613..64ad86680d5 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamPrimaryChannel.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamPrimaryChannel.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgTeamPrimaryChannel Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamPrimaryChannel -TeamId $teamId ``` +This example shows how to use the Get-MgTeamPrimaryChannel Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamSchedule.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamSchedule.md index e39cb38c0cf..5233393eb90 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamSchedule.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamSchedule.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgTeamSchedule Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamSchedule -TeamId $teamId ``` +This example shows how to use the Get-MgTeamSchedule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOfferShiftRequest.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOfferShiftRequest.md index 826e3264d5b..4201e583e31 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOfferShiftRequest.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOfferShiftRequest.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgTeamScheduleOfferShiftRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOfferShiftRequest -TeamId $teamId -OfferShiftRequestId $offerShiftRequestId ``` -### Example 2 +This example shows how to use the Get-MgTeamScheduleOfferShiftRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamScheduleOfferShiftRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOfferShiftRequest -TeamId $teamId ``` +This example shows how to use the Get-MgTeamScheduleOfferShiftRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShift.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShift.md index 2ecda0c9907..c171548a5af 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShift.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShift.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgTeamScheduleOpenShift Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOpenShift -TeamId $teamId -OpenShiftId $openShiftId ``` -### Example 2 +This example shows how to use the Get-MgTeamScheduleOpenShift Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamScheduleOpenShift Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOpenShift -TeamId $teamId ``` +This example shows how to use the Get-MgTeamScheduleOpenShift Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShiftChangeRequest.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShiftChangeRequest.md index 18e2c3ec7cc..5f9c485ee64 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShiftChangeRequest.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleOpenShiftChangeRequest.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgTeamScheduleOpenShiftChangeRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOpenShiftChangeRequest -TeamId $teamId -OpenShiftChangeRequestId $openShiftChangeRequestId ``` -### Example 2 +This example shows how to use the Get-MgTeamScheduleOpenShiftChangeRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamScheduleOpenShiftChangeRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleOpenShiftChangeRequest -TeamId $teamId ``` +This example shows how to use the Get-MgTeamScheduleOpenShiftChangeRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSchedulingGroup.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSchedulingGroup.md index bf938150534..9aa3e33a34d 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSchedulingGroup.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSchedulingGroup.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgTeamScheduleSchedulingGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleSchedulingGroup -TeamId $teamId -SchedulingGroupId $schedulingGroupId ``` -### Example 2 +This example shows how to use the Get-MgTeamScheduleSchedulingGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamScheduleSchedulingGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleSchedulingGroup -TeamId $teamId ``` +This example shows how to use the Get-MgTeamScheduleSchedulingGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleShift.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleShift.md index 6720124ebe6..5856cd5487a 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleShift.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleShift.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgTeamScheduleShift Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleShift -TeamId $teamId -Filter "sharedShift/startDateTime ge 2019-03-11T00:00:00.000Z and sharedShift/endDateTime le 2019-03-18T00:00:00.000Z and draftShift/startDateTime ge 2019-03-11T00:00:00.000Z and draftShift/endDateTime le 2019-03-18T00:00:00.000Z" ``` -### Example 2 +This example shows how to use the Get-MgTeamScheduleShift Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamScheduleShift Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleShift -TeamId $teamId -ShiftId $shiftId ``` +This example shows how to use the Get-MgTeamScheduleShift Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSwapShiftChangeRequest.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSwapShiftChangeRequest.md index e7524240e7d..426030f97e3 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSwapShiftChangeRequest.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleSwapShiftChangeRequest.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgTeamScheduleSwapShiftChangeRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleSwapShiftChangeRequest -TeamId $teamId -SwapShiftsChangeRequestId $swapShiftsChangeRequestId ``` -### Example 2 +This example shows how to use the Get-MgTeamScheduleSwapShiftChangeRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamScheduleSwapShiftChangeRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleSwapShiftChangeRequest -TeamId $teamId ``` +This example shows how to use the Get-MgTeamScheduleSwapShiftChangeRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOff.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOff.md index d16792722ba..c68ca73e003 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOff.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOff.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgTeamScheduleTimeOff Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOff -TeamId $teamId -Filter "sharedTimeOff/startDateTime ge 2019-03-11T00:00:00.000Z and sharedTimeOff/endDateTime le 2019-03-18T00:00:00.000Z and draftTimeOff/startDateTime ge 2019-03-11T00:00:00.000Z and draftTimeOff/endDateTime le 2019-03-18T00:00:00.000Z" ``` -### Example 2 +This example shows how to use the Get-MgTeamScheduleTimeOff Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamScheduleTimeOff Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOff -TeamId $teamId -TimeOffId $timeOffId ``` +This example shows how to use the Get-MgTeamScheduleTimeOff Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffReason.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffReason.md index 926fff8446b..0d3610ebf81 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffReason.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffReason.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgTeamScheduleTimeOffReason Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOffReason -TeamId $teamId ``` -### Example 2 +This example shows how to use the Get-MgTeamScheduleTimeOffReason Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamScheduleTimeOffReason Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOffReason -TeamId $teamId -TimeOffReasonId $timeOffReasonId ``` +This example shows how to use the Get-MgTeamScheduleTimeOffReason Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffRequest.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffRequest.md index c14a7b7d261..64509cad0c8 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffRequest.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamScheduleTimeOffRequest.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgTeamScheduleTimeOffRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOffRequest -TeamId $teamId -TimeOffRequestId $timeOffRequestId ``` -### Example 2 +This example shows how to use the Get-MgTeamScheduleTimeOffRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamScheduleTimeOffRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamScheduleTimeOffRequest -TeamId $teamId ``` +This example shows how to use the Get-MgTeamScheduleTimeOffRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgTeamworkWorkforceIntegration.md b/src/Teams/Teams/examples/v1.0/Get-MgTeamworkWorkforceIntegration.md index fd602c8b0d7..c68b8ea2fb2 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgTeamworkWorkforceIntegration.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgTeamworkWorkforceIntegration.md @@ -1,10 +1,14 @@ -### Example 1 +### Example 1: Using the Get-MgTeamworkWorkforceIntegration Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamworkWorkforceIntegration -WorkforceIntegrationId $workforceIntegrationId ``` -### Example 2 +This example shows how to use the Get-MgTeamworkWorkforceIntegration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgTeamworkWorkforceIntegration Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgTeamworkWorkforceIntegration ``` +This example shows how to use the Get-MgTeamworkWorkforceIntegration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserChat.md b/src/Teams/Teams/examples/v1.0/Get-MgUserChat.md index e74a7ea5b21..b9ae90daa5c 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserChat.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserChat.md @@ -1,15 +1,21 @@ -### Example 1 +### Example 1: Using the Get-MgUserChat Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgUserChat -UserId $userId -ChatId $chatId ``` -### Example 2 +This example shows how to use the Get-MgUserChat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserChat Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgUserChat -UserId $userId -ExpandProperty "members" ``` -### Example 3 +This example shows how to use the Get-MgUserChat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgUserChat Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgUserChat -UserId $userId ``` +This example shows how to use the Get-MgUserChat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserChatMember.md b/src/Teams/Teams/examples/v1.0/Get-MgUserChatMember.md index d30629ea6e1..17c02b1a7bc 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserChatMember.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserChatMember.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserChatMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams # A UPN can also be used as -UserId. Get-MgUserChatMember -UserId $userId -ChatId $chatId ``` +This example shows how to use the Get-MgUserChatMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserJoinedTeam.md b/src/Teams/Teams/examples/v1.0/Get-MgUserJoinedTeam.md index bba9a39e5e3..9abe90500f2 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserJoinedTeam.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserJoinedTeam.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserJoinedTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams # A UPN can also be used as -UserId. Get-MgUserJoinedTeam -UserId $userId ``` +This example shows how to use the Get-MgUserJoinedTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkAssociatedTeam.md b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkAssociatedTeam.md index 789388e4865..7e79ecbc9df 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkAssociatedTeam.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkAssociatedTeam.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserTeamworkAssociatedTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams # A UPN can also be used as -UserId. Get-MgUserTeamworkAssociatedTeam -UserId $userId ``` +This example shows how to use the Get-MgUserTeamworkAssociatedTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledApp.md b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledApp.md index f4dbef07d90..622f8cedbc9 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledApp.md @@ -1,20 +1,28 @@ -### Example 1 +### Example 1: Using the Get-MgUserTeamworkInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgUserTeamworkInstalledApp -UserId $userId -UserScopeTeamsAppInstallationId $userScopeTeamsAppInstallationId ``` -### Example 2 +This example shows how to use the Get-MgUserTeamworkInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserTeamworkInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgUserTeamworkInstalledApp -UserId $userId ``` -### Example 3 +This example shows how to use the Get-MgUserTeamworkInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Get-MgUserTeamworkInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgUserTeamworkInstalledApp -UserId $userId -ExpandProperty "teamsApp,teamsAppDefinition" -Filter "teamsApp/externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee'" ``` -### Example 4 +This example shows how to use the Get-MgUserTeamworkInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Get-MgUserTeamworkInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgUserTeamworkInstalledApp -UserId $userId -ExpandProperty "teamsAppDefinition" ``` +This example shows how to use the Get-MgUserTeamworkInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledAppChat.md b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledAppChat.md index e99adebaa13..8a1104237c5 100644 --- a/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledAppChat.md +++ b/src/Teams/Teams/examples/v1.0/Get-MgUserTeamworkInstalledAppChat.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgUserTeamworkInstalledAppChat Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Get-MgUserTeamworkInstalledAppChat -UserId $userId -UserScopeTeamsAppInstallationId $userScopeTeamsAppInstallationId ``` +This example shows how to use the Get-MgUserTeamworkInstalledAppChat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Invoke-MgArchiveTeam.md b/src/Teams/Teams/examples/v1.0/Invoke-MgArchiveTeam.md index 2f56f2c71d5..ab6c0a80cc9 100644 --- a/src/Teams/Teams/examples/v1.0/Invoke-MgArchiveTeam.md +++ b/src/Teams/Teams/examples/v1.0/Invoke-MgArchiveTeam.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Invoke-MgArchiveTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Invoke-MgArchiveTeam -TeamId $teamId ``` +This example shows how to use the Invoke-MgArchiveTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Invoke-MgShareTeamSchedule.md b/src/Teams/Teams/examples/v1.0/Invoke-MgShareTeamSchedule.md index 8ca39474385..c0df618453e 100644 --- a/src/Teams/Teams/examples/v1.0/Invoke-MgShareTeamSchedule.md +++ b/src/Teams/Teams/examples/v1.0/Invoke-MgShareTeamSchedule.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgShareTeamSchedule Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -8,3 +8,5 @@ $params = @{ } Invoke-MgShareTeamSchedule -TeamId $teamId -BodyParameter $params ``` +This example shows how to use the Invoke-MgShareTeamSchedule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Invoke-MgUnarchiveTeam.md b/src/Teams/Teams/examples/v1.0/Invoke-MgUnarchiveTeam.md index 12e8a20d0ce..f914c8b2ff3 100644 --- a/src/Teams/Teams/examples/v1.0/Invoke-MgUnarchiveTeam.md +++ b/src/Teams/Teams/examples/v1.0/Invoke-MgUnarchiveTeam.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Invoke-MgUnarchiveTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Invoke-MgUnarchiveTeam -TeamId $teamId ``` +This example shows how to use the Invoke-MgUnarchiveTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgAppCatalogTeamApp.md b/src/Teams/Teams/examples/v1.0/New-MgAppCatalogTeamApp.md index 775441c7106..ef5f8789a92 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgAppCatalogTeamApp.md +++ b/src/Teams/Teams/examples/v1.0/New-MgAppCatalogTeamApp.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the New-MgAppCatalogTeamApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams New-MgAppCatalogTeamApp -Requiresreview true ``` +This example shows how to use the New-MgAppCatalogTeamApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgChat.md b/src/Teams/Teams/examples/v1.0/New-MgChat.md index 3758d8401f8..37c4169c6c9 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChat.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChat.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgChat Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -30,7 +30,9 @@ $params = @{ } New-MgChat -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgChat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgChat Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -62,7 +64,9 @@ $params = @{ } New-MgChat -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgChat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgChat Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -94,7 +98,9 @@ $params = @{ } New-MgChat -BodyParameter $params ``` -### Example 4 +This example shows how to use the New-MgChat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the New-MgChat Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -119,7 +125,9 @@ $params = @{ } New-MgChat -BodyParameter $params ``` -### Example 5 +This example shows how to use the New-MgChat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the New-MgChat Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -143,7 +151,9 @@ $params = @{ } New-MgChat -BodyParameter $params ``` -### Example 6 +This example shows how to use the New-MgChat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 6: Using the New-MgChat Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -167,3 +177,5 @@ $params = @{ } New-MgChat -BodyParameter $params ``` +This example shows how to use the New-MgChat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgChatInstalledApp.md b/src/Teams/Teams/examples/v1.0/New-MgChatInstalledApp.md index b9afd8cd676..b6dd816d25f 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChatInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChatInstalledApp.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgChatInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgChatInstalledApp -ChatId $chatId -BodyParameter $params ``` +This example shows how to use the New-MgChatInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgChatMember.md b/src/Teams/Teams/examples/v1.0/New-MgChatMember.md index 49f70fe8c28..8c6924e5762 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChatMember.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChatMember.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgChatMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -11,7 +11,9 @@ $params = @{ } New-MgChatMember -ChatId $chatId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgChatMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgChatMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -24,7 +26,9 @@ $params = @{ } New-MgChatMember -ChatId $chatId -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgChatMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgChatMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -36,7 +40,9 @@ $params = @{ } New-MgChatMember -ChatId $chatId -BodyParameter $params ``` -### Example 4 +This example shows how to use the New-MgChatMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the New-MgChatMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -49,3 +55,5 @@ $params = @{ } New-MgChatMember -ChatId $chatId -BodyParameter $params ``` +This example shows how to use the New-MgChatMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgChatMessage.md b/src/Teams/Teams/examples/v1.0/New-MgChatMessage.md index e0119df695a..b63d3653478 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChatMessage.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChatMessage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgChatMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -20,7 +20,9 @@ $params = @{ } New-MgChatMessage -ChatId $chatId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgChatMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgChatMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -30,3 +32,5 @@ $params = @{ } New-MgChatMessage -ChatId $chatId -BodyParameter $params ``` +This example shows how to use the New-MgChatMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgChatTab.md b/src/Teams/Teams/examples/v1.0/New-MgChatTab.md index 4302937d1ad..d3b2d1e153f 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgChatTab.md +++ b/src/Teams/Teams/examples/v1.0/New-MgChatTab.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgChatTab Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -13,3 +13,5 @@ $params = @{ } New-MgChatTab -ChatId $chatId -BodyParameter $params ``` +This example shows how to use the New-MgChatTab Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeam.md b/src/Teams/Teams/examples/v1.0/New-MgTeam.md index 74c57519553..b761ac785bf 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeam.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeam.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -32,7 +32,9 @@ $params = @{ } New-MgTeam -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -42,7 +44,9 @@ $params = @{ } New-MgTeam -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -77,7 +81,9 @@ $params = @{ } New-MgTeam -BodyParameter $params ``` -### Example 4 +This example shows how to use the New-MgTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the New-MgTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -86,7 +92,9 @@ $params = @{ } New-MgTeam -BodyParameter $params ``` -### Example 5 +This example shows how to use the New-MgTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the New-MgTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -167,7 +175,9 @@ $params = @{ } New-MgTeam -BodyParameter $params ``` -### Example 6 +This example shows how to use the New-MgTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 6: Using the New-MgTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -186,7 +196,9 @@ $params = @{ } New-MgTeam -BodyParameter $params ``` -### Example 7 +This example shows how to use the New-MgTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 7: Using the New-MgTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -196,7 +208,9 @@ $params = @{ } New-MgTeam -BodyParameter $params ``` -### Example 8 +This example shows how to use the New-MgTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 8: Using the New-MgTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -215,3 +229,5 @@ $params = @{ } New-MgTeam -BodyParameter $params ``` +This example shows how to use the New-MgTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannel.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannel.md index a9292b65eb3..bc0b86b38a8 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannel.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannel.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgTeamChannel Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -9,7 +9,9 @@ $params = @{ } New-MgTeamChannel -TeamId $teamId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgTeamChannel Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgTeamChannel Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -19,7 +21,9 @@ $params = @{ } New-MgTeamChannel -TeamId $teamId -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgTeamChannel Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgTeamChannel Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -39,7 +43,9 @@ $params = @{ } New-MgTeamChannel -TeamId $teamId -BodyParameter $params ``` -### Example 4 +This example shows how to use the New-MgTeamChannel Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the New-MgTeamChannel Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -59,7 +65,9 @@ $params = @{ } New-MgTeamChannel -TeamId $teamId -BodyParameter $params ``` -### Example 5 +This example shows how to use the New-MgTeamChannel Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the New-MgTeamChannel Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -78,3 +86,5 @@ $params = @{ } New-MgTeamChannel -TeamId $teamId -BodyParameter $params ``` +This example shows how to use the New-MgTeamChannel Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelEmail.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelEmail.md index 3a42d6432bb..9891e05aa78 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelEmail.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelEmail.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the New-MgTeamChannelEmail Cmdlet ```powershell Import-Module Microsoft.Graph.Teams New-MgTeamChannelEmail -TeamId $teamId -ChannelId $channelId ``` +This example shows how to use the New-MgTeamChannelEmail Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMember.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMember.md index 8ac9576561c..b54f2b0b4b6 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMember.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMember.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgTeamChannelMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -10,12 +10,16 @@ $params = @{ } New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgTeamChannelMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgTeamChannelMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId ``` -### Example 3 +This example shows how to use the New-MgTeamChannelMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgTeamChannelMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -27,7 +31,9 @@ $params = @{ } New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -### Example 4 +This example shows how to use the New-MgTeamChannelMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the New-MgTeamChannelMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -38,7 +44,9 @@ $params = @{ } New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -### Example 5 +This example shows how to use the New-MgTeamChannelMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the New-MgTeamChannelMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -49,7 +57,9 @@ $params = @{ } New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -### Example 6 +This example shows how to use the New-MgTeamChannelMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 6: Using the New-MgTeamChannelMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -60,7 +70,9 @@ $params = @{ } New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -### Example 7 +This example shows how to use the New-MgTeamChannelMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 7: Using the New-MgTeamChannelMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -72,3 +84,5 @@ $params = @{ } New-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` +This example shows how to use the New-MgTeamChannelMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessage.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessage.md index a801dd9a72d..706fd97793a 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessage.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgTeamChannelMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -8,7 +8,9 @@ $params = @{ } New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgTeamChannelMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgTeamChannelMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -18,7 +20,9 @@ $params = @{ } New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -### Example 3 +This example shows how to use the New-MgTeamChannelMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the New-MgTeamChannelMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -42,7 +46,9 @@ $params = @{ } New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -### Example 4 +This example shows how to use the New-MgTeamChannelMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the New-MgTeamChannelMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -77,7 +83,9 @@ $params = @{ } New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -### Example 5 +This example shows how to use the New-MgTeamChannelMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the New-MgTeamChannelMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -96,7 +104,9 @@ $params = @{ } New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -### Example 6 +This example shows how to use the New-MgTeamChannelMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 6: Using the New-MgTeamChannelMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -209,7 +219,9 @@ $params = @{ } New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -### Example 7 +This example shows how to use the New-MgTeamChannelMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 7: Using the New-MgTeamChannelMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -233,7 +245,9 @@ $params = @{ } New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` -### Example 8 +This example shows how to use the New-MgTeamChannelMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 8: Using the New-MgTeamChannelMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -259,3 +273,5 @@ $params = @{ } New-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -BodyParameter $params ``` +This example shows how to use the New-MgTeamChannelMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessageReply.md b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessageReply.md index 95e1e61404c..148720384ee 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessageReply.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamChannelMessageReply.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgTeamChannelMessageReply Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -9,7 +9,9 @@ $params = @{ } New-MgTeamChannelMessageReply -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgTeamChannelMessageReply Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgTeamChannelMessageReply Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -20,3 +22,5 @@ $params = @{ } New-MgTeamChannelMessageReply -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId -BodyParameter $params ``` +This example shows how to use the New-MgTeamChannelMessageReply Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamInstalledApp.md b/src/Teams/Teams/examples/v1.0/New-MgTeamInstalledApp.md index 1112956070a..2f1e30fcb97 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamInstalledApp.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgTeamInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgTeamInstalledApp -TeamId $teamId -BodyParameter $params ``` +This example shows how to use the New-MgTeamInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/New-MgTeamMember.md index d7cca129aa2..9c9e8d3623e 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamMember.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgTeamMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -10,7 +10,9 @@ $params = @{ } New-MgTeamMember -TeamId $teamId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgTeamMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgTeamMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -22,3 +24,5 @@ $params = @{ } New-MgTeamMember -TeamId $teamId -BodyParameter $params ``` +This example shows how to use the New-MgTeamMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOfferShiftRequest.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOfferShiftRequest.md index daebca6206e..5b52d6fde3c 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOfferShiftRequest.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOfferShiftRequest.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgTeamScheduleOfferShiftRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgTeamScheduleOfferShiftRequest -TeamId $teamId -BodyParameter $params ``` +This example shows how to use the New-MgTeamScheduleOfferShiftRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShift.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShift.md index d3abb18d6c2..5e48c4e3cca 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShift.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShift.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgTeamScheduleOpenShift Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -36,3 +36,5 @@ $params = @{ } New-MgTeamScheduleOpenShift -TeamId $teamId -BodyParameter $params ``` +This example shows how to use the New-MgTeamScheduleOpenShift Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShiftChangeRequest.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShiftChangeRequest.md index 25b091b9656..e49ac34efd1 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShiftChangeRequest.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleOpenShiftChangeRequest.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgTeamScheduleOpenShiftChangeRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -7,3 +7,5 @@ $params = @{ } New-MgTeamScheduleOpenShiftChangeRequest -TeamId $teamId -BodyParameter $params ``` +This example shows how to use the New-MgTeamScheduleOpenShiftChangeRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSchedulingGroup.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSchedulingGroup.md index 24aa2b9eb51..c2fef1a223f 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSchedulingGroup.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSchedulingGroup.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgTeamScheduleSchedulingGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -11,3 +11,5 @@ $params = @{ } New-MgTeamScheduleSchedulingGroup -TeamId $teamId -BodyParameter $params ``` +This example shows how to use the New-MgTeamScheduleSchedulingGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleShift.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleShift.md index 78419774054..00ae35bfce1 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleShift.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleShift.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgTeamScheduleShift Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -40,3 +40,5 @@ $params = @{ } New-MgTeamScheduleShift -TeamId $teamId -BodyParameter $params ``` +This example shows how to use the New-MgTeamScheduleShift Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSwapShiftChangeRequest.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSwapShiftChangeRequest.md index 1fcfcf9953c..6871b318d41 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSwapShiftChangeRequest.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleSwapShiftChangeRequest.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgTeamScheduleSwapShiftChangeRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -9,3 +9,5 @@ $params = @{ } New-MgTeamScheduleSwapShiftChangeRequest -TeamId $teamId -BodyParameter $params ``` +This example shows how to use the New-MgTeamScheduleSwapShiftChangeRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOff.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOff.md index 4daff183729..09f871a00b9 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOff.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOff.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgTeamScheduleTimeOff Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -18,3 +18,5 @@ $params = @{ } New-MgTeamScheduleTimeOff -TeamId $teamId -BodyParameter $params ``` +This example shows how to use the New-MgTeamScheduleTimeOff Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOffReason.md b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOffReason.md index 50fb9cc697f..3452d478074 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOffReason.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamScheduleTimeOffReason.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgTeamScheduleTimeOffReason Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -8,3 +8,5 @@ $params = @{ } New-MgTeamScheduleTimeOffReason -TeamId $teamId -BodyParameter $params ``` +This example shows how to use the New-MgTeamScheduleTimeOffReason Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgTeamworkWorkforceIntegration.md b/src/Teams/Teams/examples/v1.0/New-MgTeamworkWorkforceIntegration.md index c2c2d99d700..81bf71d74ab 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgTeamworkWorkforceIntegration.md +++ b/src/Teams/Teams/examples/v1.0/New-MgTeamworkWorkforceIntegration.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgTeamworkWorkforceIntegration Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -14,3 +14,5 @@ $params = @{ } New-MgTeamworkWorkforceIntegration -BodyParameter $params ``` +This example shows how to use the New-MgTeamworkWorkforceIntegration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/New-MgUserTeamworkInstalledApp.md b/src/Teams/Teams/examples/v1.0/New-MgUserTeamworkInstalledApp.md index 764ee28d72f..d628d59ee6e 100644 --- a/src/Teams/Teams/examples/v1.0/New-MgUserTeamworkInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/New-MgUserTeamworkInstalledApp.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserTeamworkInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -6,3 +6,5 @@ $params = @{ } New-MgUserTeamworkInstalledApp -UserId $userId -BodyParameter $params ``` +This example shows how to use the New-MgUserTeamworkInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgAppCatalogTeamApp.md b/src/Teams/Teams/examples/v1.0/Remove-MgAppCatalogTeamApp.md index 1b57568a44c..772453c5e48 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgAppCatalogTeamApp.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgAppCatalogTeamApp.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgAppCatalogTeamApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgAppCatalogTeamApp -TeamsAppId $teamsAppId ``` +This example shows how to use the Remove-MgAppCatalogTeamApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgChatInstalledApp.md b/src/Teams/Teams/examples/v1.0/Remove-MgChatInstalledApp.md index 3ffe37f14f9..c9b09294f71 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgChatInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgChatInstalledApp.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgChatInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgChatInstalledApp -ChatId $chatId -TeamsAppInstallationId $teamsAppInstallationId ``` +This example shows how to use the Remove-MgChatInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgChatMember.md b/src/Teams/Teams/examples/v1.0/Remove-MgChatMember.md index 5ce5e49ce6f..f488c163441 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgChatMember.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgChatMember.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgChatMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgChatMember -ChatId $chatId -ConversationMemberId $conversationMemberId ``` +This example shows how to use the Remove-MgChatMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgChatTab.md b/src/Teams/Teams/examples/v1.0/Remove-MgChatTab.md index b8596e7a4bf..fd001facd28 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgChatTab.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgChatTab.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgChatTab Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgChatTab -ChatId $chatId -TeamsTabId $teamsTabId ``` +This example shows how to use the Remove-MgChatTab Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannel.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannel.md index 85a25440d8e..8a8ef994ba2 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannel.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannel.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgTeamChannel Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamChannel -TeamId $teamId -ChannelId $channelId ``` +This example shows how to use the Remove-MgTeamChannel Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelEmail.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelEmail.md index 0b66f0f1ed3..bcee4a41896 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelEmail.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelEmail.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgTeamChannelEmail Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamChannelEmail -TeamId $teamId -ChannelId $channelId ``` +This example shows how to use the Remove-MgTeamChannelEmail Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelMember.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelMember.md index 47b38825993..85c27485640 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelMember.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelMember.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgTeamChannelMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -ConversationMemberId $conversationMemberId ``` +This example shows how to use the Remove-MgTeamChannelMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelSharedWithTeam.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelSharedWithTeam.md index 766c5ff904a..f02708aff2b 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelSharedWithTeam.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamChannelSharedWithTeam.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgTeamChannelSharedWithTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamChannelSharedWithTeam -TeamId $teamId -ChannelId $channelId -SharedWithChannelTeamInfoId $sharedWithChannelTeamInfoId ``` +This example shows how to use the Remove-MgTeamChannelSharedWithTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamInstalledApp.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamInstalledApp.md index 9e010218361..adc66855ad1 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamInstalledApp.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgTeamInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId ``` +This example shows how to use the Remove-MgTeamInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamMember.md index 5ec52db5e36..6b8152c9664 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamMember.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgTeamMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamMember -TeamId $teamId -ConversationMemberId $conversationMemberId ``` +This example shows how to use the Remove-MgTeamMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleOpenShift.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleOpenShift.md index 820d7c648ca..589613a7e42 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleOpenShift.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleOpenShift.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgTeamScheduleOpenShift Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleOpenShift -TeamId $teamId -OpenShiftId $openShiftId ``` +This example shows how to use the Remove-MgTeamScheduleOpenShift Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleSchedulingGroup.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleSchedulingGroup.md index b44031dba05..8d6489822f4 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleSchedulingGroup.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleSchedulingGroup.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgTeamScheduleSchedulingGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleSchedulingGroup -TeamId $teamId -SchedulingGroupId $schedulingGroupId ``` +This example shows how to use the Remove-MgTeamScheduleSchedulingGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleShift.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleShift.md index 103003f2342..ae7c5ad23a8 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleShift.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleShift.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgTeamScheduleShift Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleShift -TeamId $teamId -ShiftId $shiftId ``` +This example shows how to use the Remove-MgTeamScheduleShift Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOff.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOff.md index 3e2a17bae8b..f239484debf 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOff.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOff.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgTeamScheduleTimeOff Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleTimeOff -TeamId $teamId -TimeOffId $timeOffId ``` +This example shows how to use the Remove-MgTeamScheduleTimeOff Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffReason.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffReason.md index 72d430ab2d4..ccb9258089d 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffReason.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffReason.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgTeamScheduleTimeOffReason Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleTimeOffReason -TeamId $teamId -TimeOffReasonId $timeOffReasonId ``` +This example shows how to use the Remove-MgTeamScheduleTimeOffReason Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffRequest.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffRequest.md index 41523a79610..dc587b1ac9a 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffRequest.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamScheduleTimeOffRequest.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgTeamScheduleTimeOffRequest Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamScheduleTimeOffRequest -TeamId $teamId -TimeOffRequestId $timeOffRequestId ``` +This example shows how to use the Remove-MgTeamScheduleTimeOffRequest Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgTeamworkWorkforceIntegration.md b/src/Teams/Teams/examples/v1.0/Remove-MgTeamworkWorkforceIntegration.md index 0406f22f521..f857bac3fb1 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgTeamworkWorkforceIntegration.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgTeamworkWorkforceIntegration.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgTeamworkWorkforceIntegration Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgTeamworkWorkforceIntegration -WorkforceIntegrationId $workforceIntegrationId ``` +This example shows how to use the Remove-MgTeamworkWorkforceIntegration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Remove-MgUserTeamworkInstalledApp.md b/src/Teams/Teams/examples/v1.0/Remove-MgUserTeamworkInstalledApp.md index dfd4b71f74a..b6fe582e58c 100644 --- a/src/Teams/Teams/examples/v1.0/Remove-MgUserTeamworkInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Remove-MgUserTeamworkInstalledApp.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Remove-MgUserTeamworkInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Remove-MgUserTeamworkInstalledApp -UserId $userId -UserScopeTeamsAppInstallationId $userScopeTeamsAppInstallationId ``` +This example shows how to use the Remove-MgUserTeamworkInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Send-MgChatActivityNotification.md b/src/Teams/Teams/examples/v1.0/Send-MgChatActivityNotification.md index 0bd15ba99c9..a2714d05ba4 100644 --- a/src/Teams/Teams/examples/v1.0/Send-MgChatActivityNotification.md +++ b/src/Teams/Teams/examples/v1.0/Send-MgChatActivityNotification.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Send-MgChatActivityNotification Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -23,7 +23,9 @@ $params = @{ } Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Send-MgChatActivityNotification Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Send-MgChatActivityNotification Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -48,7 +50,9 @@ $params = @{ } Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params ``` -### Example 3 +This example shows how to use the Send-MgChatActivityNotification Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Send-MgChatActivityNotification Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -74,7 +78,9 @@ $params = @{ } Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params ``` -### Example 4 +This example shows how to use the Send-MgChatActivityNotification Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Send-MgChatActivityNotification Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -100,7 +106,9 @@ $params = @{ } Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params ``` -### Example 5 +This example shows how to use the Send-MgChatActivityNotification Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 5: Using the Send-MgChatActivityNotification Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -125,3 +133,5 @@ $params = @{ } Send-MgChatActivityNotification -ChatId $chatId -BodyParameter $params ``` +This example shows how to use the Send-MgChatActivityNotification Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Send-MgTeamActivityNotification.md b/src/Teams/Teams/examples/v1.0/Send-MgTeamActivityNotification.md index af08be3a38d..0833be706af 100644 --- a/src/Teams/Teams/examples/v1.0/Send-MgTeamActivityNotification.md +++ b/src/Teams/Teams/examples/v1.0/Send-MgTeamActivityNotification.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Send-MgTeamActivityNotification Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -24,7 +24,9 @@ $params = @{ } Send-MgTeamActivityNotification -TeamId $teamId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Send-MgTeamActivityNotification Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Send-MgTeamActivityNotification Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -49,7 +51,9 @@ $params = @{ } Send-MgTeamActivityNotification -TeamId $teamId -BodyParameter $params ``` -### Example 3 +This example shows how to use the Send-MgTeamActivityNotification Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Send-MgTeamActivityNotification Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -78,7 +82,9 @@ $params = @{ } Send-MgTeamActivityNotification -TeamId $teamId -BodyParameter $params ``` -### Example 4 +This example shows how to use the Send-MgTeamActivityNotification Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 4: Using the Send-MgTeamActivityNotification Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -107,3 +113,5 @@ $params = @{ } Send-MgTeamActivityNotification -TeamId $teamId -BodyParameter $params ``` +This example shows how to use the Send-MgTeamActivityNotification Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Update-MgChat.md b/src/Teams/Teams/examples/v1.0/Update-MgChat.md index 635f05ef288..7d3d89e4caf 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgChat.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgChat.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgChat Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgChat -ChatId $chatId -BodyParameter $params ``` +This example shows how to use the Update-MgChat Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Update-MgChatInstalledApp.md b/src/Teams/Teams/examples/v1.0/Update-MgChatInstalledApp.md index 321fdbbf55c..02b587bcdc1 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgChatInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgChatInstalledApp.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Update-MgChatInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Update-MgChatInstalledApp -ChatId $chatId -TeamsAppInstallationId $teamsAppInstallationId ``` +This example shows how to use the Update-MgChatInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Update-MgChatTab.md b/src/Teams/Teams/examples/v1.0/Update-MgChatTab.md index 91b213756bd..81a3376c7ea 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgChatTab.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgChatTab.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgChatTab Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Update-MgChatTab -ChatId $chatId -TeamsTabId $teamsTabId -BodyParameter $params ``` +This example shows how to use the Update-MgChatTab Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeam.md b/src/Teams/Teams/examples/v1.0/Update-MgTeam.md index 86d9c6293d6..7bde45ee6c4 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeam.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeam.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgTeam Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -16,3 +16,5 @@ $params = @{ } Update-MgTeam -TeamId $teamId -BodyParameter $params ``` +This example shows how to use the Update-MgTeam Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannel.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannel.md index 0449d11a47a..d8e8a20f2a0 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannel.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannel.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Update-MgTeamChannel Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Update-MgTeamChannel -TeamId $teamId -ChannelId $channelId ``` +This example shows how to use the Update-MgTeamChannel Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMember.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMember.md index 69048045abd..0b2d2bba171 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMember.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMember.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgTeamChannelMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Update-MgTeamChannelMember -TeamId $teamId -ChannelId $channelId -ConversationMemberId $conversationMemberId -BodyParameter $params ``` +This example shows how to use the Update-MgTeamChannelMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMessage.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMessage.md index ace62533047..73c9c8450e7 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMessage.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamChannelMessage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgTeamChannelMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -16,3 +16,5 @@ $params = @{ } Update-MgTeamChannelMessage -TeamId $teamId -ChannelId $channelId -ChatMessageId $chatMessageId -BodyParameter $params ``` +This example shows how to use the Update-MgTeamChannelMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamInstalledApp.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamInstalledApp.md index 46fb7cf299b..4a1d0192432 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamInstalledApp.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamInstalledApp.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Update-MgTeamInstalledApp Cmdlet ```powershell Import-Module Microsoft.Graph.Teams Update-MgTeamInstalledApp -TeamId $teamId -TeamsAppInstallationId $teamsAppInstallationId ``` +This example shows how to use the Update-MgTeamInstalledApp Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamMember.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamMember.md index 6a53451aeec..83b8cbdcd60 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamMember.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamMember.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgTeamMember Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Update-MgTeamMember -TeamId $teamId -ConversationMemberId $conversationMemberId -BodyParameter $params ``` +This example shows how to use the Update-MgTeamMember Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleOpenShift.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleOpenShift.md index 826e741d4f6..f17df55b110 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleOpenShift.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleOpenShift.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgTeamScheduleOpenShift Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -24,3 +24,5 @@ $params = @{ } Update-MgTeamScheduleOpenShift -TeamId $teamId -OpenShiftId $openShiftId -BodyParameter $params ``` +This example shows how to use the Update-MgTeamScheduleOpenShift Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleShift.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleShift.md index 1c12f3b4618..252b9100683 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleShift.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamScheduleShift.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgTeamScheduleShift Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -51,3 +51,5 @@ $params = @{ } Update-MgTeamScheduleShift -TeamId $teamId -ShiftId $shiftId -BodyParameter $params ``` +This example shows how to use the Update-MgTeamScheduleShift Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Teams/Teams/examples/v1.0/Update-MgTeamworkWorkforceIntegration.md b/src/Teams/Teams/examples/v1.0/Update-MgTeamworkWorkforceIntegration.md index e70cc178cb1..e8fc8ee8ad4 100644 --- a/src/Teams/Teams/examples/v1.0/Update-MgTeamworkWorkforceIntegration.md +++ b/src/Teams/Teams/examples/v1.0/Update-MgTeamworkWorkforceIntegration.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgTeamworkWorkforceIntegration Cmdlet ```powershell Import-Module Microsoft.Graph.Teams $params = @{ @@ -14,3 +14,5 @@ $params = @{ } Update-MgTeamworkWorkforceIntegration -WorkforceIntegrationId $workforceIntegrationId -BodyParameter $params ``` +This example shows how to use the Update-MgTeamworkWorkforceIntegration Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Clear-MgUserPresence.md b/src/Users.Actions/Users.Actions/examples/v1.0/Clear-MgUserPresence.md index 18ba179fce9..fe8662d194e 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Clear-MgUserPresence.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Clear-MgUserPresence.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Clear-MgUserPresence Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Clear-MgUserPresence -UserId $userId -BodyParameter $params ``` +This example shows how to use the Clear-MgUserPresence Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberGroup.md b/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberGroup.md index 405d65dc541..dcb56a01465 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberGroup.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberGroup.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Confirm-MgUserMemberGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -10,3 +10,5 @@ $params = @{ # A UPN can also be used as -UserId. Confirm-MgUserMemberGroup -UserId $userId -BodyParameter $params ``` +This example shows how to use the Confirm-MgUserMemberGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberObject.md b/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberObject.md index d9567c5ee78..c3dcebd3b87 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberObject.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Confirm-MgUserMemberObject.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Confirm-MgUserMemberObject Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -12,3 +12,5 @@ $params = @{ # A UPN can also be used as -UserId. Confirm-MgUserMemberObject -UserId $userId -BodyParameter $params ``` +This example shows how to use the Confirm-MgUserMemberObject Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMailFolder.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMailFolder.md index 1c8a8de2fb0..a7ab132ebe2 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMailFolder.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMailFolder.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Copy-MgUserMailFolder Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. Copy-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` +This example shows how to use the Copy-MgUserMailFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMessage.md index 07fda129d8f..2bb387173c0 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserMessage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Copy-MgUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. Copy-MgUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params ``` +This example shows how to use the Copy-MgUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteNotebook.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteNotebook.md index d31841acdf5..207cf1c94ce 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteNotebook.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteNotebook.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Copy-MgUserOnenoteNotebook Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -8,3 +8,5 @@ $params = @{ # A UPN can also be used as -UserId. Copy-MgUserOnenoteNotebook -UserId $userId -NotebookId $notebookId -BodyParameter $params ``` +This example shows how to use the Copy-MgUserOnenoteNotebook Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenotePageToSection.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenotePageToSection.md index 7d8fc478c84..ec711fd2458 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenotePageToSection.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenotePageToSection.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Copy-MgUserOnenotePageToSection Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -8,3 +8,5 @@ $params = @{ # A UPN can also be used as -UserId. Copy-MgUserOnenotePageToSection -UserId $userId -OnenotePageId $onenotePageId -BodyParameter $params ``` +This example shows how to use the Copy-MgUserOnenotePageToSection Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToNotebook.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToNotebook.md index 6ee52f28fe1..31494b93715 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToNotebook.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToNotebook.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Copy-MgUserOnenoteSectionToNotebook Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -9,3 +9,5 @@ $params = @{ # A UPN can also be used as -UserId. Copy-MgUserOnenoteSectionToNotebook -UserId $userId -OnenoteSectionId $onenoteSectionId -BodyParameter $params ``` +This example shows how to use the Copy-MgUserOnenoteSectionToNotebook Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToSectionGroup.md b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToSectionGroup.md index 1db0bde3e6b..a6df0ab32dc 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToSectionGroup.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Copy-MgUserOnenoteSectionToSectionGroup.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Copy-MgUserOnenoteSectionToSectionGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -9,3 +9,5 @@ $params = @{ # A UPN can also be used as -UserId. Copy-MgUserOnenoteSectionToSectionGroup -UserId $userId -OnenoteSectionId $onenoteSectionId -BodyParameter $params ``` +This example shows how to use the Copy-MgUserOnenoteSectionToSectionGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Disable-MgUserAuthenticationPhoneMethodSmSign.md b/src/Users.Actions/Users.Actions/examples/v1.0/Disable-MgUserAuthenticationPhoneMethodSmSign.md index b9386f56e13..077e34b1887 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Disable-MgUserAuthenticationPhoneMethodSmSign.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Disable-MgUserAuthenticationPhoneMethodSmSign.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Disable-MgUserAuthenticationPhoneMethodSmSign Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. Disable-MgUserAuthenticationPhoneMethodSmSign -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId ``` +This example shows how to use the Disable-MgUserAuthenticationPhoneMethodSmSign Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Enable-MgUserAuthenticationPhoneMethodSmSign.md b/src/Users.Actions/Users.Actions/examples/v1.0/Enable-MgUserAuthenticationPhoneMethodSmSign.md index 9a28954e70d..8748de6a37c 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Enable-MgUserAuthenticationPhoneMethodSmSign.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Enable-MgUserAuthenticationPhoneMethodSmSign.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Enable-MgUserAuthenticationPhoneMethodSmSign Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. Enable-MgUserAuthenticationPhoneMethodSmSign -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId ``` +This example shows how to use the Enable-MgUserAuthenticationPhoneMethodSmSign Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Export-MgUserPersonalData.md b/src/Users.Actions/Users.Actions/examples/v1.0/Export-MgUserPersonalData.md index 7a8de3e4183..4121a126eb0 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Export-MgUserPersonalData.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Export-MgUserPersonalData.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Export-MgUserPersonalData Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -6,3 +6,5 @@ $params = @{ } Export-MgUserPersonalData -UserId $userId -BodyParameter $params ``` +This example shows how to use the Export-MgUserPersonalData Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Find-MgUserMeetingTime.md b/src/Users.Actions/Users.Actions/examples/v1.0/Find-MgUserMeetingTime.md index b91a890b2fd..3cfa9bd1ad0 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Find-MgUserMeetingTime.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Find-MgUserMeetingTime.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Find-MgUserMeetingTime Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -44,3 +44,5 @@ $params = @{ # A UPN can also be used as -UserId. Find-MgUserMeetingTime -UserId $userId -BodyParameter $params ``` +This example shows how to use the Find-MgUserMeetingTime Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserDefaultCalendarSchedule.md b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserDefaultCalendarSchedule.md index 762e908310f..aabc8af8cec 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserDefaultCalendarSchedule.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserDefaultCalendarSchedule.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Get-MgUserDefaultCalendarSchedule Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -19,3 +19,5 @@ $params = @{ # A UPN can also be used as -UserId. Get-MgUserDefaultCalendarSchedule -UserId $userId -BodyParameter $params ``` +This example shows how to use the Get-MgUserDefaultCalendarSchedule Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMailTip.md b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMailTip.md index c99731b5ecb..f683fd04749 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMailTip.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMailTip.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Get-MgUserMailTip Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -11,3 +11,5 @@ $params = @{ # A UPN can also be used as -UserId. Get-MgUserMailTip -UserId $userId -BodyParameter $params ``` +This example shows how to use the Get-MgUserMailTip Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMemberGroup.md b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMemberGroup.md index b62f4db7c8b..33ac2fa0597 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMemberGroup.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserMemberGroup.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Get-MgUserMemberGroup Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. Get-MgUserMemberGroup -UserId $userId -BodyParameter $params ``` +This example shows how to use the Get-MgUserMemberGroup Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md index 5a9bd6943a4..f14c810a39b 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Get-MgUserOnenoteNotebookFromWebUrl.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Get-MgUserOnenoteNotebookFromWebUrl Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. Get-MgUserOnenoteNotebookFromWebUrl -UserId $userId -BodyParameter $params ``` +This example shows how to use the Get-MgUserOnenoteNotebookFromWebUrl Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEvent.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEvent.md index 71e581f1a3b..c67608fef6e 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEvent.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEvent.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgAcceptUserEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -8,3 +8,5 @@ $params = @{ # A UPN can also be used as -UserId. Invoke-MgAcceptUserEvent -UserId $userId -EventId $eventId -BodyParameter $params ``` +This example shows how to use the Invoke-MgAcceptUserEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEventTentatively.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEventTentatively.md index 3e687bdcbce..45686d6a7d6 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEventTentatively.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgAcceptUserEventTentatively.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgAcceptUserEventTentatively Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -18,3 +18,5 @@ $params = @{ # A UPN can also be used as -UserId. Invoke-MgAcceptUserEventTentatively -UserId $userId -EventId $eventId -BodyParameter $params ``` +This example shows how to use the Invoke-MgAcceptUserEventTentatively Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgCreateOrGetUserOnlineMeeting.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgCreateOrGetUserOnlineMeeting.md index eeb0c219d94..ef0fb716927 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgCreateOrGetUserOnlineMeeting.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgCreateOrGetUserOnlineMeeting.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgCreateOrGetUserOnlineMeeting Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -22,3 +22,5 @@ $params = @{ # A UPN can also be used as -UserId. Invoke-MgCreateOrGetUserOnlineMeeting -UserId $userId -BodyParameter $params ``` +This example shows how to use the Invoke-MgCreateOrGetUserOnlineMeeting Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDeclineUserEvent.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDeclineUserEvent.md index 29b754e9a82..d3f053a702e 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDeclineUserEvent.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDeclineUserEvent.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgDeclineUserEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -18,3 +18,5 @@ $params = @{ # A UPN can also be used as -UserId. Invoke-MgDeclineUserEvent -UserId $userId -EventId $eventId -BodyParameter $params ``` +This example shows how to use the Invoke-MgDeclineUserEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDismissUserEventReminder.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDismissUserEventReminder.md index 73b430c06d6..96e40d71f32 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDismissUserEventReminder.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgDismissUserEventReminder.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Invoke-MgDismissUserEventReminder Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. Invoke-MgDismissUserEventReminder -UserId $userId -EventId $eventId ``` +This example shows how to use the Invoke-MgDismissUserEventReminder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserEvent.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserEvent.md index a1a5820d96f..12c5120e046 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserEvent.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserEvent.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgForwardUserEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -15,3 +15,5 @@ $params = @{ # A UPN can also be used as -UserId. Invoke-MgForwardUserEvent -UserId $userId -EventId $eventId -BodyParameter $params ``` +This example shows how to use the Invoke-MgForwardUserEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserMessage.md index 1e2d5ef4d81..7a8f5c89c15 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgForwardUserMessage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgForwardUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -15,3 +15,5 @@ $params = @{ # A UPN can also be used as -UserId. Invoke-MgForwardUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params ``` +This example shows how to use the Invoke-MgForwardUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgLicenseUser.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgLicenseUser.md index 8af40cfa972..4aa1d470fc0 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgLicenseUser.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgLicenseUser.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Invoke-MgLicenseUser Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions Invoke-MgLicenseUser -UserId $userId ``` +This example shows how to use the Invoke-MgLicenseUser Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyAllUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyAllUserMessage.md index 6cc6e3072c7..919fc786105 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyAllUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyAllUserMessage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgReplyAllUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. Invoke-MgReplyAllUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params ``` +This example shows how to use the Invoke-MgReplyAllUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyUserMessage.md index 79d2e9ebe4b..d3f00ee2031 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgReplyUserMessage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgReplyUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -23,3 +23,5 @@ $params = @{ # A UPN can also be used as -UserId. Invoke-MgReplyUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params ``` +This example shows how to use the Invoke-MgReplyUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgSnoozeUserEventReminder.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgSnoozeUserEventReminder.md index d6d1342aa03..c39f7a6bb07 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgSnoozeUserEventReminder.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgSnoozeUserEventReminder.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgSnoozeUserEventReminder Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -10,3 +10,5 @@ $params = @{ # A UPN can also be used as -UserId. Invoke-MgSnoozeUserEventReminder -UserId $userId -EventId $eventId -BodyParameter $params ``` +This example shows how to use the Invoke-MgSnoozeUserEventReminder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgTranslateUserExchangeId.md b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgTranslateUserExchangeId.md index fc81537def9..708a092d56c 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgTranslateUserExchangeId.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Invoke-MgTranslateUserExchangeId.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Invoke-MgTranslateUserExchangeId Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -12,3 +12,5 @@ $params = @{ # A UPN can also be used as -UserId. Invoke-MgTranslateUserExchangeId -UserId $userId -BodyParameter $params ``` +This example shows how to use the Invoke-MgTranslateUserExchangeId Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMailFolder.md b/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMailFolder.md index bf2d8dab10f..3e00a97a0df 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMailFolder.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMailFolder.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Move-MgUserMailFolder Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. Move-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params ``` +This example shows how to use the Move-MgUserMailFolder Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMessage.md index 8de569d5dde..e52a126588e 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Move-MgUserMessage.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Move-MgUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. Move-MgUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params ``` +This example shows how to use the Move-MgUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageAttachmentUploadSession.md b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageAttachmentUploadSession.md index d236a97ed89..473e05ff164 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageAttachmentUploadSession.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageAttachmentUploadSession.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserMessageAttachmentUploadSession Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -13,7 +13,9 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserMessageAttachmentUploadSession -UserId $userId -MessageId $messageId -BodyParameter $params ``` -### Example 2 +This example shows how to use the New-MgUserMessageAttachmentUploadSession Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the New-MgUserMessageAttachmentUploadSession Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -26,3 +28,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserMessageAttachmentUploadSession -UserId $userId -MessageId $messageId -BodyParameter $params ``` +This example shows how to use the New-MgUserMessageAttachmentUploadSession Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageForward.md b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageForward.md index d6639476f62..0b62b075cba 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageForward.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageForward.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the New-MgUserMessageForward Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. New-MgUserMessageForward -UserId $userId -MessageId $messageId ``` +This example shows how to use the New-MgUserMessageForward Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReply.md b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReply.md index ed7ac9ccbf2..6226905bc8a 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReply.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReply.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the New-MgUserMessageReply Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. New-MgUserMessageReply -UserId $userId -MessageId $messageId ``` +This example shows how to use the New-MgUserMessageReply Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReplyAll.md b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReplyAll.md index d48b4044bd3..016679dacec 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReplyAll.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/New-MgUserMessageReplyAll.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the New-MgUserMessageReplyAll Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. New-MgUserMessageReplyAll -UserId $userId -MessageId $messageId ``` +This example shows how to use the New-MgUserMessageReplyAll Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Revoke-MgUserSign.md b/src/Users.Actions/Users.Actions/examples/v1.0/Revoke-MgUserSign.md index 86c406664e7..7332e13350f 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Revoke-MgUserSign.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Revoke-MgUserSign.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Revoke-MgUserSign Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. Revoke-MgUserSign -UserId $userId ``` +This example shows how to use the Revoke-MgUserSign Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMail.md b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMail.md index 4151f3da089..26423b8d60c 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMail.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMail.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Send-MgUserMail Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -28,7 +28,9 @@ $params = @{ # A UPN can also be used as -UserId. Send-MgUserMail -UserId $userId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Send-MgUserMail Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Send-MgUserMail Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -58,7 +60,9 @@ $params = @{ # A UPN can also be used as -UserId. Send-MgUserMail -UserId $userId -BodyParameter $params ``` -### Example 3 +This example shows how to use the Send-MgUserMail Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Send-MgUserMail Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -90,3 +94,5 @@ $params = @{ # A UPN can also be used as -UserId. Send-MgUserMail -UserId $userId -BodyParameter $params ``` +This example shows how to use the Send-MgUserMail Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMessage.md b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMessage.md index 1b38db96321..e7f17dc06a8 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMessage.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserMessage.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Send-MgUserMessage Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions # A UPN can also be used as -UserId. Send-MgUserMessage -UserId $userId -MessageId $messageId ``` +This example shows how to use the Send-MgUserMessage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserTeamworkActivityNotification.md b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserTeamworkActivityNotification.md index e1a7fe2299d..ff942758b2a 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserTeamworkActivityNotification.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Send-MgUserTeamworkActivityNotification.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Send-MgUserTeamworkActivityNotification Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -20,7 +20,9 @@ $params = @{ } Send-MgUserTeamworkActivityNotification -UserId $userId -BodyParameter $params ``` -### Example 2 +This example shows how to use the Send-MgUserTeamworkActivityNotification Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Send-MgUserTeamworkActivityNotification Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -42,7 +44,9 @@ $params = @{ } Send-MgUserTeamworkActivityNotification -UserId $userId -BodyParameter $params ``` -### Example 3 +This example shows how to use the Send-MgUserTeamworkActivityNotification Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 3: Using the Send-MgUserTeamworkActivityNotification Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -63,3 +67,5 @@ $params = @{ } Send-MgUserTeamworkActivityNotification -UserId $userId -BodyParameter $params ``` +This example shows how to use the Send-MgUserTeamworkActivityNotification Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Set-MgUserPresence.md b/src/Users.Actions/Users.Actions/examples/v1.0/Set-MgUserPresence.md index 21d7ac00d53..68b1a007611 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Set-MgUserPresence.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Set-MgUserPresence.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Set-MgUserPresence Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -9,3 +9,5 @@ $params = @{ } Set-MgUserPresence -UserId $userId -BodyParameter $params ``` +This example shows how to use the Set-MgUserPresence Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Stop-MgUserEvent.md b/src/Users.Actions/Users.Actions/examples/v1.0/Stop-MgUserEvent.md index eb1aefabfa9..5a299284c4d 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Stop-MgUserEvent.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Stop-MgUserEvent.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Stop-MgUserEvent Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. Stop-MgUserEvent -UserId $userId -EventId $eventId -BodyParameter $params ``` +This example shows how to use the Stop-MgUserEvent Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Actions/Users.Actions/examples/v1.0/Update-MgUserPassword.md b/src/Users.Actions/Users.Actions/examples/v1.0/Update-MgUserPassword.md index 685ba36d0f8..8e06e075417 100644 --- a/src/Users.Actions/Users.Actions/examples/v1.0/Update-MgUserPassword.md +++ b/src/Users.Actions/Users.Actions/examples/v1.0/Update-MgUserPassword.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserPassword Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Actions $params = @{ @@ -8,3 +8,5 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserPassword -UserId $userId -BodyParameter $params ``` +This example shows how to use the Update-MgUserPassword Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserContactFolderDelta.md b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserContactFolderDelta.md index d683305e1c8..0a72151ee17 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserContactFolderDelta.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserContactFolderDelta.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserContactFolderDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Functions # A UPN can also be used as -UserId. Get-MgUserContactFolderDelta -UserId $userId ``` +This example shows how to use the Get-MgUserContactFolderDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserDelta.md b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserDelta.md index c8f1bd0d15f..b10fcfcdfbd 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserDelta.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserDelta.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgUserDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Functions Get-MgUserDelta ``` +This example shows how to use the Get-MgUserDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserMailFolderMessageDelta.md b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserMailFolderMessageDelta.md index 6a84d4dc3bd..0b012ef85d9 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserMailFolderMessageDelta.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Get-MgUserMailFolderMessageDelta.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserMailFolderMessageDelta Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Functions # A UPN can also be used as -UserId. Get-MgUserMailFolderMessageDelta -UserId $userId -MailFolderId $mailFolderId ``` +This example shows how to use the Get-MgUserMailFolderMessageDelta Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgRecentUserActivity.md b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgRecentUserActivity.md index 3855a06a7ba..0ef4e1d3126 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgRecentUserActivity.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgRecentUserActivity.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Invoke-MgRecentUserActivity Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Functions # A UPN can also be used as -UserId. Invoke-MgRecentUserActivity -UserId $userId ``` +This example shows how to use the Invoke-MgRecentUserActivity Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgSupportedUserOutlookLanguage.md b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgSupportedUserOutlookLanguage.md index af662804568..78a637ae5b0 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgSupportedUserOutlookLanguage.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgSupportedUserOutlookLanguage.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Invoke-MgSupportedUserOutlookLanguage Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Functions # A UPN can also be used as -UserId. Invoke-MgSupportedUserOutlookLanguage -UserId $userId ``` +This example shows how to use the Invoke-MgSupportedUserOutlookLanguage Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgTimeUserOutlook.md b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgTimeUserOutlook.md index 12dd8594b58..b77a1749486 100644 --- a/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgTimeUserOutlook.md +++ b/src/Users.Functions/Users.Functions/examples/v1.0/Invoke-MgTimeUserOutlook.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Invoke-MgTimeUserOutlook Cmdlet ```powershell Import-Module Microsoft.Graph.Users.Functions # A UPN can also be used as -UserId. Invoke-MgTimeUserOutlook -UserId $userId ``` +This example shows how to use the Invoke-MgTimeUserOutlook Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Get-MgUserMemberOf.md b/src/Users/Users/examples/v1.0/Get-MgUserMemberOf.md index 21cdb6b5da8..3eeacbbd72b 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserMemberOf.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserMemberOf.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgUserMemberOf Cmdlet ```powershell Import-Module Microsoft.Graph.Users Get-MgUserMemberOf -UserId $userId ``` +This example shows how to use the Get-MgUserMemberOf Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Get-MgUserOutlookMasterCategory.md b/src/Users/Users/examples/v1.0/Get-MgUserOutlookMasterCategory.md index 2ff9abcc6f7..1e7da3ce532 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserOutlookMasterCategory.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserOutlookMasterCategory.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserOutlookMasterCategory Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserOutlookMasterCategory -UserId $userId ``` -### Example 2 +This example shows how to use the Get-MgUserOutlookMasterCategory Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserOutlookMasterCategory Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserOutlookMasterCategory -UserId $userId -OutlookCategoryId $outlookCategoryId ``` +This example shows how to use the Get-MgUserOutlookMasterCategory Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Get-MgUserOwnedDevice.md b/src/Users/Users/examples/v1.0/Get-MgUserOwnedDevice.md index 29fdd8568c8..e4c8fdea8bb 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserOwnedDevice.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserOwnedDevice.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserOwnedDevice Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserOwnedDevice -UserId $userId ``` +This example shows how to use the Get-MgUserOwnedDevice Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Get-MgUserOwnedObject.md b/src/Users/Users/examples/v1.0/Get-MgUserOwnedObject.md index 9daa25f5629..b59c6d655ba 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserOwnedObject.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserOwnedObject.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserOwnedObject Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserOwnedObject -UserId $userId ``` +This example shows how to use the Get-MgUserOwnedObject Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Get-MgUserRegisteredDevice.md b/src/Users/Users/examples/v1.0/Get-MgUserRegisteredDevice.md index 20bfefc1ea4..d86d125f429 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserRegisteredDevice.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserRegisteredDevice.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Get-MgUserRegisteredDevice Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserRegisteredDevice -UserId $userId ``` +This example shows how to use the Get-MgUserRegisteredDevice Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Get-MgUserSettingShiftPreference.md b/src/Users/Users/examples/v1.0/Get-MgUserSettingShiftPreference.md index 85c2169a387..ba6b419dae4 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserSettingShiftPreference.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserSettingShiftPreference.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgUserSettingShiftPreference Cmdlet ```powershell Import-Module Microsoft.Graph.Users Get-MgUserSettingShiftPreference -UserId $userId ``` +This example shows how to use the Get-MgUserSettingShiftPreference Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTodoList.md b/src/Users/Users/examples/v1.0/Get-MgUserTodoList.md index a248b167011..07c42e0a05b 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTodoList.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTodoList.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserTodoList Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoList -UserId $userId ``` -### Example 2 +This example shows how to use the Get-MgUserTodoList Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserTodoList Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoList -UserId $userId -TodoTaskListId $todoTaskListId ``` +This example shows how to use the Get-MgUserTodoList Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTask.md b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTask.md index 5d62dc76731..2ccbc553c27 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTask.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTask.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserTodoListTask Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTask -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId ``` -### Example 2 +This example shows how to use the Get-MgUserTodoListTask Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserTodoListTask Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTask -UserId $userId -TodoTaskListId $todoTaskListId ``` +This example shows how to use the Get-MgUserTodoListTask Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskChecklistItem.md b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskChecklistItem.md index 1b58d63a04f..245e9dab25b 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskChecklistItem.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskChecklistItem.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserTodoListTaskChecklistItem Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -ChecklistItemId $checklistItemId ``` -### Example 2 +This example shows how to use the Get-MgUserTodoListTaskChecklistItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserTodoListTaskChecklistItem Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId ``` +This example shows how to use the Get-MgUserTodoListTaskChecklistItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskLinkedResource.md b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskLinkedResource.md index d0e63db2849..b96401fbcbf 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskLinkedResource.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTodoListTaskLinkedResource.md @@ -1,12 +1,16 @@ -### Example 1 +### Example 1: Using the Get-MgUserTodoListTaskLinkedResource Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTaskLinkedResource -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -LinkedResourceId $linkedResourceId ``` -### Example 2 +This example shows how to use the Get-MgUserTodoListTaskLinkedResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +### Example 2: Using the Get-MgUserTodoListTaskLinkedResource Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Get-MgUserTodoListTaskLinkedResource -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId ``` +This example shows how to use the Get-MgUserTodoListTaskLinkedResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Get-MgUserTransitiveMemberOf.md b/src/Users/Users/examples/v1.0/Get-MgUserTransitiveMemberOf.md index 396a9bb5a66..2eb54d10f6a 100644 --- a/src/Users/Users/examples/v1.0/Get-MgUserTransitiveMemberOf.md +++ b/src/Users/Users/examples/v1.0/Get-MgUserTransitiveMemberOf.md @@ -1,5 +1,7 @@ -### Example 1 +### Example 1: Using the Get-MgUserTransitiveMemberOf Cmdlet ```powershell Import-Module Microsoft.Graph.Users Get-MgUserTransitiveMemberOf -UserId $userId ``` +This example shows how to use the Get-MgUserTransitiveMemberOf Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/New-MgUserOutlookMasterCategory.md b/src/Users/Users/examples/v1.0/New-MgUserOutlookMasterCategory.md index 1dfed7824fc..29b84411e73 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserOutlookMasterCategory.md +++ b/src/Users/Users/examples/v1.0/New-MgUserOutlookMasterCategory.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserOutlookMasterCategory Cmdlet ```powershell Import-Module Microsoft.Graph.Users $params = @{ @@ -8,3 +8,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserOutlookMasterCategory -UserId $userId -BodyParameter $params ``` +This example shows how to use the New-MgUserOutlookMasterCategory Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/New-MgUserTodoList.md b/src/Users/Users/examples/v1.0/New-MgUserTodoList.md index 84ab802382a..968f5aca2ad 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserTodoList.md +++ b/src/Users/Users/examples/v1.0/New-MgUserTodoList.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserTodoList Cmdlet ```powershell Import-Module Microsoft.Graph.Users $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserTodoList -UserId $userId -BodyParameter $params ``` +This example shows how to use the New-MgUserTodoList Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/New-MgUserTodoListTask.md b/src/Users/Users/examples/v1.0/New-MgUserTodoListTask.md index 5e1150a423b..2f4c7f25573 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserTodoListTask.md +++ b/src/Users/Users/examples/v1.0/New-MgUserTodoListTask.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserTodoListTask Cmdlet ```powershell Import-Module Microsoft.Graph.Users $params = @{ @@ -17,3 +17,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserTodoListTask -UserId $userId -TodoTaskListId $todoTaskListId -BodyParameter $params ``` +This example shows how to use the New-MgUserTodoListTask Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskChecklistItem.md b/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskChecklistItem.md index ff5cdd03b24..1fec86600c5 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskChecklistItem.md +++ b/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskChecklistItem.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserTodoListTaskChecklistItem Cmdlet ```powershell Import-Module Microsoft.Graph.Users $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -BodyParameter $params ``` +This example shows how to use the New-MgUserTodoListTaskChecklistItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskLinkedResource.md b/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskLinkedResource.md index c03d380a206..aa024556e9d 100644 --- a/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskLinkedResource.md +++ b/src/Users/Users/examples/v1.0/New-MgUserTodoListTaskLinkedResource.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the New-MgUserTodoListTaskLinkedResource Cmdlet ```powershell Import-Module Microsoft.Graph.Users $params = @{ @@ -10,3 +10,5 @@ $params = @{ # A UPN can also be used as -UserId. New-MgUserTodoListTaskLinkedResource -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -BodyParameter $params ``` +This example shows how to use the New-MgUserTodoListTaskLinkedResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserOutlookMasterCategory.md b/src/Users/Users/examples/v1.0/Remove-MgUserOutlookMasterCategory.md index 795d502f7d6..be11c037c74 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserOutlookMasterCategory.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserOutlookMasterCategory.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserOutlookMasterCategory Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Remove-MgUserOutlookMasterCategory -UserId $userId -OutlookCategoryId $outlookCategoryId ``` +This example shows how to use the Remove-MgUserOutlookMasterCategory Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserTodoList.md b/src/Users/Users/examples/v1.0/Remove-MgUserTodoList.md index ac221c4541d..409d70e637f 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserTodoList.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserTodoList.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserTodoList Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Remove-MgUserTodoList -UserId $userId -TodoTaskListId $todoTaskListId ``` +This example shows how to use the Remove-MgUserTodoList Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTask.md b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTask.md index c0085472bc9..d8856b7fac6 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTask.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTask.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserTodoListTask Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Remove-MgUserTodoListTask -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId ``` +This example shows how to use the Remove-MgUserTodoListTask Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskChecklistItem.md b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskChecklistItem.md index c0dd9909d93..9cc123bcd0c 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskChecklistItem.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskChecklistItem.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserTodoListTaskChecklistItem Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Remove-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -ChecklistItemId $checklistItemId ``` +This example shows how to use the Remove-MgUserTodoListTaskChecklistItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskLinkedResource.md b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskLinkedResource.md index 274f3d8bbbd..b2f28e07467 100644 --- a/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskLinkedResource.md +++ b/src/Users/Users/examples/v1.0/Remove-MgUserTodoListTaskLinkedResource.md @@ -1,6 +1,8 @@ -### Example 1 +### Example 1: Using the Remove-MgUserTodoListTaskLinkedResource Cmdlet ```powershell Import-Module Microsoft.Graph.Users # A UPN can also be used as -UserId. Remove-MgUserTodoListTaskLinkedResource -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -LinkedResourceId $linkedResourceId ``` +This example shows how to use the Remove-MgUserTodoListTaskLinkedResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Update-MgUserOutlookMasterCategory.md b/src/Users/Users/examples/v1.0/Update-MgUserOutlookMasterCategory.md index 359fbdde7b5..8b9ee3dc9aa 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserOutlookMasterCategory.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserOutlookMasterCategory.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserOutlookMasterCategory Cmdlet ```powershell Import-Module Microsoft.Graph.Users $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserOutlookMasterCategory -UserId $userId -OutlookCategoryId $outlookCategoryId -BodyParameter $params ``` +This example shows how to use the Update-MgUserOutlookMasterCategory Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Update-MgUserSettingShiftPreference.md b/src/Users/Users/examples/v1.0/Update-MgUserSettingShiftPreference.md index 244772f1b77..b1cb0acf99b 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserSettingShiftPreference.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserSettingShiftPreference.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserSettingShiftPreference Cmdlet ```powershell Import-Module Microsoft.Graph.Users $params = @{ @@ -27,3 +27,5 @@ $params = @{ } Update-MgUserSettingShiftPreference -UserId $userId -BodyParameter $params ``` +This example shows how to use the Update-MgUserSettingShiftPreference Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Update-MgUserTodoList.md b/src/Users/Users/examples/v1.0/Update-MgUserTodoList.md index 9b7b5363021..ea0f86bd3da 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserTodoList.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserTodoList.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserTodoList Cmdlet ```powershell Import-Module Microsoft.Graph.Users $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserTodoList -UserId $userId -TodoTaskListId $todoTaskListId -BodyParameter $params ``` +This example shows how to use the Update-MgUserTodoList Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTask.md b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTask.md index 181a9ca8030..725862a4aea 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTask.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTask.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserTodoListTask Cmdlet ```powershell Import-Module Microsoft.Graph.Users $params = @{ @@ -10,3 +10,5 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserTodoListTask -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -BodyParameter $params ``` +This example shows how to use the Update-MgUserTodoListTask Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskChecklistItem.md b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskChecklistItem.md index 37f9da69fec..32fb98c75a3 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskChecklistItem.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskChecklistItem.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserTodoListTaskChecklistItem Cmdlet ```powershell Import-Module Microsoft.Graph.Users $params = @{ @@ -7,3 +7,5 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserTodoListTaskChecklistItem -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -ChecklistItemId $checklistItemId -BodyParameter $params ``` +This example shows how to use the Update-MgUserTodoListTaskChecklistItem Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). diff --git a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskLinkedResource.md b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskLinkedResource.md index 6c8f77388c5..c98c7a11e0a 100644 --- a/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskLinkedResource.md +++ b/src/Users/Users/examples/v1.0/Update-MgUserTodoListTaskLinkedResource.md @@ -1,4 +1,4 @@ -### Example 1 +### Example 1: Using the Update-MgUserTodoListTaskLinkedResource Cmdlet ```powershell Import-Module Microsoft.Graph.Users $params = @{ @@ -10,3 +10,5 @@ $params = @{ # A UPN can also be used as -UserId. Update-MgUserTodoListTaskLinkedResource -UserId $userId -TodoTaskListId $todoTaskListId -TodoTaskId $todoTaskId -LinkedResourceId $linkedResourceId -BodyParameter $params ``` +This example shows how to use the Update-MgUserTodoListTaskLinkedResource Cmdlet. +To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).