forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Powershell DSU

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements
View previous topic :: View next topic  
Author Message
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 762
Location: Rockeledge, GA

PostPosted: Sun Apr 11, 2021 11:46 pm    Post subject: Powershell DSU Reply with quote

$19.99 (feature work caused price increase)
Updated for localization encodings.

Input string may be multipline / complete powershell script. Returns console output when complete.

Code:
%%powershell = @powershell(9*8)
info %%powershell


This would return 72.

@pipe() will return any associated errors. Usually returns true.



powershell.dsu
 Description:

Download
 Filename:  powershell.dsu
 Filesize:  1.12 KB
 Downloaded:  431 Time(s)



Last edited by cnodnarb on Mon Apr 19, 2021 4:00 am; edited 5 times in total
Back to top
View user's profile Send private message AIM Address
GregLand
Valued Contributor
Valued Contributor


Joined: 15 Jun 2004
Posts: 212
Location: FRANCE

PostPosted: Tue Apr 13, 2021 9:04 pm    Post subject: Reply with quote

Really excellent!

I would like to participate, because I think your work is excellent!
How would you like to receive the payment?
Back to top
View user's profile Send private message Visit poster's website
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 762
Location: Rockeledge, GA

PostPosted: Wed Apr 14, 2021 10:47 pm    Post subject: Reply with quote

Please regard my PM
Back to top
View user's profile Send private message AIM Address
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 762
Location: Rockeledge, GA

PostPosted: Wed Apr 14, 2021 11:01 pm    Post subject: Reply with quote

Oh yes, this I like.

Code:
#resource add,text, rancoh.psm1
#include powershell.dsu
list create,1
list loadfile,1,#rancoh.psm1
%%powershell = @powershell(@text(1))
exit
Back to top
View user's profile Send private message AIM Address
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 762
Location: Rockeledge, GA

PostPosted: Wed Apr 14, 2021 11:11 pm    Post subject: Reply with quote

Be aware, doesn't work with advanced powershell with @'
'@ references, like powershell with embedded c#, so pretty much all the dialogshell stuff.

I have a compiled module of dialogshell that does work, but it's compiled with another propietary software ~

Also you can call those from a file by using iex(get-content file | out-string) but you can't run the command inside of the file directly from @powershell, so saying it doesn't work isn't quite right, but it's quirky.

Also using import-module would work, etc. you just can't embed the string into the executable and call directly.
Back to top
View user's profile Send private message AIM Address
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 762
Location: Rockeledge, GA

PostPosted: Thu Apr 15, 2021 1:21 am    Post subject: Reply with quote

Figured out the @ symbol 'problem'.

Code:
#resource add,text, rancoh.psm1
#include powershell.dsu
list create,1
list loadfile,1,#rancoh.psm1
list savefile,1,rancoh.psm1
%%powershell = @powershell(import-module .\rancoh.psm1)
exit


Within rancoh.psm1, add this line of code at line 1
Code:
remove-item .\rancoh.psm1
Back to top
View user's profile Send private message AIM Address
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 762
Location: Rockeledge, GA

PostPosted: Mon Apr 19, 2021 3:34 am    Post subject: Reply with quote

New release

Support for accented languages.



powershell.dsu
 Description:

Download
 Filename:  powershell.dsu
 Filesize:  1.08 KB
 Downloaded:  431 Time(s)

Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group