Anlage des Repos
This commit is contained in:
6
archive/TileMenu_Builder/Links/Get-StartApps.URL
Normal file
6
archive/TileMenu_Builder/Links/Get-StartApps.URL
Normal file
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=https://technet.microsoft.com/en-us/library/dn283402(v=wps.630).aspx
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM\AppData\Local\Mozilla\Firefox\Profiles\c6ah6m4e.default-1437144060409\shortcutCache\_bhQbqkFWWmyCW8ToSZClg==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://www.laurierhodes.info/?q=node/65
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM\AppData\Local\Mozilla\Firefox\Profiles\c6ah6m4e.default-1437144060409\shortcutCache\5RU3ELsOljvwe_R+WiYozA==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=https://gallery.technet.microsoft.com/scriptcenter/Script-to-pin-items-to-51be533c
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM\AppData\Local\Mozilla\Firefox\Profiles\c6ah6m4e.default-1437144060409\shortcutCache\7iYgtHox3mw660z5NRKSVA==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=http://stackoverflow.com/questions/32034313/how-to-pin-to-start-menu-using-a-batch-file-windows-10
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM\AppData\Local\Mozilla\Firefox\Profiles\c6ah6m4e.default-1437144060409\shortcutCache\4y4oPbPX6fcA3FOH2Wus6g==.ico
|
||||
IconIndex=0
|
||||
@@ -0,0 +1,6 @@
|
||||
[InternetShortcut]
|
||||
URL=https://startpage.com/do/dsearch
|
||||
IDList=
|
||||
HotKey=0
|
||||
IconFile=C:\Users\KammM\AppData\Local\Mozilla\Firefox\Profiles\c6ah6m4e.default-1437144060409\shortcutCache\bn7OaulXhQFFquqfyTwAvg==.ico
|
||||
IconIndex=0
|
||||
101
archive/TileMenu_Builder/TileMenu_Builder.ps1
Normal file
101
archive/TileMenu_Builder/TileMenu_Builder.ps1
Normal file
@@ -0,0 +1,101 @@
|
||||
cls
|
||||
|
||||
#Test Registry Keys for existens
|
||||
|
||||
$RegistryTest = (Test-Path -Path "HKCU:\Software\Digital Data")
|
||||
|
||||
IF ($RegistryTest -eq 'TRUE') {
|
||||
|
||||
Write-Host "Digital data gibts!"
|
||||
$RegistryTest = (Test-Path -Path "HKCU:\Software\Digital Data\TileMenu_Builder")
|
||||
|
||||
IF ($RegistryTest -eq 'TRUE') {
|
||||
|
||||
Write-Host "TileMenu_Builder gibts auch!"
|
||||
$RegistryTest = (Test-Path -Path "HKCU:\Software\Digital Data\TileMenu_Builder\$env:computername")
|
||||
|
||||
IF ($RegistryTest -eq 'TRUE') {
|
||||
|
||||
Write-Host "$env:computername gibts sogar auch!"
|
||||
|
||||
} #end if
|
||||
|
||||
ELSE {
|
||||
|
||||
New-Item -Path "HKCU:\Software\Digital Data\TileMenu_Builder" -Name "$env:computername"
|
||||
|
||||
Set-ItemProperty -Path "HKCU:\Software\Digital Data\TileMenu_Builder\$env:computername" -Name InstallerCount -Value (get-Item -path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders).ValueCount
|
||||
|
||||
} #end else
|
||||
|
||||
} #end if
|
||||
|
||||
ELSE {
|
||||
|
||||
New-Item -Path "HKCU:\Software\Digital Data" -Name "TileMenu_Builder"
|
||||
New-Item -Path "HKCU:\Software\Digital Data\TileMenu_Builder" -Name "$env:computername"
|
||||
|
||||
Set-ItemProperty -Path "HKCU:\Software\Digital Data\TileMenu_Builder\$env:computername" -Name InstallerCount -Value (get-Item -path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders).ValueCount
|
||||
|
||||
} #end else
|
||||
|
||||
} #end if
|
||||
|
||||
ELSE {
|
||||
|
||||
Try {
|
||||
|
||||
New-Item -Path "HKCU:\Software" -Name "Digital Data"
|
||||
New-Item -Path "HKCU:\Software\Digital Data" -Name "TileMenu_Builder"
|
||||
New-Item -Path "HKCU:\Software\Digital Data\TileMenu_Builder" -Name "$env:computername"
|
||||
|
||||
Set-ItemProperty -Path "HKCU:\Software\Digital Data\TileMenu_Builder\$env:computername" -Name InstallerCount -Value (get-Item -path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders).ValueCount
|
||||
|
||||
} #end try
|
||||
|
||||
catch {
|
||||
|
||||
Write-Host "Reg nocht möglich!"
|
||||
|
||||
} #end catch
|
||||
|
||||
} #end else
|
||||
|
||||
exit
|
||||
|
||||
# Get Software counter from User Registry
|
||||
$InstallerCount_old = (Get-ItemProperty -Path "HKCU:\Software\Digital Data\TileMenu_Builder\$env:computername" -name InstallerCount).InstallerCount
|
||||
write-host "Test:" $InstallerCount_old
|
||||
|
||||
$InstallerCount_new = (get-Item -path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders).ValueCount
|
||||
|
||||
write-host "Test:" $InstallerCount_new
|
||||
|
||||
|
||||
IF ($InstallerCount_old -ne $InstallerCount_new) {
|
||||
|
||||
Write-host "Werte sind ungleich!"
|
||||
|
||||
#### Hauptprogramm
|
||||
|
||||
|
||||
} #end if
|
||||
|
||||
ELSEIF ($InstallerCount_old -eq $InstallerCount_new) {
|
||||
|
||||
Write-Host "Werte sind gleich"
|
||||
Write-Host "Es sind keine Maßnahmen nötig!"
|
||||
|
||||
} #end elseif
|
||||
|
||||
ELSE {
|
||||
|
||||
Write-Host "ERROR!"
|
||||
|
||||
} #end else
|
||||
|
||||
|
||||
exit
|
||||
Remove-Variable *
|
||||
$error.clear
|
||||
cls
|
||||
52
archive/TileMenu_Builder/TileMenu_Builder_Settings.ini
Normal file
52
archive/TileMenu_Builder/TileMenu_Builder_Settings.ini
Normal file
@@ -0,0 +1,52 @@
|
||||
# Digital Data Konfigurationsdatei.
|
||||
# UTF-8 Kodierung benötigt!
|
||||
|
||||
#-----------------------------------------------------------------------------------------------------
|
||||
############################################ General Settings ########################################
|
||||
#-----------------------------------------------------------------------------------------------------
|
||||
|
||||
# Pfadangabe in der die Log Dateien abgelegt werden
|
||||
# Wenn Sie diesen Wert leer lassen, wird im Skriptverzeichnis ein Ordner "Logs" erstellt,
|
||||
# in diesem werden entsprechende Logdateien abgelegt.
|
||||
LogPathValue =
|
||||
|
||||
# Zahlenwert, wie lange (in Tagen) Logdateien aufbewahrt werden sollen (Default: 60).
|
||||
# Wenn Sie diesen Wert leer lassen, wird der Standardwert von 60 Tagen verwendet.
|
||||
# Wert 0 schaltet die Löschfunktion komplett aus.
|
||||
LogKeepTime = 1
|
||||
|
||||
#-----------------------------------------------------------------------------------------------------
|
||||
######################################## Basic Configuration #########################################
|
||||
#-----------------------------------------------------------------------------------------------------
|
||||
|
||||
# Default Program Path
|
||||
ProgramFiles = D:\ProgramFiles
|
||||
|
||||
TileColums = 3
|
||||
|
||||
#-----------------------------------------------------------------------------------------------------
|
||||
############################################## Profiles ##############################################
|
||||
#-----------------------------------------------------------------------------------------------------
|
||||
|
||||
Tile-Headline = Unternehmensrelevante-Apps
|
||||
|
||||
Tile-App = JTL WaWi | JTL.exe
|
||||
Tile-App = windream Suche | WMFind.exe
|
||||
|
||||
|
||||
Tile-Headline = Unterstützende-Apps
|
||||
|
||||
Tile-App = IrfanView Bildbetrachter | IrfanView.exe | D:\ProgramFiles\IrfanView 4.45
|
||||
Tile-App = IrfanView Bildbetrachter (alt) | IrfanView 4.23 | D:\ProgramFiles\IrfanView 4.23
|
||||
Tile-App = Paint.net Bildbearteitung | Paintnet.exe
|
||||
Tile-App = Word 2016 | WinWord.exe | D:\ProgramFiles-System\32Bit
|
||||
|
||||
|
||||
Tile-Headline = Zusätzliche-Apps
|
||||
|
||||
|
||||
|
||||
# gci "D:\Programme\DMS\windream" -Recurse -filter wmfind.exe --> immer nur den ersten nehmen!
|
||||
|
||||
HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\Folders
|
||||
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstaller
|
||||
Reference in New Issue
Block a user