You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After bringing the Visio Service Instance online, the AutoSPInstallerModule.psm1 script around line 2406 attempts to remove "Microsoft.SharePoint.PowerShell" snap in and subsequently re-add via the Add-SharePointPSSnapin function.
Following this in the script an Invoke expression attempts to use Get-SPVisioServiceApplication. At this point I receive an error stating that the cmdlet is not available.
Once the script completes, if I run Get-SPVisioServiceApplication it states it is not available. If I then run Add-PSSnapin Microsoft.SharePoint.Powershell, Get-SPVisioServiceApplication is then available. If I run the script a second time it completes without issue. Also hard coded the Add-PSSnapin Microsoft.SharePoint.PowerShell command directly before invoke expression to no avail.
Has anyone else experienced this or can offer any advice?
The text was updated successfully, but these errors were encountered:
After bringing the Visio Service Instance online, the AutoSPInstallerModule.psm1 script around line 2406 attempts to remove "Microsoft.SharePoint.PowerShell" snap in and subsequently re-add via the Add-SharePointPSSnapin function.
Following this in the script an Invoke expression attempts to use Get-SPVisioServiceApplication. At this point I receive an error stating that the cmdlet is not available.
Once the script completes, if I run Get-SPVisioServiceApplication it states it is not available. If I then run Add-PSSnapin Microsoft.SharePoint.Powershell, Get-SPVisioServiceApplication is then available. If I run the script a second time it completes without issue. Also hard coded the Add-PSSnapin Microsoft.SharePoint.PowerShell command directly before invoke expression to no avail.
Has anyone else experienced this or can offer any advice?
The text was updated successfully, but these errors were encountered: