@ -6,8 +6,4 @@
shell_type: powershell
tasks:
- name: Creating an empty file
win_shell: |
win_shell: 'New-Item C:\test.txt -ItemType File'
$value = Test-Path -Path C:\windows\temp
if ($value) {
New-Item C:\windows\temp\test.txt -ItemType File
}