File tree 2 files changed +30
-0
lines changed
2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ #RequireAdmin
2
+
3
+ Main()
4
+
5
+ Func Main()
6
+
7
+ #Region ; Extract Dependancies
8
+ If Not FileExists (@TempDir & " .\FMRS\FixMyRiftS.ps1" ) Then
9
+ DirCreate (@TempDir & " \FMRS" )
10
+ FileInstall (" .\FixMyRiftS.ps1" , @TempDir & " \FMRS\FixMyRiftS.ps1" )
11
+ EndIf
12
+ #EndRegion
13
+
14
+ #Region ;Toggle Device
15
+ ShellExecute (" powershell " & @TempDir & " \FMRS\FixMyRiftS.ps1" )
16
+ #EndRegion
17
+
18
+ EndFunc
19
+
20
+
21
+ ; USB\VID_2833&PID_2051&REV_0108
22
+ ; USB\VID_2833&PID_2052&REV_0108
Original file line number Diff line number Diff line change
1
+ # Requires -RunAsAdministrator
2
+ Write-Host " RCMaehl's Rift S Fix Script v0.1"
3
+ Write-Host " "
4
+ Write-Host " Disabling Rift S USB Hub (Errors here are normal)"
5
+ Get-PnpDevice - FriendlyName " Rift S USB Hub" | Disable-PnpDevice - confirm:$false
6
+ Write-Host " Enabling Rift S USB Hub"
7
+ Get-PnpDevice - FriendlyName " Rift S USB Hub" | Enable-PnpDevice - confirm:$false
8
+ Write-Host " Your Rift S should now be working!"
You can’t perform that action at this time.
0 commit comments