#Credit goes to Brian Wilhite for this script #https://devblogs.microsoft.com/scripting/use-powershell-to-change-the-mouse-pointer-scheme/ #Set the I-Beam/Text Select cursor to the one used in the Windows Black scheme Set-Itemproperty -path 'HKCU:\Control Panel\Cursors' -name 'IBeam' -value '%SystemRoot%\cursors\beam_r.cur' #Apply the cursor settings change $User32 = @’ [DllImport("user32.dll", EntryPoint = "SystemParametersInfo")] public static extern bool SystemParametersInfo( uint uiAction, uint uiParam, uint pvParam, uint fWinIni); ‘@ $CursorRefresh = Add-Type -MemberDefinition $User32 -Name WinAPICall -Namespace SystemParamInfo –PassThru $CursorRefresh::SystemParametersInfo(0x0057,0,$null,0)