Created
January 4, 2017 08:27
-
-
Save shirothin/0906ef45470c16cd0c787f71cdbd30e9 to your computer and use it in GitHub Desktop.
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
#ManageNetPasss | |
$AppLocation = "C:\Windows\System32\rundll32.exe" | |
$WshShell = New-Object -ComObject WScript.Shell | |
$Shortcut = $WshShell.CreateShortcut("$Home\Desktop\ManageNetPasss.lnk") | |
$Shortcut.TargetPath = $AppLocation | |
$Shortcut.Arguments ="keymgr.dll, KRShowKeyMgr" | |
$Shortcut.IconLocation = "shell32.dll,14" | |
$Shortcut.Description ="ManageNetPasss" | |
$Shortcut.WorkingDirectory ="C:\Windows\System32" | |
$Shortcut.Save() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment