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
@@ -1,17 +1,13 @@
### Example 1: {{ Add title here }}
```powershell
PS C:\> {{ Add code here }}
### Example 1: Code snippet

{{ Add output here }}
```
```powershellImport-Module Microsoft.Graph.Identity.DirectoryManagement

{{ Add description here }}
$params = @{
id = "contoso.com"
}

### Example 2: {{ Add title here }}
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
```

{{ Add description here }}
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).

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
### Example 1: {{ Add title here }}
```powershell
PS C:\> {{ Add code here }}
### Example 1: Code snippet

{{ Add output here }}
```
```powershellImport-Module Microsoft.Graph.Identity.DirectoryManagement

{{ Add description here }}
$params = @{
id = "contoso.com"
}

### Example 2: {{ Add title here }}
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
```

{{ Add description here }}
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).

Expand Down