Tip #4 –

 

#4

   
   
   
   
   

 

Tip #3 – Comparison Operators

Published date – May12, 2013

-eq

 

-ne

 

-gt

 

-ge   

 

-lt

 

-le

 

-Like

 

-NotLike

 

-Match

 

-NotMatch

 

-Contains

 

-NotContains

 

-In

 

-NotIn

 

-Replace

 

.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }

 
 

 

More info – http://technet.microsoft.com/en-us/library/hh847759.aspx

 

#2 Logical Operators
Published date – April 11, 2013

 
-and         

Logical AND

-or         

Logical OR

-xor         

Logical XOR

-not         

Not equal to

!            

Not equal to

 

More info – http://technet.microsoft.com/en-us/library/hh847789.aspx

#1 Special Characters – Published Date – April 9, 2013

PoweShell supports the following special characters:

 

`0

Null

`a

Alert

`b

Backspace

`f

Form feed

`n

New line

`r

Carriage return

`t

Horizontal tab

`v

Vertical tab

–%

Stop parsing

 

More info – http://technet.microsoft.com/en-us/library/hh847835.aspx

http://www.amazon.com/dp/1849687447/?tag=packtpubli-20

http://www.amazon.com/dp/1849687447/?tag=packtpubli-20

Powered by WPeMatico

Categories: Microsoft

Related Posts

Microsoft

Verify Service Status Remotely Using Local Account – PowerShell Script

I have modified one of my previously published script – Stop, Start, Disable Service Remotely–PowerShell Script (http://portal.sivarajan.com/2011/05/stop-start-disable-service.html) to use Local account (instead of a domain account) to verify the status of the service.   Input Read more…

Microsoft

Collect Computer Information From Active Directory– PowerShell Script

This PowerShell script can be used to collect computer information from Active Directory.   I am searching only Windows XP and Windows 7 machines.  You can update these values  by modifying $OS1 and $OS2 variables. $OS1 Read more…

Microsoft

F5 VPN Plug-in and NPuroamHost.dll Issue

By default, the F5 VPN plug-in (F5 Networks Firepass Host Plugin) doesn’t install from Internet Explorer 11 browser.  If you try the manual installation option, you will get only the NPuroamHost.dll file. Copying and pasting Read more…