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
Jump to file
Failed to load files.
Loading
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 will### example

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

```powershell
Import-Module Microsoft.Graph.Applications
Get-MgServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId
```
This example will### example

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Example 1: Code snippet
### Example 1: Get all provisioned Cloud PCs and their default properties

```powershell

Expand All @@ -7,5 +7,16 @@ Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions
Get-MgBetaDeviceManagementVirtualEndpointCloudPcProvisionedCloudPc

```
This example shows how to use the Get-MgBetaDeviceManagementVirtualEndpointCloudPcProvisionedCloudPc Cmdlet.
This example will get all provisioned cloud pcs and their default properties

### Example 2: Get all provisioned Cloud PCs and specific properties

```powershell

Import-Module Microsoft.Graph.Beta.DeviceManagement.Functions

Get-MgBetaDeviceManagementVirtualEndpointCloudPcProvisionedCloudPc -Property "id,displayName,powerState,connectivityResult,lastLoginResult,lastRemoteActionResult,osVersion,provisioningPolicyName,userAccountType"

```
This example will get all provisioned cloud pcs and specific properties