Richard

//Richard
Richard

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Richard
    Participant
    Post count: 4

    Nevermind, I’m an idiot and did not RTFM.

    Execute-MSI -Action Install -Path 'HedgehogClient.msi' -Parameters "/q /norestart /l*V C:\Apps\HHinstall_log.log"

    works just fine…

  • Richard
    Participant
    Post count: 4
    in reply to: Can't copy folders #2116

    So I ended up abandoning Copy-File and instead just used Copy-Item.

    <code>       
    $User = $($CurrentLoggedOnUserSession.Username)
    Copy-Item &quot;$dirSupportFiles\*&quot; &quot;C:\Users\$User\Appdata\Roaming&quot; -Recurse
    </code>
Viewing 2 posts - 1 through 2 (of 2 total)