How to run a Unix script on a remote Unix server to Windows 7?
Are what Windows has still provides remote shell tools to allow the launch of the scripts on remote Unix servers?
I used to do this on Windows XP with the "rsh" command But this command does not exist on my Windows 7 Pro.
I tried the new 'winrm' and 'winrs' orders, but I'm not able to connect to my Unix account. I wonder if the winrs command is designed only for Windows connections to Windows?
Thank you.
Hello
Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows 7 networking forum.
http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads
Tags: Windows
Similar Questions
-
How to run the foxpro 2.6 existing in novell server through windows xp or 2000 application
Mr President.
in my foxpro 2.6 office are placed in the novell server.
copy and paste the file to database through windows xp for novell server is possible.
but running a foxpro application is not possible.
How to solve it?
Please inform
Hello
I suggest you post the question in the forums and check them off below if it helps:
http://social.technet.Microsoft.com/forums/en/winservergen
It will be useful.
-
How to run 2 different applications of the same Application Server
Hello
I would like to know how to run two different applications of the same Application Server with different databases?
We use
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
Oracle Application Server 10g 10.1.2.0.2
Kind regards
HassanYou can have as much as you want, just your applications should have different names or URLs and point to a specific database (using data sources).
Greetings.
-
How to run the powershell script of command with several parameters
Is there a way to run a powershell script from the dialog box run with several parameters? In addition, the path to the script contains spaces, for example, c:\powershell scripts\script.ps1.
Take a look at http://www.powershell.nu/2009/12/16/running-scripts-with-arguments-in-powershell/ which explains how to pass arguments to a script.
André
-
How to run a Powershell script via a batch file
I'm new on using Powershell and I have a fundamental question regarding running a powershell script. Basically, I wrote a file of commands as shown below.
C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe - PSConsoleFile "C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\vim.psc1" - NoExit-command "C:\MyScripts\RunSpanshot.ps1".
I run the batch file and nothing seems to happen. What is the problem with trying to run the RunSpanshot.ps1 script as shown above? -any help is appreciated.
Thank you
You could do
C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe -PSConsoleFile "C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\vim.psc1" -NoExit -Command "& 'C:\My Scripts\RunSpanshot.ps1'"
-
How to run multiple Powershell scripts in PowerCLI
I have a large number of scripts that I would run into lots of PowerCLI. I found a way to call some Powershell scripts from a file of commands like the following (with the permission of Jan Egil Ring), which works very well except for scripts PowerCLI where a connection to a VC or ESX Server must be established before the script can be executed:
PowerShell-command '& C:\MyScripts\script1.ps1 '.
PowerShell-command '& C:\MyScripts\script2.ps1 '.
PowerShell-command '& C:\MyScripts\script3.ps1 '.
If a VC connection is on using Connect-VIServer PowerCLI, then scripts can each be run from the prompt without connection information and credentials, however, if scripts are placed in a file of DOS commands, it is necessary to place an order Connect-VIServer in each script, which will prompt you for credentials every time , so if I have 10 scripts, I will have to enter the credentials of 10 times. Is it possible to establish the connection and then run a set of Powershell scripts, or is there a way to integrate the identification information in the script so that it will connect to the VI server without asking confirmation?
Thank you
Ed Z
2 options 1 persist credentials on disk, you can find the code on poshcode.org to do.
Option 2 is to use - Session when using Connect-VIServer. The session is stored in the variable $defaultVIServer. If write you it to a file you can load this file and re-use this same session, assuming that it is still valid (i.e. it has not expired.)
-
OpenScript / chaining script / how to run all the scripts if we fail?
Hello
I have a problem using openscript and please I would like to know if there is a work around.
Here's what I do:
with script open:
1 / I record many different scripts for an application: a script = a feature
2 / then I create a script and I run all these previous script.
The problem is:
I get an error 'Timeout occurred waiting for the page to load.' which is a normal mistake (the link is broken, the page is missing, etc.).
I can't get back, and stops the main script. Although I also want other scripts to be read.
I tried to put the ERR_RESPONSE_TIME_ERROR Warn option (instead of failure). But no way! It breaks down!
Please could you tell me what I'm missing?
Thank you.
Michael
Published by: user12252276 on 24 nov. 2009 01:38Michael
You can put a try catch around the control that you want to manage and then save the error so reported ex:
try {}
Web.Window (6, "/ web: window [@title ='Oracles Test Manager for Applications Web - Login']") .waitForPage (null);
{
Think (0);
}
} catch (Exception e) {}
getStepResult () .setError (e.getMessage ());
}hope this helps
Alex
-
How to run the program success unlock the screensaver with password with windows xp
I need to run a program after unlocking the screen saver with a password using Windows XP.
It doesn't seem to be a choice for this situation with Task Scheduler, y at - it another way to get this task runs?Take a look at a product called administrator unlock
Among the options allows you to set only a script or a program to run when unlocking.
T
-
How to run customer and display on the same host server
I know it's simple, no doubt, but I can't find the answer on the Internet. I am running BB 1.9i. Recently, I noticed that my server to display some of the customer was not run tests, as I expected. After some checking, I decided that it was because these customer scripts were not in the configuration of the server. My first inclination was to just add them. However, after a bit of research on the Internet, I have seen many people claiming that the client and the server must be kept in separate directories. So, I created another directory and my client config untarred it. I took care of bb-hosts was correct and then I tried to run runbb.sh in the client. He has already said a running process of Big Brother and abandoned.
Could someone point out what step am I missing or a link to a web page that explains the procedure for configuring a client on the server to display?
Kind regards
Brad
Hmmmm... only, you should be able to install archive of bbclient (at the same level as your bbserver). Copy the bb-hosts of your BB server and. / runbb.sh.
You should only get this message "already running", if a client is already running (not the server).
-
Batch file to run the MaxL script
Hi all
Can someone tell me please how to run a MaxL script by using a batch file in Windows (XP). I use Essbase 11.1.1.3.
It would be great if someone could send a .bat file, I'm not sure of the syntax.
See you soon,.
SahilJohn gives you the right way re the Ref Tech.
If you want the code, you can check my post (a bit old but still perfectly usable) here:
http://camerons-blog-for-Essbase-hackers.blogspot.com/2009/07/fixing-plannings-filters.htmlYou can download the code via this post as well.
Kind regards
Cameron Lackpour
-
How to run a script in environment unix and how to run this program into a toad
Hello guys
Please help me!
How to run a script in the unix environment (Group of programs (cursor, programs...) stored in a file file.sql).
file.sql luks like this
WHENEVER OSERROR EXIT FAILURE
WHENEVER SQLERROR EXIT SQL. SQLCODE
SET the position
SET serveroutput size 1000000
coil ins2aais_jobs;
SELECT "FILE IS: ins2aais_jobs' FROM dual;"
SELECT "STARTED:' began, to_char (sysdate," YY/MM/DD HH24:MI:SS) TIME FROM dual; "
DECLARE
lv_upd_ct number: = 0;
lv_ins_ct number: = 0;
lv_exp_ct number: = 0;
---------------------
date of lv_FROM_date;
date of lv_to_date;
lv_mon_or_week varchar2 (20);
date of lv_week_end_date;
lv_month_indicator varchar2 (8);
-------------------------------------------------
Aais CURSOR IS
SELECT the ID substr (ID, 1, 7), SSN, FNAME, LNAME
, SUCCESS, COMPENSATE, INSTALLATION
, MODU, DRIVE, REVERSE, SUCC_RATE
TRANS_TOTAL, FILE_NAME, WEEK_END_DATE
RUN_DATE
OF weekly_aais;
-------------------------
I aais % rowtype;
-------------------------
PROCEDURE p_ins (r1 aais % ROWTYPE) IS
BEGIN
BEGIN
INSERT INTO AAIS_JOBS
(ID, SSN, SUCCESS, COMPENSATE, INSTALL, MODU
, DRIVE, REVERSE, SUCC_RATE, TRANS_TOTAL
FILE_NAME, WEEK_END_DATE, RUN_DATE
AAIS_FNAME, AAIS_LNAME
)
VALUES
(r1.ID, r1. SSN, r1. SUCCESS, r1. COMPENSATE, r1. INSTALLATION, r1. MODU
r1. DISK, r1. CONVERSELY, r1. SUCC_RATE, r1. TRANS_TOTAL
r1. File_name, r1. WEEK_END_DATE, r1. RUN_DATE
r1. FNAME, r1. LNAME
);
lv_ins_ct: = lv_ins_ct + 1;
EXCEPTION
WHILE OTHERS then
DBMS_OUTPUT. PUT_LINE ('ERROR IN THE INSERT STATEMENT');
DBMS_OUTPUT. Put_line (SQLERRM);
lv_exp_ct: = lv_exp_ct + 1;
END;
END;
------------------------------
PROCEDURE p_disp_msg IS
BEGIN
DBMS_OUTPUT. Put_line (' number of insertion: ' | to_char (lv_ins_ct));
DBMS_OUTPUT. Put_line (' number of Exceptions: ' | to_char (lv_exp_ct));
lv_ins_ct: = 0;
lv_exp_ct: = 0;
END;
---------------------------
BEGIN
lv_FROM_date: = to_date ('& 1', 'DD-MON-RR');
lv_to_date: = to_date ('& 2', 'DD-MON-RR');
lv_mon_or_week: = 'and 3';
lv_month_indicator: = di.get_month_ind (lv_mon_or_week, lv_FROM_date, lv_to_date);
------------------------------------
REMOVE FROM AAIS_JOBS
WHERE WEEK_END_DATE = lv_to_date;
-------------------------------------
COMMIT;
Aais OPEN;
LOOP
EXTRACT the aais IN i;
OUTPUT WHEN aais % NOTFOUND;
BEGIN
p_ins (i);
END;
END LOOP;
Aais CLOSE;
commit;
DBMS_OUTPUT. PUT_LINE ('INSERT INTO TABLE JOBS AAIS');
p_disp_msg;
-----------------------------------
END;
/
SELECT "FINISHED: ' | '. TO_CHAR (sysdate, "MM/DD/YY HH24:MI:SS'") FROM dual
/
spool off
"exit";
and also how we organize this into a toad?
Thank you.Hello
You vous connecter connect to oracle through unix and SQL prompt, run these commands in a .sql file.
Toad, you can run the instructions individually by selecting the sql statements or in a set with the F5 key.
Kind regards
AJR -
How to run scripts unix through rules?
Hi all
The scenario is there are rules and when the rule is executed because of a condition of a unix script file to run.
What is the right way to configure the rule for running a unix script file? We tried the "action command" option in the tab 'action' "conditions, alarms and action", but its does not work.
Any help would be appreciated.
Thanks in advance.
Hi basil,.
The correct way to set up a rule to run a script file must use the RemoteCommandAction.
Help:
Remote control actions. They cause an external action be executed on a monitored host. Different parameters can be set for this action, including the required parameter COMMAND_LINE.
Kind regards
Brian Wheeldon
-
How to run a test from Unix script
Hello
Can someone guide me how to run a test case of (created in SQL Developer) unit from unix.
Thank you
LifexisxnotxsoxbeautifulYou should be able to run your tests using the command line interface:
http://docs.Oracle.com/CD/E25259_01/AppDev.31/e24285/unit_testing.htm#BCGFBIDD
-
How to run the script to EEM/TCL file
Hello world
I need to run the EEM script found in this link
https://supportforums.Cisco.com/document/75806/interface-input-queue-Mon...
Can you please point me to a HOWTO to download the file and run it under an interface?
Thank you
Federico
Here is the manual how to run scripts tcl file - http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ios_tcl/configuration/1...
In short - you download the script to switch via tftp and the tcl implementation with command tclsh interpreter. Then run the command source source
-
How to run 'Save as optimized' in a javascript script to automate the optimization of PDF.
How to run 'Save as optimized' in a javascript script to automate the optimization of the pdf?
In can't find if this function exists even in javascript, because the API reference is a dead link:
This is the good link: Adobe - Adobe Acrobat SDK license agreement | Adobe Developer Connection
But just to make you save time, you can not do with JS directly. You can probably trigger the menu item he does, but then you still need to interact with it manually.
Maybe you are looking for
-
My iphone SEscreen guard goes to the white apple screen then goes black only when he the charger and is yet to turn on when it is connected to my laptop not connected at all. I want to know if a problem with my screen Jules Destrooper or is it the ha
-
I have a macbook pro 15 "model 9.1 4 GB of memory and want to extend to 8 which is the model of memory should I buy for my fastest machine, I have for several years.
-
Receive phone calls when the phone is locked with PIN
I appreciate the ability to lock my Palm Pre with a PIN, but unlike my Blackberry, it seems that I have to enter my PIN code in order to ANSWER a call. At the point where I usually do, I have lost the appellant and need to remind them. Please consi
-
Code received the 0X8024402C error while trying to update Windows. How can I fix it?
-
Windows XP Security Center - Antivirus enabled when no program active antivirus
AVG free has been removed, but then a system restore is performed to a point where AVG was still active. Now windows still believes that AVG is there even if it is not. AVG Remover tool was performed to remove all traces of AVG. How can I get Window