none
Get-Acl receiving piped contents with "s fails RRS feed

  • General discussion

  • Hi I have an input file of a registry dump which has quotes around the Key, "HKLM:\SOFTWARE"

    if I run get-content input.file | get-acl

    it generates an ObjectNotFound error.

    If I remove the quotes it runs successfully. I need the quotes as there are spaces in the registry keys that will not run properly unless quoted

    Any suggestions?

    Cheers

    • Changed type Bill_Stewart Friday, July 7, 2017 4:23 PM
    • Moved by Bill_Stewart Friday, July 7, 2017 4:23 PM Unanswerable drive-by question
    Wednesday, May 3, 2017 5:12 PM

All replies