|
Replies:
2
-
Pages:
1
-
Last Post:
Nov 26, 2009 6:45 AM
by: luigilink
|
|
|
Posts:
3
Registered:
11/26/09
|
|
|
|
Modify Logs Folder in IIS 6
Posted:
Nov 26, 2009 5:58 AM
|
|
|
Hi everyone,
OS : Windows 2003 X64 IIS : Version 6.0 Powershell : 1.0
Is somebody help me for changing the path folder logs in IIS 6 ?
I try this but anything changes:
$iis = [ADSI]"IIS://localhost/W3SVC" $iis.LogFileDirectory.Value = "D:\logsiis\"
Thank You
JC
|
|
|
Posts:
1,919
Registered:
1/31/08
|
|
|
Posts:
3
Registered:
11/26/09
|
|
|
|
Re: Modify Logs Folder in IIS 6
Posted:
Nov 26, 2009 6:45 AM
in response to: Shay Levy
|
|
|
Yes it works with setinfo()
Thank you so much !
|
|
|
|
Legend
|
|
MVP: 2501
+
pts
|
|
Guru: 2001
- 2500
pts
|
|
Expert: 751
- 2000
pts
|
|
Enthusiast: 31
- 750
pts
|
|
Novice: 0
- 30
pts
|
|
Moderators
|
|
Helpful answer
(5 pts)
|
|
Answered
(10 pts)
|
|