Advertisement
Combreal

Testy

Jun 9th, 2021
1,214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Get-BitLockerVolume | Select-Object -Property ProtectionStatus | Foreach-Object{
  2.  
  3.     $VolumeEncr = $_ | Format-Table -HideTableHeaders | Out-String  
  4.     $VolumeEncr = $VolumeEncr.Substring(15)
  5.     $VolumeEncr = $VolumeEncr.Substring(0,$VolumeEncr.Length - 6)
  6.  
  7.     #$mbx = Get-Mailbox $user
  8.     #New-Object -TypeName PSObject -Property @{ FirstName = $user.FirstName; Alias = $mbx.Alias }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement