`:mksession` doesn't properly bring back terminal buffers (Powershell+Windows)

When I save a session with a terminal buffer (made using :term), loading it back results in the following message:

C:/Program: The term 'C:/Program' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

[Process exited 1]

Here are my configuration settings for my shell I pulled from the help:

    let &shell = executable('pwsh') ? 'pwsh' : 'powershell'
    let &shellcmdflag = '-NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command [Console]::InputEncoding=[Console]::OutputEncoding=[System.Text.Encoding]::UTF8;'
    let &shellredir = '-RedirectStandardOutput %s -NoNewWindow -Wait'
    let &shellpipe = '2>&1 | Out-File -Encoding UTF8 %s; exit $LastExitCode'
    set shellquote= shellxquote=

I’m on Neovim 0.8, running Windows 11, and using Powershell 7.2.7. I’d appreciate any help on persisting the terminal buffer in my layout.