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
Expand Up @@ -4,7 +4,7 @@

Import-Module Microsoft.Graph.Beta.Applications

Get-MgBetaApplicationFederatedIdentityCredential -ApplicationId $applicationId -FederatedIdentityCredentialId $federatedIdentityCredentialId
Get-MgBetaApplicationFederatedIdentityCredential -ApplicationId $applicationId

```
This example shows how to use the Get-MgBetaApplicationFederatedIdentityCredential Cmdlet.
Expand Down
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,11 +1,11 @@
### Example 1: Code snippet
### Example: List federated identity credentials for an application

```powershell

Import-Module Microsoft.Graph.Applications

Get-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -FederatedIdentityCredentialId $federatedIdentityCredentialId
Get-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId

```
This example shows how to use the Get-MgApplicationFederatedIdentityCredential Cmdlet.
This example will### example: list federated identity credentials for an application

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,4 +1,4 @@
### Example 1: Code snippet
### Example: Create a federated identity credential for an application

```powershell

Expand All @@ -16,5 +16,5 @@ $params = @{
New-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -BodyParameter $params

```
This example shows how to use the New-MgApplicationFederatedIdentityCredential Cmdlet.
This example will### example: create a federated identity credential for an application

Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
32 changes: 16 additions & 16 deletions src/Education/v1.0/examples/New-MgEducationClassModuleResource.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Example 1: Code snippet
### Example 1: Create an educationLinkResource

```powershell

Expand All @@ -15,9 +15,9 @@ $params = @{
New-MgEducationClassModuleResource -EducationClassId $educationClassId -EducationModuleId $educationModuleId -BodyParameter $params

```
This example shows how to use the New-MgEducationClassModuleResource Cmdlet.
This example will create an educationlinkresource

### Example 2: Code snippet
### Example 2: Create an educationWordResource

```powershell

Expand All @@ -36,9 +36,9 @@ $params = @{
New-MgEducationClassModuleResource -EducationClassId $educationClassId -EducationModuleId $educationModuleId -BodyParameter $params

```
This example shows how to use the New-MgEducationClassModuleResource Cmdlet.
This example will create an educationwordresource

### Example 3: Code snippet
### Example 3: Create an educationFileResource

```powershell

Expand All @@ -57,9 +57,9 @@ $params = @{
New-MgEducationClassModuleResource -EducationClassId $educationClassId -EducationModuleId $educationModuleId -BodyParameter $params

```
This example shows how to use the New-MgEducationClassModuleResource Cmdlet.
This example will create an educationfileresource

### Example 4: Code snippet
### Example 4: Create an educationExcelResource

```powershell

Expand All @@ -78,9 +78,9 @@ $params = @{
New-MgEducationClassModuleResource -EducationClassId $educationClassId -EducationModuleId $educationModuleId -BodyParameter $params

```
This example shows how to use the New-MgEducationClassModuleResource Cmdlet.
This example will create an educationexcelresource

### Example 5: Code snippet
### Example 5: Create an educationPowerPointResource

```powershell

Expand All @@ -97,9 +97,9 @@ $params = @{
New-MgEducationClassModuleResource -EducationClassId $educationClassId -EducationModuleId $educationModuleId -BodyParameter $params

```
This example shows how to use the New-MgEducationClassModuleResource Cmdlet.
This example will create an educationpowerpointresource

### Example 6: Code snippet
### Example 6: Create an educationMediaResource

```powershell

Expand All @@ -116,9 +116,9 @@ $params = @{
New-MgEducationClassModuleResource -EducationClassId $educationClassId -EducationModuleId $educationModuleId -BodyParameter $params

```
This example shows how to use the New-MgEducationClassModuleResource Cmdlet.
This example will create an educationmediaresource

### Example 7: Code snippet
### Example 7: Create an educationChannelResource

```powershell

Expand All @@ -135,9 +135,9 @@ $params = @{
New-MgEducationClassModuleResource -EducationClassId $educationClassId -EducationModuleId $educationModuleId -BodyParameter $params

```
This example shows how to use the New-MgEducationClassModuleResource Cmdlet.
This example will create an educationchannelresource

### Example 8: Code snippet
### Example 8: Create an educationLinkedAssignmentResource

```powershell

Expand All @@ -154,5 +154,5 @@ $params = @{
New-MgEducationClassModuleResource -EducationClassId $educationClassId -EducationModuleId $educationModuleId -BodyParameter $params

```
This example shows how to use the New-MgEducationClassModuleResource Cmdlet.
This example will create an educationlinkedassignmentresource

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Example 1: Code snippet
### Example 1: Set up a resource folder for a submission

```powershell

Expand All @@ -10,9 +10,9 @@ $params = @{
Set-MgEducationClassAssignmentSubmissionUpResourceFolder -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params

```
This example shows how to use the Set-MgEducationClassAssignmentSubmissionUpResourceFolder Cmdlet.
This example will set up a resource folder for a submission

### Example 2: Code snippet
### Example 2: Set up a resource folder when the assignment is no longer open for submission

```powershell

Expand All @@ -24,9 +24,9 @@ $params = @{
Set-MgEducationClassAssignmentSubmissionUpResourceFolder -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params

```
This example shows how to use the Set-MgEducationClassAssignmentSubmissionUpResourceFolder Cmdlet.
This example will set up a resource folder when the assignment is no longer open for submission

### Example 3: Code snippet
### Example 3: Set up a resource folder when the assignment is already in submitted state

```powershell

Expand All @@ -38,5 +38,5 @@ $params = @{
Set-MgEducationClassAssignmentSubmissionUpResourceFolder -EducationClassId $educationClassId -EducationAssignmentId $educationAssignmentId -EducationSubmissionId $educationSubmissionId -BodyParameter $params

```
This example shows how to use the Set-MgEducationClassAssignmentSubmissionUpResourceFolder Cmdlet.
This example will set up a resource folder when the assignment is already in submitted state

Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.