Thank you Martin. I ended up using the parameters below in my powershell script:
$session.AddRawConfiguration("Logging\LogMaxSize", "10485760")
$session.AddRawConfiguration("Logging\LogMaxCount", "2")
$session.AddRawConfiguration("Logging\LogMaxSize", "10485760")
$session.AddRawConfiguration("Logging\LogMaxCount", "2")