Missing closing '}' in statement block or type definition."
At C:\Users\epicv\Tasori OS\homeHost.ps1:26 char:5
- Invoke-Command -ScriptBlock ([scriptblock]::Create((Get-Content " ...
There is no Invoke-Command in the code that you posted. Did you only post a part of the script?
It's a little hard to see, but if you test your code in Powershell_ISE, when you click on a bracket, ISE will highlight (grey background) it's matching bracket. That should help you "see" where you need to add a bracket.