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+
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 }}
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+
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 }}
You can’t perform that action at this time.
0 commit comments