« Previous Next »
Last post 11-04-2009 8:51 PM by qbernard. 8 replies.
Average Rating Rate It (5)Thank you for the rating!
Page 1 of 1 (9 items)
Sort Posts: Oldest to newest Newest to oldest
However, how do I set the other properties, like’ FTP Authorization Rules’?
The $folder variable is defined earlier in the script.
I am using Windows 2008 R2 with FTP 7.5
Any help would be appreciated.
Read -http://blogs.msdn.com/johan/archive/2008/10/02/powershell-advanced-configuration-editing-in-iis7.aspx
Should works for 7.5 as well.
Thanks you very much, tried it and it works!!!!! ;)
Cool, thanks for the update.
Vloors: Thanks you very much, tried it and it works!!!!! ;)
What happen with clear-webconfiguration? nothing?
I can't seem to get the syntax right... oh the frustration ;)
Currently my script reads:
With $folder and $groupname being defined earlier
Clear-Webconfiguration '/system.ftpServer/security/authorization' -PSPath IIS:\ -location FTP/$folder
Remove all entries except the default one :) so you need to remove at the ftp root first. then add in those you need later.