Commit Graph
18 Commits
Author SHA1 Message Date
Jason Shirk 3fb9315fce cleanup demo script 2016-07-21 09:56:14 -07:00
Jason Shirk 444769cb6b Add -Force to Remove-CronJob 2016-07-21 09:55:48 -07:00
Jason Shirk d7d516a066 Don't use Invoke-Expression 2016-07-21 09:40:03 -07:00
Jason Shirk af27a06f89 Fix Remove-CronTab to only remove the correct job(s) 2016-07-21 09:18:28 -07:00
Jason Shirk 3dafae5357 Move crontab demo to it's own directory
Also change CronTab.psd1 encoding to ASCII
2016-07-21 08:51:09 -07:00
Jason Shirk ec1369f1dc Add argument completion for -UserName 2016-07-21 08:44:36 -07:00
Jason Shirk ab5bda18e0 Fix removing all lines from crontab 2016-07-20 13:49:44 -07:00
Jason Shirk 0be252ec0e Use class instead of PSObject for Get/Remove-CronJob 2016-07-19 12:27:33 -07:00
Jason Shirk (POWERSHELL) c0b16d7bf5 Skip tone/duration on beep on LINUX 2016-07-07 12:07:52 -07:00
Jason Shirk (POWERSHELL) 372d69583f Only use CHAR_INFO on Windows
CHAR_INFO has 4 bits for ConsoleColor.  On Linux, ConsoleColor is sometimes -1 (unknown),
which is a 17th possible value for ConsoleColor, which can't be represented in CHAR_INFO.

To fix this, I've introduced a bigger type that gets converted to CHAR_INFO when necessary.
2016-07-07 12:07:52 -07:00
Jason Shirk (POWERSHELL) e79c62f9ec Introduce TTYConsole for UNIX 2016-07-07 12:07:52 -07:00
Jason Shirk (POWERSHELL) 8e234322c4 First stab addressing CORECLR vs. LINUX in PSReadLine 2016-07-07 12:07:52 -07:00
Jason Shirk (POWERSHELL) efc83bbaa2 Add csproj files and sln for editing but not building 2016-07-05 10:27:41 -07:00
Jason Shirk (POWERSHELL) 07501f1d3a Add *.csproj.user to .gitignore 2016-07-01 17:37:19 -07:00
Jason Shirk (POWERSHELL) dc1d672a86 Fix Measure-Object -Property w/ wildcards
Fixes #1215
2016-06-30 18:16:37 -07:00
Jason Shirk (POWERSHELL) 4269398379 Fix Split-Path -NoQualifier for Unix paths 2016-06-30 12:59:04 -07:00
Jason Shirk (POWERSHELL) bfc5b7e836 Revert Unix specific Split-Path -Qualifier code
The -Qualifier code for Split-Path made some incorrect assumptions:

* That a path only referred to the file system
* That drives cannot be used on Unix systems

These assumptions were both wrong, so I've reverted the change so we
do not have any Unix specific code in Split-Path now.

Fixes #1176
2016-06-29 14:12:29 -07:00
Jason Shirk (POWERSHELL) 283d596a20 Import local Pester version before running tests 2016-06-24 14:03:30 -07:00