Showing results for April 2015 - Page 2 of 13 - Scripting Blog [archived]

Apr 28, 2015
0
0

PowerTip: Retrieve Last Token Received by PowerShell

Doctor Scripto
Doctor Scripto

Summary: Learn how to retrieve the last token that was received by Windows PowerShell.  How can I retrieve the last token received by Windows PowerShell?  Use the $$ automatic variable: PS C:\> notepad C:\fso\AMoreComplete.txt PS C:\> $$ C:\fso\AMoreComplete.txt

Scripting Guy!Windows PowerShellPowerTip
Apr 28, 2015
0
0

Use PSReadLine for More Efficient PowerShell Console

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, presents a tip from the Charlotte User Group meeting about using PSReadLine. Microsoft Scripting Guy, Ed Wilson, is here. One really big tip that came out during the Charlotte User Group meeting was to use the PSReadLine module. It provides is syntax highlighting, which makes it easier to ...

Scripting Guy!Windows PowerShellscripting techniques
Apr 27, 2015
0
0

PowerTip: Find User's Home Directory in PowerShell

Doctor Scripto
Doctor Scripto

Summary: Find the path to the current user's home directory in Windows PowerShell.  How can I easily find the current user's home directory for a script I am writing?  Use the $home automatic variable: PS C:\> $HOME

Scripting Guy!Windows PowerShellPowerTip
Apr 27, 2015
0
0

Favorite PowerShell Tips and Tricks

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about Windows PowerShell tips and tricks from the Charlotte User Group meeting. Microsoft Scripting Guy, Ed Wilson, is here. Last week was a special meeting at the Charlotte Windows PowerShell User Group. It followed immediately after the Windows PowerShell Summit, and as a result, the user group i...

Scripting Guy!Windows PowerShellscripting techniques
Apr 26, 2015
0
0

PowerTip: Find Current Directory in PowerShell

Doctor Scripto
Doctor Scripto

Summary: Easily find the current directory in Windows PowerShell.   How can I return a path object that contains information about the current working directory in Windows PowerShell?  Use the $pwd automatic variable: PS C:\> $pwd

Scripting Guy!Windows PowerShellPowerTip