0-100
0,1,2,3,4,5...,100
0-100 (+4)
function Assign-Dev | |
{ | |
param($vmname = "name", $num = $null) | |
$devs = Get-PnpDevice |? { ($_.Class -eq "Net") -or ($_.FriendlyName -eq "Network Controller") -or ($_.Class -eq "Display" -and $_.Manufacturer -match "NVIDIA|Advanced Micro Devices") }|select @( | |
@{l='num'; e={-1}}, | |
@{l='name'; e={$_.FriendlyName}}, | |
@{l='locationPath'; e={($_|Get-PnpDeviceProperty DEVPKEY_Device_LocationPaths).data[0]}}, | |
@{l='instanceId'; e={$_.InstanceId}} | |
) |
set QueryString=reg query HKLM\SYSTEM\CurrentControlSet\Enum\HID /s /v FlipFlopWheel^^^|find ^"HKEY^" | |
echo Set all HIDs' FlipFlopWheel to 1 | |
for /f "delims=" %i in ('%QueryString%') do @( | |
reg add "%i" /v FlipFlopWheel /t REG_DWORD /d 1 /f | |
) | |
rem Toggle the HID devices | |
for /f "tokens=6 delims=\" %i in ('%QueryString%') do @( | |
wmic path Win32_PnPEntity where "DeviceID like 'HID\\%%i%'" call Disable |
@ECHO OFF | |
echo don't try this at home | |
SET SHOULD_PAUSE= | |
REM kill them all !!! | |
wmic process where name="teams.exe" call terminate || taskkill /f /im teams.exe || echo o.O | |
REM Uses the file name as the profile name | |
call :teamsMC "%~n0" | |
call :teamsMC "default" |
# don't try this unless you know what it does | |
Get-IscsiVirtualDisk|Set-IscsiVirtualDisk -Enable 1 |
-r 30 -pix_fmt yuv420p -vcodec libx264 -bsf:v h264_mp4toannexb -preset slow -b:v 6000k |
--------------------------- | |
Microsoft Visual Studio | |
--------------------------- | |
An exception was thrown while initializing part "Microsoft.DriverKit.WdkTestPackage.PropertyPages.PackageDeploymentPropertyProvider". | |
--------------------------- | |
OK | |
--------------------------- | |
Solution: | |
- right click on toolbar |
Host Enumeration: | |
--- OS Specifics --- | |
wmic os LIST Full (* To obtain the OS Name, use the "caption" property) | |
wmic computersystem LIST full | |
--- Anti-Virus --- | |
wmic /namespace:\\root\securitycenter2 path antivirusproduct |
7z benchmark with 2*2696v4 + 2rx4 2dpc 32Gddr@2133, mem scrub off, adaptive paging policy, vt-d off | |
thread, comp, decomp | |
1t , 4.8, 6.4 | |
1t ht, 4.7, 6.2 | |
2t , 11.5, 12.3 | |
2t ht, 11.3, 12.0 | |
44t , 151.2, 202.7 | |
44t ht, 113.1, 134.8 | |
48t , 154.1, 184.4 | |
48t ht, 118.6, 146.9 |
#include <Audio.h> | |
#include <Wire.h> | |
#include <SPI.h> | |
#include <SD.h> | |
#include <SerialFlash.h> | |
// GUItool: begin automatically generated code | |
AsyncAudioInputSPDIF3 spdif_async1; //xy=71,332.02589225769043 | |
AudioFilterFIR fir1; //xy=98.00180435180664,514.0019092559814 | |
AudioFilterFIR fir2; //xy=107.00192260742188,55.99998950958252 |