Windows2013. 1. 9. 11:22

출처 : http://pantarei.tistory.com/918

1. dir 명령을 사용하면 사용가능한 용량이 나온다.

> dir | findstr 남음
               2개 디렉터리   6,948,356,096 바이트 남음


2. 찾아보니 fsutil 이라는게 있다.

> fsutil volume diskfree E:
사용 가능한 공간(KB): 1119924224
전체 공간(KB): 20971528192
사용 가능한 빈 공간(KB): 1119924224


그래도 부족하다.

3. NTFAQ에 원하는 내용이 있다.
- df.vbs

Set oWMIService = GetObject("winmgmts:")
Set oLogicalDisks = oWMIService.InstancesOf("Win32_LogicalDisk")

'Wscript.Echo "Filesystem Size Used Available Use%"
Wscript.Echo "Filesystem    Size          Available"

For Each oLogicalDisk In oLogicalDisks
    Wscript.Echo oLogicalDisk.DeviceID & "            " & oLogicalDisk.Size & "   " & oLogicalDisk.Freespace
Next

Set oLogicalDisks = Nothing
Set oWMIService = Nothing


- df.bat

@echo off
CScript E:\bin\df.vbs //NoLogo


 

> df
Filesystem    Size          Available
C:            20971528192   1120002048
D:            20971528192   16167817216
E:            38072369152   6948356096
F:


[todo] \t 로 제대로 정렬되게 할 것

Posted by 배움나눔
Windows2013. 1. 2. 13:22

출처 : 꼬알라의 하얀집 (http://blogs.technet.com/b/koalra/archive/2008/01/21/windowsserver-2008.aspx)

Windows Server 2008 각 에디션별로 지원 기능 및 하드웨어에 대한 최대 가용치가 조금씩 다릅니다.

해당 내용에 대해 포스팅해드립니다. 거의 확정적이지만, RTM이 되었을 때, 조금 변경될 수도 있습니다. 일전에 언급해드린 적이 있습니다만, Windows Server 2008은 Hyper-V를 내장한 Windows Server 2008 with Hyper-V 버전과 이를 내장하지 않은 Windows Server 2008 without Hyper-V 버전으로 출시됩니다. With Hyper-V 버전의 경우에는 당연히 x64 버전만 출시되며, Without Hyper-V 버전의 경우에는 x86과 x64, IA64를 출시합니다.

또한 Windows Server 2008은 Windows Server 플랫폼중 마지막으로 x86(32-bit)를 지원하며, 차후 출시되는 모든 Windows Server 플랫폼은 x64나 IA64만 지원할 예정입니다.

Technologies

Windows Web Server 2008

Windows Server 2008 Standard

Windows Server 2008 Enterprise

Windows Server 2008 Datacenter

Windows Server 2008 for Itanium

CPU Sockets ? x86

4

4

8

32

 

CPU Sockets ? x64

4

4

8

64

 

CPU Sockets ? IA64

 

 

 

 

64

RAM - 32-bit version

4 GB

4 GB

64 GB

64 GB

N/A

RAM - 64-bit version

32 GB

32 GB

2 TB

2 TB

2 TB

Hot Add Memory

 

 

X

X

X

Hot Replace Memory and Hot Add/Replace Processor

 

 

 

X

X

Failover Cluster Nodes ? x86

 

 

8

8

 

Failover Cluster Nodes ? x64

 

 

16

16

 

Failover Cluster Nodes ? IA64

 

 

 

 

8

Fault Tolerant Memory Synchronization

 

 

X

X

X

Cross-file Replication (DFS-R)

 

 

X

X

X

Network Access Service Connections (RRAS)

 

250

Unlimited

Unlimited

2

Network access Service Connections (IAS)

 

50

Unlimited

Unlimited

 

Terminal Services Connections

2

250

65,535

65,535

2

Advanced Identity Management Features

 

 

X

X

 

AD Federation Services

 

 

X

X

 

Advanced Certificate Services

 

 

X

X

 

Certificate Authority Web Proxy

 

 

X

X

 

Network Device Enrollment Service

 

 

X

X

 

Online Responder Service

 

 

X

X

 

Media Server

Basic

Basic

Full

Full

 

Hyper-V (virtualization)*

 

X

X

X

 

Quick Migration

 

 

X

X

 

Host Clustering of Virtual Images

 

 

X

X

 

Virtual Image Use Rights

1 VM

Host + 1 VM

Host + 4 VMs

Unlimited

Unlimited

Notes:
* Hyper-V is only available on x64 versions of Windows Server 2008.

 

Posted by 배움나눔
Windows2012. 11. 20. 14:58

http://social.technet.microsoft.com/Forums/ko-KR/isaserverko/thread/58a02324-fb88-4c33-a678-460827c7ae5e

 

질문

 

Vista이상의 상위 버전 윈도우에서는 netsh firewall 대신에 netsh advfirewall firewall 명령어를 사용을 추천 합니다.

 

대답

 

1.     프로그램 허용

 

a.     netsh advfirewall firewall add rule name=”My Application” dir=in action=allow program=”C:\MyApp\MyApp.exe” enable=yes

 

b.     netsh advfirewall firewall add rule name=”My Application” dir=in action=allow program=”C:\MyApp\Myapp.exe” enable=yes remoteip=157.60.0.1, 172.16.0.0/16,LocalSubnet profile=domain

 

2.     포트 허용

 

a.     netsh advfirewall firewall add rule name=”Open Port 80” dir=in action=allow protocol=TCP localport=80

 

3.     허용된 프로그램과 포트 룰 제거 하기

 

a.     netsh advfirewall firewall delete rule name=”rulename” program=”C:\MyApp\MyApp.exe”

 

b.     netsh advfirewall firewall delete rule name=”rulename” protocol=udp localport=500

 

4.     ICMP 설정 하기

 

a.     netsh advfirewall  firewall add rule name=”ICMP Allow incoming V4 echo request” protocol=icmpv4:8,any dir=in action=allow

 

b.     netsh advfirewall firewall add rule name=”All  ICMP V4” protocol=icmpv4:any,any dir=in action=allow

 

 

5.     로깅 설정

 

a.     netsh advfirewall set currentprofile logging filename %systemroot%\system32\LogFiles\Filewall\pfirewall.log

 

b.     netsh advfirewall set currentprofile logging maxfilesize 4096

 

c.     netsh advfirewall set currentprofile logging droppedconnections enable

 

d.     netsh advfirewall set currentprofile logging allowedconnections enable

 

 

 

6.     방화벽 On/Off

 

a.     netsh advfirewall set currentprofile state on

 

b.     netsh advfirewall set currentprofile state on
netsh advfirewall set currentprofile firewallpolicy blockinboundalways,allowoutbound

 

c.     netsh advfirewall set domainprofile state on
netsh advfirewall set domainprofile firewallpolicy blockinbound,allowoutbound

 

d.     netsh advfirewall set domainprofile state on
netsh advfirewall set private profile state on

 

 

7.     방화벽 설정 초기화

 

a.     Netsh advfirewall reset

 

 

8.     특정 서비스 허용

 

a.     netsh  advfirewall firewall set rule group=”File and Printer Sharing” new enable=yes

 

b.     netsh  advfirewall firewall set rule group=”remote desktop” new enable=yes

 

c.     netsh  advfirewall firewall set rule group=”remote desktop” new enable=yes profile=domain

 

d.     netsh advfirewall firewall set rule group=”remote desktop” new enable=yes profile=private



적용 대상

 

Windows Vista

Windows 7

Windows 2008

Windows 2008 R2

Posted by 배움나눔