mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-08 09:04:18 +01:00
Update both scripts
This commit is contained in:
parent
5af77ba065
commit
8590dbcc55
@ -6,15 +6,13 @@
|
||||
.NOTES Author: Markus Fleschutz / License: CC0
|
||||
#>
|
||||
|
||||
#Requires -RunAsAdministrator
|
||||
|
||||
try {
|
||||
$godmodeSplat = @{
|
||||
Path = "$env:USERPROFILEDesktop"
|
||||
$GodModeSplat = @{
|
||||
Path = "$HOME\Desktop"
|
||||
Name = "GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}"
|
||||
ItemType = 'Directory'
|
||||
}
|
||||
new-item @godmodeSplat
|
||||
new-item @GodModeSplat
|
||||
|
||||
write-host -foregroundColor green "OK - see the new desktop icon"
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user