[PowerShell] Sophia Script for Windows 10 & Windows 11 | 5.17.8 | 6.5.8 | x64 2023

Discussion in 'Scripting' started by farag, May 8, 2020.

  1. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,347
    2,302
    60
    just sent you a text at suggested
     
  2. farag

    farag MDL Member

    Apr 1, 2014
    238
    352
    10
    #242 farag, Apr 9, 2021
    Last edited: Apr 19, 2021
    (OP)
  3. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,347
    2,302
    60
  4. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,347
    2,302
    60
    #244 drew84, Apr 23, 2021
    Last edited: Apr 23, 2021
    v5.10.2 23.04.2021

    Windows 10 2004 (20H1)/20H2 (2009) | LTSC
    Diff from v5.10.1
    5.10.1...5.10.2

    • Updated the descriptions;
    • PowerShell 7 version;
      • CsWinRT updated up to 1.2.5.
    • Minor changes.
    • The development focus shifted to SophiApp
    A Refresher
    CHANGELOG
     
  5. farag

    farag MDL Member

    Apr 1, 2014
    238
    352
    10
  6. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,645
    270
    How this tool performs removing OneDrive?
    Is it perfect on any W10 version/edition?
     
  7. farag

    farag MDL Member

    Apr 1, 2014
    238
    352
    10
    For the supported ones. So yes.
     
  8. farag

    farag MDL Member

    Apr 1, 2014
    238
    352
    10
    Also re-attached the wrapper. David has fized the exception.
     
  9. farag

    farag MDL Member

    Apr 1, 2014
    238
    352
    10
    #249 farag, Apr 28, 2021
    Last edited: Apr 28, 2021
    (OP)
    The v5.10.3 released with a minor wrapper UI tweaks and bugfixes.
     
  10. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,645
    270
    #250 Mr.X, Apr 28, 2021
    Last edited: Apr 28, 2021
    There are two buttons Default (to select all default options) and a Opposite button (to select the opposite option at the right) but there's a third option to ignore either two options. Tell David to add a button to select all at once without doing it manually. In my case I just wanted to uninstall OneDrive so I had to select it but none of the others.
     
  11. farag

    farag MDL Member

    Apr 1, 2014
    238
    352
    10
    Added)
     
  12. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,645
    270
    Sorry, my post was incomplete at first now it's edited.
     
  13. farag

    farag MDL Member

    Apr 1, 2014
    238
    352
    10
  14. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,347
    2,302
    60
  15. farag

    farag MDL Member

    Apr 1, 2014
    238
    352
    10
    Hopefully, this will be the lastest release until the Sun Valley will see the light in Autumn. I've finally found a new job in an international company (after 1,5 years of searching and 25 interviews, OMG). Everything is new for me here. Thats why I decided to release it before going to the new work place. oz-zo is still coding SophiApp. Everything goes according to plan. Not perfect, but its OK.
    https://github.com/Sophia-Community/SophiApp
     
  16. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,347
    2,302
    60
    02.06.2021

    v5.10.6

    Diff from
    5.10.5...5.10.6

    • Added functions NewsInterests -Hide & NewsInterests -Show to configure "News and Interests" on the taskbar;
    • Updated the CABInstallContext -Add function;
      • If the .cab file extension type associated to open with a third party app by default, the "Install" context menu item won't be displayed, so the default association for the .cab file type will be restored forcedly.
    • Updated the French translation;
    • Minor changes.
    • The development focus shifted to SophiApp
    • Sophia Script Wrapper was rewritten from the scratch;
      • Redefined UI and UX;
      • Many bugs fixed.
      • Supports LTSC and the current supported Windows 10 editions;
      • Dark and light themes;
      • Just import the Sophia.ps1 file and all functions will be set up automatically.
     
  17. ERRASoft

    ERRASoft MDL Novice

    Aug 17, 2014
    17
    3
    0
    hi Farag I noticed that you may have swapped two numbers in the Sophia.psm1 module and that here "Light" is set to 1 should be 0 and "Dark" is set to 0 and should be 1 you can see this on the clock when the script is finished, then the display is black
     
  18. farag

    farag MDL Member

    Apr 1, 2014
    238
    352
    10
    Hi. I'm alive. Where did I swapped? Give me a link to the code string.
     
  19. ERRASoft

    ERRASoft MDL Novice

    Aug 17, 2014
    17
    3
    0
    function WindowsColorScheme
    {
    param
    (
    [Parameter(
    Mandatory = $true,
    ParameterSetName = "Light"
    )]
    [switch]
    $Light,

    [Parameter(
    Mandatory = $true,
    ParameterSetName = "Dark"
    )]
    [switch]
    $Dark
    )

    switch ($PSCmdlet.ParameterSetName)
    {
    "Light"
    {
    New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 0 -Force
    }
    "Dark"
    {
    New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -PropertyType DWord -Value 1 -Force
    }
    }
    }
    this is my setting
    you set light to 1 and dark to 0 i saw this if i used the light colorscheme
     
  20. farag

    farag MDL Member

    Apr 1, 2014
    238
    352
    10