File tree 3 files changed +15
-2
lines changed
3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change
1
+ github : [stevencohn]
Original file line number Diff line number Diff line change @@ -137,8 +137,13 @@ Begin
137
137
Set-ItemProperty $0 - Name ' PeopleBand' - Type DWord - Value 0
138
138
139
139
$0 = ' HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced'
140
- # taskbar small buttons
141
- Set-ItemProperty $0 - Name ' TaskbarSmallIcons' - Value 1 - Type DWord
140
+
141
+ if (-not $Win11 )
142
+ {
143
+ # taskbar small buttons
144
+ Set-ItemProperty $0 - Name ' TaskbarSmallIcons' - Value 1 - Type DWord
145
+ }
146
+
142
147
# disable item checkboxes
143
148
Set-ItemProperty $0 - Name ' AutoCheckSelect' - Value 0 - Type DWord
144
149
# replace cmd prompt with PowerShell
@@ -275,6 +280,11 @@ Begin
275
280
{
276
281
Set-ItemProperty $0 - Name ' PnPCapabilities' - Type String - Value ' 24'
277
282
}
283
+
284
+ # enabled Device Manager >> HID >> Power Management tab
285
+ # used to disable power management of Bluetooth Low Energy devices, like Airpods
286
+ $0 = ' HKLM:\SYSTEM\CurrentControlSet\Control\Power'
287
+ Set-ItemProperty $0 - Name ' CsEnabled' - Type DWord - Value 0
278
288
}
279
289
280
290
Original file line number Diff line number Diff line change @@ -246,6 +246,8 @@ Process
246
246
return Get-Addresses
247
247
}
248
248
249
+ $script :verbose = $PSCmdlet.MyInvocation.BoundParameters [" Verbose" ].IsPresent
250
+
249
251
$info = Get-Information
250
252
if ($info -and $info.Items -and $info.Items.Count -gt 0 )
251
253
{
You can’t perform that action at this time.
0 commit comments