Portable use?
Hello, is it possible to use Poshprotools with portable VSC? If yes how? Have a license and want to find out how to install. Thx. cu starik1968
Comments (7)
-
-
reporter It installs, in VSC portable there is dir "data" in the prgram folder, beneath it there are the extensions, another extension "Powershell" (highlighting, intellisense etc.) runs well, if I install yours it is placed there. But when I try to license he dont know the cmdlet. Maybe it has to be imported, and this would not be done in portable. I use the portable version, 'coz I don't want to install, I reset my notebook daily to a clean state. Hope You can help, would love to use my license with Your great software :-)
-
OK. Thanks for the info. I will try the portable version and see if I can identify what's going on.
-
reporter Could it maybe that Your modules have to be in the modul path? So that I can set that in my user profile PS-file? I tried but w/o luck. :-)
-
The module itself is installed along with the extension and loads it via the path so it should find it. I won't be able to look at this in my lab until earlier next week but will let you know if I spot anything.
Can you give me the exact error you are seeing?
-
reporter Oh, it is installed. That might be the cause, because I reset the PC and start the VSC. Thena the module can't be installed. Trie to import the PowerShellProTools.psd1, succeeded, but runnig Install-PoshProToolsLicense gave me that: "+ Install-PoshProToolsLicense +
~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Install-PoshProToolsLicense], ParameterBindingException + FullyQualifiedErrorId : AmbiguousParameterSet,PowerShellToolsPro.Cmdlets.InstallPoshProToolsLicenseCommand"Sorry I am new an PowerShell, so maybe it's easy to solve it but I dont know how
-
- changed status to resolved
- Log in to comment
I've never tried it in the portable VSC before. This is the first I've heard of it ;)
Can you install extensions through the VS Marketplace with portable or do you have to do it manually?