ftp klasöründe yer alan bir dosyayı bir batch file kullanarak otomatik download etmek

ftplogin.txt (dosyasının içeriği)

kullaniciadi
sifre
binary
hash
lcd c:\rapor\
get rapor1.xls
get rapor2.doc
bye

ftp1.bat (batch file – toplu iş dosyasının içeriği)

@echo off
ftp -s:ftplogin.txt 88.888.99.121

 

Bu batch file Scheduled Tasks ile otomatik çalışacak bir görev haline getirilebilir.

 

prompt
mdelete *.*
quit

ile ftp klasöründe tüm dosyaları silebilirsiniz.

mstsc /admin uzak masaüstü bağlantısı 3. oturumu açabilmek

Terminal Server Lisansı yüklü olmayan sunuculara en fazla 2 uzak bağlantı için oturuma izin verilir. Bir oturum da sunucunun kendi yerel oturumudur. Bu yerel oturuma mstsc /admin ile bağlanıp bir sunucuya uzaktan üç oturum açabilirsiniz.

Eski versiyon mstcs lerde mstsc /console olarak kullanılır.

windows komut isteminden kullanıcı hesabı yaratma

Kullanıcı profili bozulmuş sistemlerde güvenli modda komut isteminde kullanıcı yaratmak.

net user /add kullaniciadi sifre

net localgroup administrators kullaniciadi /add

net share concfg*C:\/grant:kullaniciadi,full

net user kullaniciadi *

VEYA

net user administrator /active:yes

ile administrator kullanıcısını aktifedebilirsiniz.

Iperf ile yerel ağda bant genişliği hız testi yapmak.

Iperf uygulaması ile iki bilgisayar arasındaki ağ hızını test edebilirsiniz. Uygulama bilgisaayrın birinde sunucu diğerinde istemci olarak çalışmakta.

En basit kullanımı ile:

Sunucu görevini yerine getirecek bilgisayarda komut isteminde aşağıdaki gibi çalıştırın:

C:\>iperf -s
————————————————————
Server listening on TCP port 5001
TCP window size: 8.00 KByte (default)
————————————————————

İstemci olan bilgisayarınızda ise aşağıdaki komutu çalıştırın ve sonuç gelsin:

C:\>iperf -c 192.168.0.220
————————————————————
Client connecting to 192.168.0.220, TCP port 5001
TCP window size: 8.00 KByte (default)
————————————————————
[160] local 192.168.0.152 port 56773 connected with 192.168.0.220 port 5001
[ ID] Interval Transfer Bandwidth
[160] 0.0-10.0 sec 176 MBytes 147 Mbits/sec

192.168.0.220 nolu ip iperf uygulamasının sunucu olarak çalıştığı bilgisayarın ip si dir.

Test sırasında sunucu tarafında da sonucu göstermektedir.

C:\>iperf -s
————————————————————
Server listening on TCP port 5001
TCP window size: 8.00 KByte (default)
————————————————————
[1872] local 192.168.0.220 port 5001 connected with 192.168.0.152 port 56773
[ ID] Interval Transfer Bandwidth
[1872] 0.0-10.0 sec 176 MBytes 148 Mbits/sec

Daha geniş test seneçeneklerine –help girdisini kullanarak bakılabilir.

C:\>iperf –help
Usage: iperf [-s|-c host] [options]
iperf [-h|–help] [-v|–version]

Client/Server:
-f, –format [kmKM] format to report: Kbits, Mbits, KBytes, MBytes
-i, –interval # seconds between periodic bandwidth reports
-l, –len #[KM] length of buffer to read or write (default 8 KB)
-m, –print_mss print TCP maximum segment size (MTU – TCP/IP header)
-o, –output <filename> output the report or error message to this specified file
-p, –port # server port to listen on/connect to
-u, –udp use UDP rather than TCP
-w, –window #[KM] TCP window size (socket buffer size)
-B, –bind <host> bind to <host>, an interface or multicast address
-C, –compatibility for use with older versions does not sent extra msgs
-M, –mss # set TCP maximum segment size (MTU – 40 bytes)
-N, –nodelay set TCP no delay, disabling Nagle’s Algorithm
-V, –IPv6Version Set the domain to IPv6

Server specific:
-s, –server run in server mode
-D, –daemon run the server as a daemon
-R, –remove remove service in win32

Client specific:
-b, –bandwidth #[KM] for UDP, bandwidth to send at in bits/sec
(default 1 Mbit/sec, implies -u)
-c, –client <host> run in client mode, connecting to <host>
-d, –dualtest Do a bidirectional test simultaneously
-n, –num #[KM] number of bytes to transmit (instead of -t)
-r, –tradeoff Do a bidirectional test individually
-t, –time # time in seconds to transmit for (default 10 secs)
-F, –fileinput <name> input the data to be transmitted from a file
-I, –stdin input the data to be transmitted from stdin
-L, –listenport # port to recieve bidirectional tests back on
-P, –parallel # number of parallel client threads to run
-T, –ttl # time-to-live, for multicast (default 1)

Miscellaneous:
-h, –help print this message and quit
-v, –version print version information and quit

[KM] Indicates options that support a K or M suffix for kilo- or mega-

The TCP window size option can be set by the environment variable
TCP_WINDOW_SIZE. Most other options can be set by an environment variable
IPERF_<long option name>, such as IPERF_BANDWIDTH.

Report bugs to <dast@nlanr.net>

C:\>

Uygulamanın internet sitesi: http://sourceforge.net/projects/iperf/