|
|
Browse by Tags
All Tags » cmd.exe » PowerShell
-
This is a translation from the Hey Scripting guy article : How Can I Compare Two Strings Values and Then Report Back the Result of That Comparison? ,
a quick translation to PowerShell :
PARAM ($Str1,$str2)
if ($str1.length -lt $str2.length){''string 1 length is less than string 2'';exit 1} if ($str1.length -eq $str2.length){''strings are ...
-
Paul Thurrott wrote a nice article about PowerShell and CMD support in Windows Server 2008
Dueling Command Lines in Windows Server 2008
except for my toughts about the outcome I found it a excelent article, with a great start :
In this corner, in the black trunks, we have the reigning champion, that last unwelcome reminder of ...
|
|
|