Skip to content

Instantly share code, notes, and snippets.

@joasch
Created August 13, 2017 16:39
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 joasch/df4d14ed9ab6292f9558f61fb2f44550 to your computer and use it in GitHub Desktop.
Save joasch/df4d14ed9ab6292f9558f61fb2f44550 to your computer and use it in GitHub Desktop.
System.string Reverse Property
#ibjs.net enable "String".Reverse 20170813
Update-TypeData -TypeName "System.String" -MemberType ScriptProperty -MemberName "Reverse" -Value {-join $this[($this.length)..0]} -Force
(get-history|select -Last 1).commandline.reverse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment