ansible/examples
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.
2014-08-18 15:55:24 -07:00
..
issues Update ISSUE_TEMPLATE.md 2014-08-05 20:22:42 -04:00
playbooks Wrong target for link? 2013-07-24 15:36:21 -07:00
scripts $powershellpath is called as ".$powershellpath" 2014-08-18 15:55:24 -07:00
ansible.cfg Fix some copyrights, fix a misc test. 2014-08-11 12:23:05 -04:00
DOCUMENTATION.yml Standardized on yml suffix, so fix this example content filename. 2013-12-25 13:24:29 -05:00
hosts Small change to previous patch, make ranges of hosts inclusive. 2012-07-24 20:10:05 -04:00