-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
AveGamers | Jonas Techand
committed
Aug 8, 2024
1 parent
5e50e4f
commit d878e59
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
# Intune_Taskbaralignment-left | ||
This script moves the Taskbar to the left site instead of the default behavior. | ||
|
||
## Install | ||
> Run this script using the logged on credentials: yes | ||
> Enforce script signature check: no | ||
> Run script in 64 bit PowerShell Host: no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# PackageName: Taskbar-Left | ||
# Description: This script will move the taskbar default to left aligned. | ||
# Author: Jonas Techand | ||
# Version: 1.0 | ||
# Date: 2024-08-08 | ||
# -------------------------------------------------------------------------------------------- | ||
# Changelog: Script created | ||
# -------------------------------------------------------------------------------------------- | ||
|
||
$ScriptName = move-taskbar-left | ||
Start-Transcript -Path $env:TEMP\Intune\$ScriptName.log -Append | ||
|
||
$registryPath = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" | ||
|
||
$Name = "TaskbarAl" # Shift Start Menu Left | ||
|
||
$value = "0" | ||
|
||
New-ItemProperty -Path $registryPath -Name $Name -Value $value -PropertyType DWORD -Force -ErrorAction Ignore | ||
|
||
Stop-Transcript |