Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to parse command value in powershell

powershell -Command "(gc $env:userprofile.androidavdNexus_4_API_23.avdconfig.ini) -replace 'vm.heapSize=%getRam%','%setRam%' | Out-File -encoding ASCII $env:userprofile.androidavdNexus_4_API_23.avdconfig.ini"
 
PREVIOUS NEXT
Tagged: #parse #command #powershell
ADD COMMENT
Topic
Name
1+8 =