Login | |
|
 |
RE: If else - 12/14/2007 5:54:19 AM
|
|
 |
|
| |
SAPIENScripter
Posts: 261
Score: 2
Joined: 11/1/2006
From: SAPIEN Technologies
Status: offline
|
Because $accepted is an array, you could check $accepted.count. There is also an operator -contains which you can use to see if a specific item exists in the array.
_____________________________
Jeffery Hicks Windows PowerShell MVP SAPIEN Technologies - Scripting, Simplified. www.SAPIEN.com
|
|
| |
|
|
|
|
|