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
# Homedrive fix | |
$env:HOMEDRIVE = "C:\" | |
$programPath = $DesktopPath = [Environment]::GetFolderPath("Desktop") + "\JiraTimers.lnk" | |
& $programPath |
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
# Homedrive fix | |
$env:HOMEDRIVE = "C:\" | |
$programPath = $env:USERPROFILE + "\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\JiraTimers.lnk" | |
& $programPath |
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
$packagesPath = "D:\\Downloads\\*.snupkg" | |
nuget push $packagesPath -Source https://api.nuget.org/v3/index.json | |
if ($LastExitCode -ne 0) | |
{ | |
exit $LastExitCode | |
} | |
Remove-Item $packagesPath |