.
This commit is contained in:
16
PS/ShowSeconds.ps1
Normal file
16
PS/ShowSeconds.ps1
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
Set-StrictMode -Version 'latest'
|
||||||
|
if (Test-Path -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced')
|
||||||
|
{
|
||||||
|
Get-ChildItem -Path 'HKCU:\Control Panel\NotifyIconSettings' |
|
||||||
|
ForEach-Object {
|
||||||
|
Set-ItemProperty -Path ($_.PSPath) -ErrorAction SilentlyContinue -Name 'IsPromoted' -Value 0x00000001
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
|
||||||
|
"ShowSecondsInSystemClock"=dword:00000001
|
||||||
@ -89,7 +89,6 @@ if [%ZUPER%] == [1] (
|
|||||||
if [%PRINTER%] == [2] (
|
if [%PRINTER%] == [2] (
|
||||||
echo "Installing Zebra"
|
echo "Installing Zebra"
|
||||||
@REM %EXE% -ExecutionPolicy Bypass -File %ZEBRAPS%
|
@REM %EXE% -ExecutionPolicy Bypass -File %ZEBRAPS%
|
||||||
|
|
||||||
)
|
)
|
||||||
if [%PRINTER%] == [3] (
|
if [%PRINTER%] == [3] (
|
||||||
echo "Installing SecondsUpdate and AppIconsUpdate"
|
echo "Installing SecondsUpdate and AppIconsUpdate"
|
||||||
|
|||||||
Reference in New Issue
Block a user