RV
Size: a a a
RV
З
AS
RV
RV
AS
AS
D
З
AF
AF
Get-ChildItem -LiteralPath 'Registry::\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services' |
Where-Object { $_.GetValue('imagePath') -like '*\RAgent.EXE' } |
ForEach-Object {
$_.SetValue('imagePath', 'C:\blabla.exe', [Microsoft.Win32.RegistryValueKind]::ExpandString) ;
Restart-Service ([System.io.path]::GetFileNameWithoutExtension( $_.Name )) -Confirm:$false
}
З
AS
AF
З