Update: I tried $MySite.Option("AutoCloseDelay").value = 5 and this didn't work, it just displayed 5 when I ran it.

Anybody?