My C# Corner
Thursday, April 1, 2010
Powershell implicit conversion on relational operator
PS > "1" -eq 1
True
PS > "1 " -eq 1
False
PS > 1 -eq "01"
True
PS > "01" -eq 1
False
PS >
Here the whole point is to show powershell converts right hand side operand to left hand data type.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Node.JS rest api Tutorials
All WMI Class Lists
All WMI Class Names list : - Name ...
Create MHT from HTML in Powershell
$adSaveCreateNotExist = 1 $adSaveCreateOverWrite = 2 $adTypeBinary = 1 $adTypeText = 2 function SaveFileTo($msg,$mhtp){ $strm=New-Obje...
Entity Framework Core 3.0 and Rest API, how to, tutorial #dotnetcore #Dotnet #entityFramework3 #howto #Tutorials #restapi
url: https://www.youtube.com/watch?v=Tq4w5qfCjko&ab_channel=C%23Guy Entity Framework Core 3.0 and Rest API, how to, tutorial #dotnetc...
No comments:
Post a Comment