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

Filter by extension

Filter by extension

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

```powershell
Import-Module Microsoft.Graph.Beta.Applications
Get-MgBetaServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId
```
This example shows how to use the Get-MgBetaServicePrincipalSynchronizationTemplate Cmdlet.

10 changes: 10 additions & 0 deletions src/Calendar/beta/examples/Get-MgBetaPlaceAsBuilding.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
### Example 1: List all buildings defined in the tenant

```powershell
Import-Module Microsoft.Graph.Beta.Calendar
Get-MgBetaPlaceAsBuilding
```
This example will list all buildings defined in the tenant

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

```powershell

Import-Module Microsoft.Graph.Beta.Calendar

Get-MgBetaPlaceAsBuildingMap -PlaceId $placeId

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

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

```powershell

Import-Module Microsoft.Graph.Beta.Calendar

Get-MgBetaPlaceAsBuildingMapFootprint -PlaceId $placeId

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

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

```powershell

Import-Module Microsoft.Graph.Beta.Calendar

Get-MgBetaPlaceAsBuildingMapLevel -PlaceId $placeId

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

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

```powershell
Import-Module Microsoft.Graph.Beta.Calendar
Get-MgBetaPlaceAsBuildingMapLevelFixture -PlaceId $placeId -LevelMapId $levelMapId
```
This example shows how to use the Get-MgBetaPlaceAsBuildingMapLevelFixture Cmdlet.

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

```powershell

Import-Module Microsoft.Graph.Beta.Calendar

Get-MgBetaPlaceAsBuildingMapLevelSection -PlaceId $placeId -LevelMapId $levelMapId

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

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

```powershell

Import-Module Microsoft.Graph.Beta.Calendar

Get-MgBetaPlaceAsBuildingMapLevelUnit -PlaceId $placeId -LevelMapId $levelMapId

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

10 changes: 10 additions & 0 deletions src/Calendar/beta/examples/Get-MgBetaPlaceAsDesk.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
### Example 1: List all desks defined in the tenant

```powershell

Import-Module Microsoft.Graph.Beta.Calendar

Get-MgBetaPlaceAsDesk

```
This example will list all desks defined in the tenant

10 changes: 10 additions & 0 deletions src/Calendar/beta/examples/Get-MgBetaPlaceAsFloor.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
### Example 1: List all floors defined in the tenant

```powershell

Import-Module Microsoft.Graph.Beta.Calendar

Get-MgBetaPlaceAsFloor

```
This example will list all floors defined in the tenant

4 changes: 2 additions & 2 deletions src/Calendar/beta/examples/Get-MgBetaPlaceAsRoom.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Example 1: Code snippet
### Example 1: List all rooms defined in the tenant

```powershell

Expand All @@ -7,5 +7,5 @@ Import-Module Microsoft.Graph.Beta.Calendar
Get-MgBetaPlaceAsRoom

```
This example shows how to use the Get-MgBetaPlaceAsRoom Cmdlet.
This example will list all rooms defined in the tenant

10 changes: 10 additions & 0 deletions src/Calendar/beta/examples/Get-MgBetaPlaceAsSection.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
### Example 1: List all sections defined in the tenant

```powershell
Import-Module Microsoft.Graph.Beta.Calendar
Get-MgBetaPlaceAsSection
```
This example will list all sections defined in the tenant

10 changes: 10 additions & 0 deletions src/Calendar/beta/examples/Get-MgBetaPlaceAsWorkspace.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
### Example 1: List all workspaces defined in the tenant

```powershell
Import-Module Microsoft.Graph.Beta.Calendar
Get-MgBetaPlaceAsWorkspace
```
This example will list all workspaces defined in the tenant

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

```powershell

Import-Module Microsoft.Graph.Beta.Calendar

Get-MgBetaPlaceCheck -PlaceId $placeId -CheckInClaimCalendarEventId $checkInClaimCalendarEventId

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

22 changes: 22 additions & 0 deletions src/Calendar/beta/examples/Get-MgBetaPlaceOperation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
### Example 1: Get a succeeded operation

```powershell

Import-Module Microsoft.Graph.Beta.Calendar

Get-MgBetaPlaceOperation

```
This example will get a succeeded operation

### Example 2: Get a partially succeeded operation with errors

```powershell

Import-Module Microsoft.Graph.Beta.Calendar

Get-MgBetaPlaceOperation

```
This example will get a partially succeeded operation with errors

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

```powershell

Import-Module Microsoft.Graph.Beta.CloudCommunications

# A UPN can also be used as -UserId.
Clear-MgBetaUserPresenceAutomaticLocation -UserId $userId

```
This example shows how to use the Clear-MgBetaUserPresenceAutomaticLocation Cmdlet.

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

```powershell
Import-Module Microsoft.Graph.Beta.CloudCommunications
# A UPN can also be used as -UserId.
Clear-MgBetaUserPresenceLocation -UserId $userId
```
This example shows how to use the Clear-MgBetaUserPresenceLocation Cmdlet.

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

```powershell
Import-Module Microsoft.Graph.Beta.CloudCommunications
Get-MgBetaCommunicationOnlineMeetingConversationMessageReaction -OnlineMeetingEngagementConversationId $onlineMeetingEngagementConversationId -EngagementConversationMessageId $engagementConversationMessageId
```
This example shows how to use the Get-MgBetaCommunicationOnlineMeetingConversationMessageReaction Cmdlet.

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

```powershell
Import-Module Microsoft.Graph.Beta.CloudCommunications
Get-MgBetaCommunicationOnlineMeetingMessage -ExpandProperty "conversation"
```
This example shows how to use the Get-MgBetaCommunicationOnlineMeetingMessage Cmdlet.

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

```powershell

Import-Module Microsoft.Graph.CloudCommunications

# A UPN can also be used as -UserId.
Clear-MgUserPresenceAutomaticLocation -UserId $userId

```
This example shows how to use the Clear-MgUserPresenceAutomaticLocation Cmdlet.

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

```powershell
Import-Module Microsoft.Graph.CloudCommunications
# A UPN can also be used as -UserId.
Clear-MgUserPresenceLocation -UserId $userId
```
This example shows how to use the Clear-MgUserPresenceLocation Cmdlet.

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

```powershell

Import-Module Microsoft.Graph.Beta.ConfigurationManagement

Get-MgBetaAdminConfigurationManagementConfigurationDrift

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

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

```powershell

Import-Module Microsoft.Graph.Beta.ConfigurationManagement

Get-MgBetaAdminConfigurationManagementConfigurationMonitor

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

### Example 2: Code snippet

```powershell

Import-Module Microsoft.Graph.Beta.ConfigurationManagement

Get-MgBetaAdminConfigurationManagementConfigurationMonitor

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

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

```powershell
Import-Module Microsoft.Graph.Beta.ConfigurationManagement
Get-MgBetaAdminConfigurationManagementConfigurationMonitorBaseline -ConfigurationMonitorId $configurationMonitorId
```
This example shows how to use the Get-MgBetaAdminConfigurationManagementConfigurationMonitorBaseline Cmdlet.

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

```powershell

Import-Module Microsoft.Graph.Beta.ConfigurationManagement

Get-MgBetaAdminConfigurationManagementConfigurationMonitoringResult

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

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

```powershell

Import-Module Microsoft.Graph.Beta.ConfigurationManagement

Get-MgBetaAdminConfigurationManagementConfigurationSnapshotJob

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

### Example 2: Code snippet

```powershell

Import-Module Microsoft.Graph.Beta.ConfigurationManagement

Get-MgBetaAdminConfigurationManagementConfigurationSnapshotJob

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

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

```powershell
Import-Module Microsoft.Graph.Beta.Files
Get-MgBetaDriveItemRetentionLabel -DriveId $driveId -DriveItemId $driveItemId
```
This example shows how to use the Get-MgBetaDriveItemRetentionLabel Cmdlet.

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

```powershell
Import-Module Microsoft.Graph.Beta.Groups
Get-MgBetaGroupOnPremiseSyncBehavior -GroupId $groupId
```
This example shows how to use the Get-MgBetaGroupOnPremiseSyncBehavior Cmdlet.

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

```powershell
Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement
Get-MgBetaOrganizationBrandingTheme -OrganizationId $organizationId
```
This example shows how to use the Get-MgBetaOrganizationBrandingTheme Cmdlet.

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

```powershell
Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement
Get-MgBetaOrganizationBrandingThemeLocalization -OrganizationId $organizationId -OrganizationalBrandingThemeId $organizationalBrandingThemeId
```
This example shows how to use the Get-MgBetaOrganizationBrandingThemeLocalization Cmdlet.

Loading
Loading