File tree Expand file tree Collapse file tree 2 files changed +26
-16
lines changed Expand file tree Collapse file tree 2 files changed +26
-16
lines changed Original file line number Diff line number Diff line change 1
- ### Example 1: {{ Add title here }}
1
+ ### Example 1: Get the BitLocker key by specifying the key ** id**
2
+
2
3
``` powershell
3
- PS C:\> {{ Add code here }}
4
4
5
- {{ Add output here }}
5
+ Import-Module Microsoft.Graph.Beta.Identity.SignIns
6
+
7
+ Get-MgBetaInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $bitlockerRecoveryKeyId
8
+
6
9
```
10
+ This example will get the bitlocker key by specifying the key ** id**
7
11
8
- {{ Add description here }}
12
+ ### Example 2: Get the BitLocker key with the ** key ** property by specifying the key ** id **
9
13
10
- ### Example 2: {{ Add title here }}
11
14
``` powershell
12
- PS C:\> {{ Add code here }}
13
15
14
- {{ Add output here }}
16
+ Import-Module Microsoft.Graph.Beta.Identity.SignIns
17
+
18
+ Get-MgBetaInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $bitlockerRecoveryKeyId -Property "key"
19
+
15
20
```
21
+ This example will get the bitlocker key with the ** key** property by specifying the key ** id**
16
22
17
- {{ Add description here }}
Original file line number Diff line number Diff line change 1
- ### Example 1: {{ Add title here }}
1
+ ### Example 1: Get the BitLocker key by specifying the key id
2
+
2
3
``` powershell
3
- PS C:\> {{ Add code here }}
4
4
5
- {{ Add output here }}
5
+ Import-Module Microsoft.Graph.Identity.SignIns
6
+
7
+ Get-MgInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $bitlockerRecoveryKeyId
8
+
6
9
```
10
+ This example will get the bitlocker key by specifying the key id
7
11
8
- {{ Add description here }}
12
+ ### Example 2: Get the BitLocker key with the ** key ** property
9
13
10
- ### Example 2: {{ Add title here }}
11
14
``` powershell
12
- PS C:\> {{ Add code here }}
13
15
14
- {{ Add output here }}
16
+ Import-Module Microsoft.Graph.Identity.SignIns
17
+
18
+ Get-MgInformationProtectionBitlockerRecoveryKey -BitlockerRecoveryKeyId $bitlockerRecoveryKeyId -Property "key"
19
+
15
20
```
21
+ This example will get the bitlocker key with the ** key** property
16
22
17
- {{ Add description here }}
You can’t perform that action at this time.
0 commit comments