16-12-2009, 12:19
|
|
\dev\null
|
|
חבר מתאריך: 08.11.02
הודעות: 11,379
|
|
העברת פרמטרים לתוכניות בסקריפט Powershell
קוד:
im trying to set a PS $VAR as a cmd command (thats easy), but i was to be able to pass "options" to it,
meaning lets say im creating a var named $ping = ping
i want 2 things to happen:
1. when i write this command $ping 10.0.0.1 i want it to actually ping that IP
2. i want to be able to use the "tags/options" of that command so i can do $ping 10.0.0.1 -t
i need this crap in order to pass some cmd command in PS
but i can't seem to get it to work, i know did it a while ago
בגדול להעביר פרמטרים לפקודה בתוך הסקריפט
נערך לאחרונה ע"י The IceMan בתאריך 16-12-2009 בשעה 13:03.
|