Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created November 28, 2018 20:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/f5a21f458f26e8c496d7597d70863623 to your computer and use it in GitHub Desktop.
Save grahamc/f5a21f458f26e8c496d7597d70863623 to your computer and use it in GitHub Desktop.
[nix-shell:~]$ pwsh
PowerShell v6.0.4
Copyright (c) Microsoft Corporation. All rights reserved.
https://aka.ms/pscore6-docs
Type 'help' to get help.
PS /home/grahamc> dir
Directory: /home/grahamc
Mode LastWriteTime Length Name
---- ------------- ------ ----
dir : Illegal characters in path.
Parameter name: path
At line:1 char:1
+ dir
+ ~~~
+ CategoryInfo : InvalidArgument: (/home/grahamc:String) [Get-ChildItem], ArgumentException
+ FullyQualifiedErrorId : DirArgumentError,Microsoft.PowerShell.Commands.GetChildItemCommand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment