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)

Be the first to answer this question

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ