search for: ps_exe

Displaying 5 results from an estimated 5 matches for "ps_exe".

2019 Apr 16
0
[PATCH v2v v2 1/2] v2v: windows: Add a helper function for installing Powershell firstboot scripts.
...let tempdir = sprintf "%s/Temp" i_windows_systemroot in + g#mkdir_p tempdir; + let code = String.concat "\r\n" code ^ "\r\n" in + g#write (sprintf "%s/%s" tempdir filename) code; + + (* Powershell interpreter. Should we check this exists? XXX *) + let ps_exe = + i_windows_systemroot ^ + "\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" in + + (* Windows path to the Powershell script. *) + let ps_path = i_windows_systemroot ^ "\\Temp\\" ^ filename in + + let fb = sprintf "%s -ExecutionPolicy ByPass -file %s" ps...
2019 Apr 25
1
Re: [PATCH v2v v2 1/2] v2v: windows: Add a helper function for installing Powershell firstboot scripts.
...code' is a single Unix-style string with the whole script, calling String.unix2dos, instead of taking the list of lines? Mostly for consistency, so everything that writes files on Windows uses String.unix2dos. > + (* Powershell interpreter. Should we check this exists? XXX *) > + let ps_exe = > + i_windows_systemroot ^ > + "\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" in According to the Interweb, it looks like this location was kept even for PowerShell 2.0+ for "compatibility". OTOH the comment raises another concern: what about old Windows v...
2019 Apr 16
6
[PATCH v2v v2 2/2] v2v: Copy static IP address information.
Essentially identical to v1 except that it now uses (overloads?) the --mac option to supply this data. Rich.
2019 Apr 15
2
[PATCH v2v 1/2] v2v: windows: Add a helper function for installing Powershell firstboot scripts.
...let tempdir = sprintf "%s/Temp" i_windows_systemroot in + g#mkdir_p tempdir; + let code = String.concat "\r\n" code ^ "\r\n" in + g#write (sprintf "%s/%s" tempdir filename) code; + + (* Powershell interpreter. Should we check this exists? XXX *) + let ps_exe = + i_windows_systemroot ^ + "\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" in + + (* Windows path to the Powershell script. *) + let ps_path = i_windows_systemroot ^ "\\Temp\\" ^ filename in + + let fb = sprintf "%s -ExecutionPolicy ByPass -file %s" ps...
2019 Jul 11
2
[PATCH v3 0/2] v2v: Copy static IP address information over for Windows guests
Patch v2 was here: https://www.redhat.com/archives/libguestfs/2019-April/thread.html#00114 There's no change here except that I've rebased it against the latest master branch and retested. There was a comment by Pino (https://www.redhat.com/archives/libguestfs/2019-April/msg00117.html) which isn't incorporated into this patch. Rich.