newswan 当前离线
上尉
TOP
[byte[]]$a = @("00","03","15") New-ItemProperty -Path "HKLM:\Software\zzz" -Name "aaa" -Type None -Value $a复制代码
[byte[]]$a = @("00","03","15") Remove-ItemProperty -Path "HKLM:\SECURITY\Policy\Accounts\S-1-1-0\Privilgs" -Name "(Default)" New-ItemProperty -Path "HKLM:\SECURITY\Policy\Accounts\S-1-1-0\Privilgs" -Name "(Default)" -Type None -Value $a复制代码
[byte[]]$a = @("00","03","15") Set-ItemProperty -Path "HKLM:\SECURITY\Policy\Accounts\S-1-1-0\Privilgs" -Name "(Default)" -Type None -Value $a复制代码
[byte[]]$a = @("00","03","15")复制代码
$str = "01,00,00,00,00,00,00,00,17,00,00,00,00,00,00,00,03,00,00,00" [byte[]]$a = $str -replace "(?=\d\d)","0x" -split "," set-ItemProperty -Path $path -Name "(Default)" -Type None -Value $a复制代码
$path = "HKLM:\SECURITY\Policy\Accounts\S-1-1-0\Privilgs"复制代码
Set-ItemProperty -Path "HKLM:\SECURITY\Policy\Accounts\S-1-1-0\Privilgs" -Name "(Default)" -Type None -Value $a复制代码
评分人数
@cd /d %~dp0 & powershell -command "Get-Content '%~0' | Select-Object -Skip 1 | Out-String | Invoke-Expression" & pause & exit/b复制代码