ショートカット(lnk)の作成$WshShell = New-Object -ComObject WScript.Shell $ShortCut = $WshShell.CreateShortcut("C:\tmp\mycalc.lnk") $ShortCut.TargetPath = "calc.exe" $ShortCut.Save()
参考http://www.computerperformance.co.uk/powershell/powershell_create_shortcut.htm |
|