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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### Example

```powershell

Import-Module Microsoft.Graph.Beta.Applications

Get-MgBetaServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId

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

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

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

```powershell

Import-Module Microsoft.Graph.Applications

Get-MgServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId

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

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

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

```powershell

Import-Module Microsoft.Graph.Beta.Bookings

Get-MgBetaVirtualEventTownhallSessionAttendanceReport -VirtualEventTownhallId $virtualEventTownhallId -VirtualEventSessionId $virtualEventSessionId

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

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Import-Module Microsoft.Graph.Beta.Bookings

$params = @{
externalRegistrationInformation = @{
referrer = "Facebook"
referrer = "Fabrikam"
registrationId = "myExternalRegistrationId"
}
preferredTimezone = "Pacific Standard Time"
Expand Down Expand Up @@ -56,7 +56,7 @@ $params = @{
lastName = "Demoss"
email = "[email protected]"
externalRegistrationInformation = @{
referrer = "Facebook"
referrer = "Fabrikam"
registrationId = "myExternalRegistrationId"
}
preferredTimezone = "Pacific Standard Time"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### Example 1: Get the attendance report for a town hall session by ID

```powershell

Import-Module Microsoft.Graph.Bookings

Get-MgVirtualEventTownhallSessionAttendanceReport -VirtualEventTownhallId $virtualEventTownhallId -VirtualEventSessionId $virtualEventSessionId -MeetingAttendanceReportId $meetingAttendanceReportId

```
This example will get the attendance report for a town hall session by id

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### Example 1: List attendance records for the attendance report of a town hall session

```powershell

Import-Module Microsoft.Graph.Bookings

Get-MgVirtualEventTownhallSessionAttendanceReportAttendanceRecord -VirtualEventTownhallId $virtualEventTownhallId -VirtualEventSessionId $virtualEventSessionId -MeetingAttendanceReportId $meetingAttendanceReportId

```
This example will list attendance records for the attendance report of a town hall session

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### Example 2: List attendance records of a webinar session's attendance report

```powershell

Import-Module Microsoft.Graph.Bookings

Get-MgVirtualEventWebinarSessionAttendanceReportAttendanceRecord -VirtualEventWebinarId $virtualEventWebinarId -VirtualEventSessionId $virtualEventSessionId -MeetingAttendanceReportId $meetingAttendanceReportId

```
This example will list attendance records of a webinar session's attendance report

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Import-Module Microsoft.Graph.Bookings

$params = @{
externalRegistrationInformation = @{
referrer = "Facebook"
referrer = "Fabrikam"
registrationId = "myExternalRegistrationId"
}
preferredTimezone = "Pacific Standard Time"
Expand Down Expand Up @@ -56,7 +56,7 @@ $params = @{
lastName = "Demoss"
email = "[email protected]"
externalRegistrationInformation = @{
referrer = "Facebook"
referrer = "Fabrikam"
registrationId = "myExternalRegistrationId"
}
preferredTimezone = "Pacific Standard Time"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

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

```powershell

Import-Module Microsoft.Graph.Beta.Calendar

# A UPN can also be used as -UserId.
Get-MgBetaUserCalendarDelta -UserId $userId

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

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

1 change: 0 additions & 1 deletion src/Calendar/beta/examples/Stop-MgBetaGroupEvent.md
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

71 changes: 70 additions & 1 deletion src/Calendar/beta/examples/Update-MgBetaPlace.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,75 @@

Import-Module Microsoft.Graph.Beta.Calendar

$params = @{
"@odata.type" = "microsoft.graph.building"
tags = @(
"most popular building"
)
}

Update-MgBetaPlace -PlaceId $placeId -BodyParameter $params

```
This example shows how to use the Update-MgBetaPlace Cmdlet.

### Example 2: Code snippet

```powershell

Import-Module Microsoft.Graph.Beta.Calendar

$params = @{
"@odata.type" = "microsoft.graph.floor"
isWheelChairAccessible = $true
sortOrder =
}

Update-MgBetaPlace -PlaceId $placeId -BodyParameter $params

```
This example shows how to use the Update-MgBetaPlace Cmdlet.

### Example 3: Code snippet

```powershell

Import-Module Microsoft.Graph.Beta.Calendar

$params = @{
"@odata.type" = "microsoft.graph.section"
label = "discuss area"
}

Update-MgBetaPlace -PlaceId $placeId -BodyParameter $params

```
This example shows how to use the Update-MgBetaPlace Cmdlet.

### Example 4: Code snippet

```powershell

Import-Module Microsoft.Graph.Beta.Calendar

$params = @{
"@odata.type" = "microsoft.graph.desk"
mode = @{
"@odata.type" = "microsoft.graph.dropInPlaceMode"
}
}

Update-MgBetaPlace -PlaceId $placeId -BodyParameter $params

```
This example shows how to use the Update-MgBetaPlace Cmdlet.

### Example 5: Code snippet

```powershell

Import-Module Microsoft.Graph.Beta.Calendar

$params = @{
"@odata.type" = "microsoft.graph.room"
nickname = "Conf Room"
Expand All @@ -18,7 +87,7 @@ Update-MgBetaPlace -PlaceId $placeId -BodyParameter $params
```
This example shows how to use the Update-MgBetaPlace Cmdlet.

### Example 2: Code snippet
### Example 6: Code snippet

```powershell

Expand Down
1 change: 0 additions & 1 deletion src/Calendar/v1.0/examples/Invoke-MgAcceptGroupEvent.md
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

1 change: 0 additions & 1 deletion src/Calendar/v1.0/examples/Invoke-MgDeclineGroupEvent.md
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

1 change: 0 additions & 1 deletion src/Calendar/v1.0/examples/Invoke-MgForwardGroupEvent.md
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

11 changes: 11 additions & 0 deletions src/Calendar/v1.0/examples/Remove-MgUserCalendarPermanent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### Example 1: Code snippet

```powershell

Import-Module Microsoft.Graph.Calendar

Remove-MgUserCalendarPermanent -UserId $userId

```
This example shows how to use the Remove-MgUserCalendarPermanent Cmdlet.

1 change: 0 additions & 1 deletion src/Calendar/v1.0/examples/Stop-MgGroupEvent.md
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Remove-MgCommunicationCallParticipant -CallId $callId -ParticipantId $participan
```
This example shows how to use the Remove-MgCommunicationCallParticipant Cmdlet.

### Example 2: Code snippet
### Example 3: Code snippet

```powershell

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

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

```powershell

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Example 1: Code snippet
### Example 2: Code snippet

```powershell

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Example 1: Code snippet
### Example 2: Code snippet

```powershell

Expand Down
Loading
Loading