Last active
August 24, 2018 08:02
-
-
Save fatherjack/8491fb3c3f0280c2127c05b02a3a4a79 to your computer and use it in GitHub Desktop.
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
# i - copy the complete URL from your browser | |
# ii - run this line of powershell | |
# iii - go to document and paste | |
# iv - content pasted is the title of the web page | |
# useful for when you want to build aset of reference and need page title and url in the document | |
(((Get-Clipboard).Split('/')[-1]).Split('?')[0]).Replace("-", " ") | Set-Clipboard | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment