community.general/test/integration/targets/win_module_utils_legacy/library/testpath.ps1

10 lines
174 B
PowerShell

#powershell
#Requires -Module Ansible.ModuleUtils.Legacy
$params = Parse-Args $args
$path = Get-AnsibleParam -Obj $params -Name path -Type path
Exit-Json @{ path=$path }