09-23-2009
If you can pull what you need from WMI, then you can write a loop in powershell or vbscript to get the info you need from one box.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Anyone have an example of a simple shell script that solicits a (Y)es or (N)o response from the user. If the response is 'Y' display a message on the screen that thanks the user for the positive response. If the response is 'N' display a message that thanks the user for the negative response. If... (15 Replies)
Discussion started by: wmosley2
15 Replies
2. UNIX for Dummies Questions & Answers
Hi, I need help writing a unix script to change the time in the server automatically when it reaches a specified time.
Only on the 14th of april, when the time becomes midnight (00:00:00), I need the server to change the time automatically to 23:30:00 and start working on as usual with a... (2 Replies)
Discussion started by: amodha
2 Replies
3. Shell Programming and Scripting
I whant write the script of monitoring my servers on night-active users.
He must loging all user actions, when user login, when logout, when he do su etc.
But i don't know with what to begin :( How command i can use? awk, sed, last
And what logs i can use too? /var/log/messages, /var/log/secure... (1 Reply)
Discussion started by: jess_t03
1 Replies
4. UNIX for Dummies Questions & Answers
Is it possible to write files in a Windows application, in UFS, onto a CDROM that can then be read by a SUN workstation? If so, can anyone point me in the direction of an application that can let me do this? Thanks. (1 Reply)
Discussion started by: NeilAtkins
1 Replies
5. UNIX for Dummies Questions & Answers
Here is the script I am trying to write along with my answer I wrote. Please help me understand why it doesn't work.
Create an executable script file called "newname" that will perform the followings:
1. Rename a file upon the user's request. If the file exists, prompt the user for... (1 Reply)
Discussion started by: wiggles
1 Replies
6. Shell Programming and Scripting
Hi,
I have written a script which converts a give hexdecimal value to binary value in perl. But now, the problem is I should read every bit of it ( if its 10101010, i should read the value in each position and if the value in that position is 1 i should print a string and should exit if its... (1 Reply)
Discussion started by: prakashreddy
1 Replies
7. Shell Programming and Scripting
Hey everyone
Can anyone please write me a script to display numbers in descending order dynamically i.e if the user enter a number say 100 then the output should be like 100 99 ....so on till 0
I tried using the logic as for ((i =1; i<=100; i--) but the it goes into a infinite loop since even the... (7 Replies)
Discussion started by: icchi
7 Replies
8. Shell Programming and Scripting
Experts,
I am newbie in shell scripting. I want to write Bash shell scripts corresponding to windows bat files. I have installed cygwin at c:\cygwin and i am trying to crate the sh file using vi editor. i am not able to understand how to use linux/unix convention for the code. following is my... (15 Replies)
Discussion started by: rajuchacha007
15 Replies
9. Shell Programming and Scripting
:wall:
Can't seem to figure out how to fix this please help
its not starting over like I would like it to
When I enter in "Date" or "Time" nothing comes
Also if you can tell me the commands for the other 3 stuff that would be much appreciated
#!/bin/bash
clear
while ; do
echo... (8 Replies)
Discussion started by: nowruzr
8 Replies
LEARN ABOUT OSF1
named-xfer
named-xfer(8) System Manager's Manual named-xfer(8)
NAME
named-xfer - Pulls BIND zones from another server
SYNOPSIS
/usr/sbin/named-xfer -z zone_to_transfer -f db_file -s serial_no [-d debug_level] [-l debug_log_file] [-t trace_file] [-p port] [-S]
servers...
OPTIONS
Specifies the name of the BIND zone for the named-xfer daemon to transfer, for example, dec.com. This option is required to pull a zone.
Specifies the name of the file into which the pulled zone information is placed. This option is required to pull a zone. Specifies the
current serial number of the SOA record for the zone zone_to_transfer. If serial_no is set to 0, the zone is always pulled. This option is
required to pull a zone. Sets the debug level and determines the amount of debug information to be displayed. Specifies the file that
will contain any debug messages from the zone pull. Specifies the file that will contain a trace from the zone pull. Specifies the port
that will be used instead of the default name server port listed in /etc/services. Performs a restricted transfer of only the SOA, NS
records and glue A records for the zone. The SOA record is not loaded by named, but is used to determine when to verify the NS records.
See named(8) for more information. Specifies a list of Internet addresses, in dotted-quad format, from which to pull a zone. If the first
host cannot be reached, the named transfer daemon tries to pull the zone from the next host listed.
DESCRIPTION
The named transfer daemon, /usr/sbin/named-xfer, is a server that is usually run by the named daemon, /usr/sbin/named, but it can also be
run manually with the given arguments. The named transfer daemon runs on a BIND secondary server and pulls BIND zones from a primary
server. This daemon is not run by default, nor can it be started up from inetd(8).
SEE ALSO
Commands: named(8)
Files: resolver(4), services(4)
named-xfer(8)