Skip to content

Commit

Permalink
Push local files
Browse files Browse the repository at this point in the history
  • Loading branch information
AveGamers | Jonas Techand committed Aug 8, 2024
1 parent 5e50e4f commit d878e59
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
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
21 changes: 21 additions & 0 deletions move-taskbar-left.ps1
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

0 comments on commit d878e59

Please sign in to comment.