Commit Graph

16 Commits (afd8cca3452c0700e154a4f430aa73d97efe162a)

Author SHA1 Message Date
nathansoz f0004b1604 $powershellpath is called as ".$powershellpath"
$powershell path is set to "C:\powershell" at line 27. This is fine, but on line 82 $powershellpath is called as ".$powershellpath\$filename". Because the path at line 27 is absolute, a period preceding the $powershellpath is not required at 82. It actually causes an error:

Start-Process : This command cannot be executed due to the error: Unknown error (0x80041002).
At C:\users\Nathan Sosnovske\Documents\ps2to3.ps1:81 char:14

Start-Process <<<< -FilePath ".$powershellpath\$filename" -ArgumentList /quiet
CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
Removing the period on line 82 before $powershellpath fixes this error.
10 years ago
Matt Martz 2316b7785c Make sure the doc stubs for windows modules have proper license headers 10 years ago
Chris Church 2654f7b200 Add copyright header to main winrm test playbook. 10 years ago
Chris Church 43236ca0ed Add basic tests for win_get_url and win_msi modules. 10 years ago
Don Schenck 618b47cd77 Added -Wait flag to Start-Process
Must wait in order for script to be available
10 years ago
Don Schenck 9c4220832a Start-Process
Debugging
10 years ago
Don Schenck 8012fdc448 Start-Process line was wrong
Fixed
10 years ago
Don Schenck e2f5d40a6b Changed launch
Using Start-Process
10 years ago
Chris Church 5b85252043 Add tests for windows setup module. 10 years ago
Paul Durivage bceaf96fd6 Add comments 10 years ago
Don Schenck e5399b12b9 Pipe Get-Process to see what's running 10 years ago
Craig Ackerman cd3edf1eba Added FW commands to allow access to HTTPS listener 10 years ago
Craig Ackerman f42905a9cc Added commands to allow Windows firewall access to WinRM HTTPS listener 10 years ago
Paul Durivage 7e055ec6cc Remove unnecessary obj 10 years ago
Michael DeHaan e621fec7d3 Add notes on powershell script source. 10 years ago
Michael DeHaan 128be9ea27 File rename. 10 years ago