Basic powershell command for INputObject not working
New to marimba and attempting to add command steps from a working ps1 file does not work as expected. When assigning to a variable then passing that in via Out-File .... -InputObject, the file is created blank?
Out-File -FilePath c:\Program Files\SplunkUniversalForwarder\etc\apps\sb_spc_inputs\local\props.conf -InputObject $txtprops
0 Comments
[ + ] Show comments
Answers (0)
Please log in to answer
Be the first to answer this question