I don't know about remote machines but I made this PS script work on local machines:
# Activate BitLocker on the C: drive
Enable-BitLocker -MountPoint "C:" -RecoveryPasswordProtector -SkipHardwareTest
# Get the BitLocker recovery key
$recoveryKey = (Get-BitLockerVolume -MountPoint "C:").KeyProtector | Where-Object {$_.KeyProtectorType -eq 'RecoveryPassword'}
# Save the recovery key to a file with computer name
$computerName = $env:COMPUTERNAME
$keyFileName = "${computerName}_Bitlocker.txt"
$keyFilePath = Join-Path -Path
$recoveryKey.RecoveryPassword | Out-File -FilePath $keyFilePath
Write-Host "BitLocker has been activated and the recovery key has been saved to $keyFilePath."