Below snippet helps to Deploy a specific DLL to GAC and reset IIS.
$folderLocationName = read-host "Please enter the {your}.dll folder Location:" Set-location $folderLocationName [System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a") $publish = New-Object System.EnterpriseServices.Internal.Publish $publish.GacInstall($folderLocationName+"\{yout}.dll") iisreset Read-Host -Prompt “Press Enter to exit”