Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » FAQ » CMDLET:UTILITY   (RSS)
Sorry, but there are no more tags available to filter with.

How can a script tell what directory it was run from?

PSMDTAG:FAQ: How can a script determine what directory it was invoked from? PSMDTAG:FAQ: What is $MyInvocation? PSMDTAG:FAQ: Why is $MyInvocation.ScriptName empty? Create 2 scripts (First.PS1 and Second.PS1) to explore what is going on with $MyInvocation
Posted by PowerShellTeam | 2 Comments
Filed under: ,

Working with Sort-Object Cmdlet

In this blog I will try to explain different features of sort-object(Sort) cmdlet. For the purpose of this blog, I assume the following objects exist: MSH C:\temp\monad> $a,$b,$c,$d Score Name ----- ---- 100 John 90 Henry 90 Tom 80 David From the definition
Posted by PowerShellTeam | 0 Comments
Filed under: ,
 
Page view tracker