Comments (7)
Hi @jcitpro, we need some more information.
- Which OS are you using?
- Can you confirm the location of registry entry for the PowershellVersion 5? You can use regedit and search in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell to get its location.
from sharefile-powershell.
Hi @vkvikaskmr
Microsoft Windows [Version 10.0.14393]
In the regsitry location it looks like I only have reg keys for 1 and 3.
That said when I run the $psversiontable.psversion I see 5 listed.
Thanks for the help with this.
from sharefile-powershell.
If you open PowerShell->3 and then select PowershellEngine, you should be able to see all the versions that are supported. Version 5.1 should be one of them.
I have tried replicating it on win 8.1 and win 10 but failed to do so. I will try to verify this on the same OS version that you have mentioned and get back to you.
from sharefile-powershell.
See below.
Thanks again.
from sharefile-powershell.
Hey! @jcitpro can you please share the same snapshot for PowerShell->1. We have one check around that as well.
from sharefile-powershell.
from sharefile-powershell.
Hi @jcitpro ,
For snapins to work we should have PowershellVersion Engine v2.0 explicitly installed; the registry of which sits under PowerShell\1. The reason is that if we install a snapin with Powershell v3.0 or higher they are not getting registered as snapin and then the add-pssnapin command fails, probably because v3.0 and above requires modules and not snapins. Need to investigate more on this.
So, suggested workaround would be to install PowerShell Engine v2.0 and and then give it a try. Let me know if that works for you. As a reference here is how the registry should look :
from sharefile-powershell.
Related Issues (20)
- Upload File to ShareFile Link
- New-SFClient Error: (400) Bad Request when using -Credential -Account HOT 1
- Help with identifying "paths" > 256 chars HOT 2
- Some documents don't upload using Powershell HOT 1
- PowerShell SDK TLS Error
- Sync-SfItem System.IO Error
- Download file without passing sharefile account credentials
- There is an error in UploadLocalFiles.ps1
- Folder stopped syncing: Get-SfClient : Object reference not set to an instance of an object. HOT 1
- Add compatibility for Powershell Core and make this snap-in a module HOT 1
- Sync-SfItem does not remove deleted from ShareFile files at LocalPath HOT 1
- Send-SfRequest : BadRequest: User must be added as an employee. HOT 2
- Copy-sfitem exclude items
- DisabledUsers.ps1 bug
- Copy-SFItem from 1 root folder to another
- Create Report SaveToFolder Not Working
- New-SFClient Fails for ShareFile Application Specific Password HOT 1
- Sync-SfItem Folder is deleted when - KeepFolders and -Move are used HOT 1
- Sync-SfItem : The client does not have the requested scopes the endpoint requires
- New-SfClient command authentication dialog is failing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharefile-powershell.