Skip to content

error with Psexec #6

@theikong

Description

@theikong

Hello Everyone !
please help !
i use this
Get-ChildItem -path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ | Get-ItemProperty | Where-Object {$.Displayname -match 'WinRAR'} | Select-Object DisplayName,DisplayVersion it worked
but that i try it with Psexec
& C:\PsISE\GetServiceStatus\PsExec.exe -nobanner \$comp cmd /c "powershell.exe Get-ChildItem -path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ | Get-ItemProperty | Where-Object {$
.Displayname -match 'WinRAR'} | Select-Object DisplayName,DisplayVersion
why it error ?? sorry for bad english

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions