Zend certified PHP/Magento developer

Silent Install SQL without having to Restart

In short, I am running a silent install of SQL Server 2016 using a *.ini file. At the end of the installation, I must restart to use any sort of sqlcmd/invoke-sqlcmd to call a SQL file.

Does anyone know of a method (preferably PowerShell) that can forgo a restart and run those commands?