'Manage Taskbar Align Windows 11 - Powershell

I want align the taskbar of windows 11 to the left side using PowerShell.

I did this:

New-ItemProperty "HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "TaskbarAl" -Value "0" -PropertyType Dword

I review and the value was changed but the taskbar don't move.



Solution 1:[1]

I don't know why but with Powershell I could not did it. Finally I did with "reg add".

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jimmy Céspedes Segura