0-100
0,1,2,3,4,5...,100
0-100 (+4)
| kldload: /boot/kernel/if_ixv.ko: file has no contents | |
| linker_load_file: /boot/kernel/if_ixv.ko - unsupported file type | |
| Are you using ixv-1.5.34? | |
| Use any version but ixv-1.5.34. |
| # run it at the host | |
| Get-VMSwitch|? SwitchType -eq External | ft Name,NetAdapterInterfaceDescription, Iov* -Wrap | |
| # sample output, SRIOV not working on vswitch e-base | |
| ```` | |
| Name NetAdapterInterfaceDescription IovEnabled IovSupport IovSupportReasons IovQueuePairCount IovQueuePairsInUse IovVirtualFunctionCount IovVirt | |
| ualFunc | |
| tionsIn | |
| Use | |
| ---- ------------------------------ ---------- ---------- ----------------- ----------------- ------------------ ----------------------- ------- |
| 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 |