<commit_before><commit_msg>Create fromHOSTtoVM.ps1<commit_after><#
  Copyright (c) 2017 <NAME> <<EMAIL>>
  GNU Affero General Public License v3.0

  fromHOSTtoVM.ps1
  PowerShell script that transfers a file from localhost to virtual machine
#>

################################################################################
# Set transfert parameters
$VirtualMachineName = "test01"
$fromHOST = "C:\file.txt"
$toVM = "/home/test/"
########################
# Enable VMIntegrationService if it is not already
# ToDo: if Get-VMIntegrationService....
#Enable-VMIntegrationService -Name "guest service interface" -VMName $VirtualMachineName #-Name "Interface de services d’invité"

# Copy file from localhost to virtual machine
Copy-VMFile $VirtualMachineName -SourcePath $fromHOST -DestinationPath $toVM -CreateFullPath -FileSource Host

{'fraction_non_alphanumeric': 0.20718562874251498, 'fraction_numerical': 0.011976047904191617, 'mean_word_length': 6.206896551724138, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6419876', 'n_tokens_mistral': 233, 'n_tokens_neox': 222, 'n_words': 72}