File tree Expand file tree Collapse file tree 2 files changed +20
-28
lines changed
src/Identity.DirectoryManagement/Identity.DirectoryManagement/examples Expand file tree Collapse file tree 2 files changed +20
-28
lines changed Original file line number Diff line number Diff line change 1- ### Example 1: {{ Add title here }}
2- ``` powershell
3- PS C:\> {{ Add code here }}
1+ ### Example 1: Code snippet
42
5- {{ Add output here }}
6- ```
3+ ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement
74
8- {{ Add description here }}
5+ $params = @{
6+ id = "contoso.com"
7+ }
98
10- ### Example 2: {{ Add title here }}
11- ``` powershell
12- PS C:\> {{ Add code here }}
13-
14- {{ Add output here }}
15- ```
16-
17- {{ Add description here }}
9+ New-MgDomain -BodyParameter $params
10+ ```
11+ This example shows how to use the New-MgDomain Cmdlet.
12+ To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
13+
Original file line number Diff line number Diff line change 1- ### Example 1: {{ Add title here }}
2- ``` powershell
3- PS C:\> {{ Add code here }}
1+ ### Example 1: Code snippet
42
5- {{ Add output here }}
6- ```
3+ ```powershell Import-Module Microsoft.Graph.Identity.DirectoryManagement
74
8- {{ Add description here }}
5+ $params = @{
6+ id = "contoso.com"
7+ }
98
10- ### Example 2: {{ Add title here }}
11- ``` powershell
12- PS C:\> {{ Add code here }}
13-
14- {{ Add output here }}
15- ```
16-
17- {{ Add description here }}
9+ New-MgDomain -BodyParameter $params
10+ ```
11+ This example shows how to use the New-MgDomain Cmdlet.
12+ To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
13+
You can’t perform that action at this time.
0 commit comments