Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visio Cmdlets Not Recognized - SharePoint Snapin Issue #75

Open
neil767 opened this issue Mar 5, 2021 · 0 comments
Open

Visio Cmdlets Not Recognized - SharePoint Snapin Issue #75

neil767 opened this issue Mar 5, 2021 · 0 comments

Comments

@neil767
Copy link

neil767 commented Mar 5, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant