NeoPowerShell possible plugin... - Forum

Forum Navigation
You need to log in to create posts and topics.

NeoPowerShell possible plugin...

Page 1 of 2Next

Hi everyone,

I am developing a final version for a plugin based on the PowerShell environment

The tests are promising, it is already possible to generate the data to be processed, and obtain the results directly in VNW.

With the number of hours done to date, I estimate that I will finish the development in 12 to 15 hours total.

Now, I see two possible ways to promote it, namely:

a) promote the sale of the plugin with a cost that ranges around US $ 25, obtaining some benefit from the sale of several licenses.

b) promote with the modality of Sponsors. This mode is widely used in other development environments. Once the sum of US $ 350/450 is reached, the plugin becomes freeware for the entire community and with special recognition for sponsors.

Serve as an example that if 12 interested parties can advance the sum of US $ 30 each, I can finish the plugin in a timely manner, with the established guidelines.

I would appreciate telling me who may be interested in this plugin, and if they can opt for the Sponsor mode.

Greetings from Buenos Aires.

David from Argentina

 

 

 

 

 

Hola a todos,

estoy desarrollando una version definitiva para un plugin basado en el entorno PowerShell

Las pruebas son prometedoras, ya es posible generar los datos a procesar, y obtener los resultados directamente en VNW.

Con la cantidad de horas realizadas a la fecha, estimo que voy a terminar el desarrollo en 12 a 15 horas en total.

Ahora bien, veo dos formas posibles de promocionarlo, a saber:

a) promover la venta del plugin con un costo que oscile cerca de u$s 25, obteniendo algun beneficio con la venta de varias licencias.

b) promover con la modalidad de Patrocinantes. Esta modalidad es muy usada en otros entornos de desarrollos. Una vez que se alcance la suma de u$s 350/450, el plugin pasa a ser freeware para toda la comunidad y con un reconocimiento especial para los patrocinantes.

Sirva como ejemplo que si 12 interesados pueden adelantar via paypal la suma de u$s 30 cada uno, puedo terminar el plugin en tiempo y forma, con las pautas establecidas.

Apreciaria me cuenten quienes pueden estar interesados en este plugin, y si pueden optar por el modo de Patrocinio.

Saludos desde Buenos Aires.

David de Argentina

luishp has reacted to this post.
luishp

This link shows how works the Sponsored Mode:

https://community.thunkable.com/t/free-sqlite-extension-sponsored/8802

 

 

Este enlace muestra como funciona el modo de Patrocinio

https://community.thunkable.com/t/free-sqlite-extension-sponsored/8802

 

 

@daviddeargentina quizá detallar las funcionalidades del plugin podría ayudar.
Perhaps sharing some details about the plugin functionalities would help.

Vadim and DaviddeArgentina have reacted to this post.
VadimDaviddeArgentina

Thanks @luishp

The powerShell environment is the modern, extended, and steroidal version of the DOS console

There are tons of links to source code, which allow to do very complex processes with very few lines of programming.

Basically, the idea of the plugin is:

(This works partially)
* Interpret the purpose
* Define the initial values of the process
* Produce (or read pre-existing programs)

(This already works)
* Run the script within the PowerShell environment in hidden mode
* Retrieve final values so they can be processed within VNW

 

In a couple of days I am going to upload an example of the PUB, plugin and PS1 Scripts (the ones that run in PowerShell) so that you can see some simple example.

Feel free to ask any questions, comments and suggestions, so we improve the project.

Greetings from Buenos Aires
David from Argentina

 

 

El entorno powerShell es la version moderna, ampliada y con esteroides de la consola DOS

Existen toneladas de enlaces a codigo fuente, que permiten hacer procesos muy complejos con muy pocas lineas de programacion

Basicamente, la idea del plugin es:

(Esto funciona parcialmente)
* Interpretar el proposito
* Definir los valores iniciales del proceso
* Producir (o leer programas preexistentes)

(Esto ya funciona)
* Ejecutar el script dentro del entorno PowerShell en modo oculto
* Recuperar los valores finales para que se puedan procesar dentro de VNW

 

En un par de dias voy a subir un ejemplo de los PUB, plugin y Scripts PS1 (los que se ejecutan en PowerShell) para que vean algun ejemplo sencillo.

Sientanse libres de hacer todas las preguntas, comentarios y sugerencias, asi mejoramos el proyecto.

Saludos desde Buenos Aires
David de Argentina

This link shows a lot of scripts for several purposes:

Este enlace muestra un monton de scripts para varios propositos:

 

https://github.com/fleschutz/PowerShell

 

Thanks a bunch @emmanuel-fernandez for the info!

Gracias @emmanuel-fernandez por la info!

Hi all,

There is a small and incomplete sample for the status of the plugin.

You will receive several script .PS1 files and a executable.

PS1 files could be edited by notepad or similar

NeoPowerShell.zip file was created using 7Zip

 

Enjoy!

David de Argentina

Uploaded files:
  • You need to login to have access to uploads.
luishp has reacted to this post.
luishp

@daviddeargentina

NeoPowerShell.zip

Of the entire list of scripts on Win7 (32), only two worked for me:

TaskManager.ps1

FileExplorer.ps1

Thanks @vadim

I just confirmed that it does not work in win7 ultimate 64 either

I think there are two types of scripts:
* Those that execute programs and do not return any value (they should always work)
* Those that do return values (apparently the problem is with win7)

I would appreciate if it has worked in other win8 to win10

The calculator has not worked for you because it is a native win10 program. you can replace it with the following line:

start-process calc.exe

I keep seeing why it doesn't allow sending values in win7

Greetings from Buenos Aires
David from Argentina

 

 

Gracias @vadim

Recien confirmo que tampoco funciona en win7 ultimate 64

Creo que hay dos tipos de scripts:
* Los que ejecutan programas y no devuelven ningun valor (deberian funcionar siempre)

* Los que si devuelven valores (aparentemente, el problema es con win7)

Apreciaria me cuenten si les ha funcionado en otros win8 a win10

La calculadora no te ha funcionado porque es un programa nativo win10. lo puedes reemplazar con la siguiente linea:

start-process calc.exe

Sigo viendo por que no permite enviar valores en win7

Saludos desde Buenos Aires
David de Argentina

@daviddeargentina

I would appreciate if it has worked in other win8 to win10

I don't have computers with another operating system to check right now.

But maybe someone else on the forum can check.

 

 

The plugin uses the clipboard service to connect any other environment that might need the produced results

The native win7 installation provides version 2.0 of the PowerShell environment. The clipboard service is after that installation and requires an update patch

In this link you can install the updates:

https://www.powershellgallery.com/packages/ClipboardText/0.1.7

Today I am going to install that patch for my machine with win7 and I will tell you.

Thank you for informing me of unwanted situations.
greetings from Buenos Aires
David from Argentina

 

 

 

El plugin usa el servicio de clipboard para conectar cualquier otro entorno que pudiera necesitar los resultados producidos

La instalacion nativa de win7 provee la version 2.0 del entorno de PowerShell. El servicio de clipboard es posterior a esa instalacion y requiere un patch de actualizacion

En este enlace se puede instalar las actualizaciones:

https://www.powershellgallery.com/packages/ClipboardText/0.1.7

Hoy voy a instalar ese patch para mi maquina con win7 y les cuento.

Gracias por informarme de situaciones no deseadas.
saludos desde Buenos Aires
David de Argentina

@daviddeargentina

https://www.powershellgallery.com/packages/ClipboardText/0.1.7

I did not figure out how to install from this link, but I installed by downloading the Win7-KB3191566-x86.zip archive by clicking on the "WMF 5.1" link on this page:

https://docs.microsoft.com/ru-ru/powershell/scripting/windows-powershell/install/installing-windows-powershell?view=powershell-7.1

Now only two scripts don't work:
AppPackage.ps1
Calculator.ps1

I'm not sure how well the others work, but "CPU_Temp.ps1" shows 0 degree temperature for some reason.

 

Forget previous post!

I's too complicated.

I found another way to solve the problem using dotnet 4.5

in theory, all must work under win7

I will update the new files soon

 

Olviden llo anterior. Es demasiado  complicado.

Encontre otra solucion usando dotnet 4.5

En teoria, deberia funcionar bien bajo win7

En un rato publico las novedades

 

 

 

This has turned into a headache ...

The definitive solution is to update to the Windows-Management-Framework-5.0 environment

The download link is:

https://www.manageengine.com/products/desktop-central/software-installation/silent_install_Windows-Management-Framework-5.0-for-Windows-7-(x64).html

I installed 64 bit mode and it works perfectly with the original links

It is convenient to check the version of Windows-Management-Framework

in my case the original version was 2.0.0.5 now it is updated according to the attached image

 

To find out the version, in the powershell environment run the following cmdlet:

$ PSVersionTable

If you have updated the version, you should have something similar

 

 

Esto se ha convertido en un dolor de cabeza ...

La solución definitiva es actualizar al entorno Windows-Management-Framework-5.0

El enlace de descarga es:

https://www.manageengine.com/products/desktop-central/software-installation/silent_install_Windows-Management-Framework-5.0-for-Windows-7-(x64).html

Instalé el modo de 64 bits y funciona perfectamente con los enlaces originales.

Es conveniente verificar la versión de Windows-Management-Framework

en mi caso la version original era 2.0.0.5 ahora esta actualizada de acuerdo a la imagen adjunta

 

Para averiguar la versión, en el entorno de PowerShell ejecute el siguiente cmdlet:

$ PSVersionTable

Si has actualizado la versión, debería tener algo similar

 

Uploaded files:
  • You need to login to have access to uploads.

The official Microsoft Download for x86 & x64 bits is:

 

https://support.microsoft.com/es-es/topic/actualizaci%C3%B3n-para-windows-management-framework-5-1-para-windows-7-y-windows-server-2008-r2-918077a1-ebc1-289f-bc04-8cc4546eafd0

I am going to clean up everything that has been investigated so far.

In the attached ZIP file, there is the exe program and the PS1 scripts that work in all cases with Win7 or newer, except the AppPackage script, which only works in win 10. Download it again please.

Those who have Win7 or other versions prior to Win10, it is highly recommended that they update this kind of patch that can be downloaded from:

https://support.microsoft.com/es-es/topic/actualizaci%C3%B3n-para-windows-management-framework-5-1-para-windows-7-y-windows-server-2008-r2- 918077a1-ebc1-289f-bc04-8cc4546eafd0

for all x86 and x64 versions.

With this patch, you will be able to execute all the scripts, except the native Win10 ones.

On my second computer, with Win7 x64, I updated the patch for that version, and everything works fine.

Do not hesitate to consult me ​​everything you consider necessary.

The Powershell environment is probably the biggest success since NeoBook version 4.08, which incorporated access to the outside world through plugins.

Greetings from Buenos Aires
David from Argentina

 

 

 

Voy a poner en limpio todo lo investigado hasta ahora.

En el archivo adjunto ZIP, esta el programa exe y los scripts PS1 que funcionan en todos los casos con Win7 o mas nuevo, excepto el script AppPackage, que solo funciona en win 10. Descarguenlo nuevamente. Gracias.

Los que tengan Win7 u otras versiones anteriores a Win10, es altamente recomendable que actualicen esta especie de patch que se puede descargar desde:

https://support.microsoft.com/es-es/topic/actualizaci%C3%B3n-para-windows-management-framework-5-1-para-windows-7-y-windows-server-2008-r2-918077a1-ebc1-289f-bc04-8cc4546eafd0

para todas las versiones x86 y x64.

Con este patch, podran ejecutar todos los scripts, excepto los nativos Win10.

En mi segunda computadora, con Win7 x64, actualice el patch para esa version, y, todo funciona correctamente.

No duden en consultarme todo lo que consideren necesario.

Probablemente, el entorno Powershell sea el mayor suceso desde la version 4.08 de NeoBook, que incorporo el acceso al mundo exterior a traves de plugines.

Saludos desde Buenos Aires
David de Argentina

Uploaded files:
  • You need to login to have access to uploads.

The link to the microsoft patch does not work

Copy the following full link & Paste on another website and it should work

 

El enlace al patch de microsoft no funciona

Copien el siguiente enlace completo & Paste en otra pagina web y deberia funcionar

 

 

Link:

 

https://support.microsoft.com/es-es/topic/actualizaci%C3%B3n-para-windows-management-framework-5-1-para-windows-7-y-windows-server-2008-r2-918077a1-ebc1-289f-bc04-8cc4546eafd0

@daviddeargentina

The official Microsoft Download for x86 & x64 bits is:

Yes, I updated with this update even earlier. I wrote about it above.
Not all of the scripts work correctly yet:

Uploaded files:
  • You need to login to have access to uploads.

@vadim смени раскладку клавиатуры на русский при выполнении сценария, и вопросительные знаки пропадут.

English
Change keyboard layout into Russian when executing a script, and question marks will disappear.

@vadim

Finally you had received data from the program neoPoweShell

Depending on your hardware, you will receive logical info or nothing. in my case, i dont receive the cpu serial

The weather info is hard to understand. perhaps another script should provide  better info.

There are samples only.

there are tons of them to investigate.

I think there is a very robust like Javascript and VbScript

A new world becomes...

Vadim has reacted to this post.
Vadim

RU:

@mishem Смена раскладки перед выполнением скрипта не помогла, вопросительные знаки остались. Я думаю, что они передаются в проект в виде символов Юникод, а поскольку VNW не поддерживает их, то вместо них отображаются знаки вопроса.

EN:

Changing the layout before executing the script did not help, the question marks remained. I think they are sent to the project as Unicode characters, and because VNW does not support them, they are displayed instead question marks.

Page 1 of 2Next