Skip to content

Commit 38d26b4

Browse files
authored
Merge pull request #2461 from microsoftgraph/WeeklyExamplesUpdate/202311240306
[v2] Examples Update
2 parents 0fd3465 + ffae834 commit 38d26b4

File tree

2 files changed

+26
-16
lines changed

2 files changed

+26
-16
lines changed

src/Identity.SignIns/beta/examples/Get-MgBetaInformationProtectionBitlockerRecoveryKey.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
1-
### Example 1: {{ Add title here }}
1+
### Example 1: Get the BitLocker key by specifying the key **id**
2+
23
```powershell
3-
PS C:\> {{ Add code here }}
44
5-
{{ Add output here }}
5+
Import-Module Microsoft.Graph.Beta.Identity.SignIns
6+
7+
Get-MgBetaInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $bitlockerRecoveryKeyId
8+
69
```
10+
This example will get the bitlocker key by specifying the key **id**
711

8-
{{ Add description here }}
12+
### Example 2: Get the BitLocker key with the **key** property by specifying the key **id**
913

10-
### Example 2: {{ Add title here }}
1114
```powershell
12-
PS C:\> {{ Add code here }}
1315
14-
{{ Add output here }}
16+
Import-Module Microsoft.Graph.Beta.Identity.SignIns
17+
18+
Get-MgBetaInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $bitlockerRecoveryKeyId -Property "key"
19+
1520
```
21+
This example will get the bitlocker key with the **key** property by specifying the key **id**
1622

17-
{{ Add description here }}

src/Identity.SignIns/v1.0/examples/Get-MgInformationProtectionBitlockerRecoveryKey.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
1-
### Example 1: {{ Add title here }}
1+
### Example 1: Get the BitLocker key by specifying the key id
2+
23
```powershell
3-
PS C:\> {{ Add code here }}
44
5-
{{ Add output here }}
5+
Import-Module Microsoft.Graph.Identity.SignIns
6+
7+
Get-MgInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $bitlockerRecoveryKeyId
8+
69
```
10+
This example will get the bitlocker key by specifying the key id
711

8-
{{ Add description here }}
12+
### Example 2: Get the BitLocker key with the **key** property
913

10-
### Example 2: {{ Add title here }}
1114
```powershell
12-
PS C:\> {{ Add code here }}
1315
14-
{{ Add output here }}
16+
Import-Module Microsoft.Graph.Identity.SignIns
17+
18+
Get-MgInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $bitlockerRecoveryKeyId -Property "key"
19+
1520
```
21+
This example will get the bitlocker key with the **key** property
1622

17-
{{ Add description here }}

0 commit comments

Comments
 (0)