ZTree.com  | ZEN  | About...  

 Index   Back

dubugging CMD scripts   [OT]

By: Slobodan Vujnovic   Homepage   France  
Date: Jan 16,2023 at 21:12
In Response to: dubugging CMD scripts (Ben Kent)

> A ZEP if anyone is like minded
> For the F9 Application menu
> Have some new directives to
> output the script as .PS1
> execute under powershell.exe or pwsh.exe
> encode the file as ANSI or UTF-8
>
> I have some directives/options that could be considered
> OutputFileEncodoing ANSI,UTF-8,UNICODE
> ExecuteWith cmd,powershell,pwsh,zlist,zmacro

As/if sysadmins adopt PS more and more, not supporting it in ZTree
may be seen as being behind the times.

Personally, I never took to time to learn it, CMD can do incredible
things when pushed to the limits. AI can be now used to generate
both. I tried to ask ChatGPT to convert a BAT to PS, but the site
is on its knees... They offered to mail me when it restarts accepting
new sessions.

40 views      
 

Messages in this Thread

 
96,194 Postings in 12,153 Threads, 350 registered users, 23 users online (0 registered, 23 guests)
Index | Admin contact |   Forum Time: Jan 27, 2023 - 1:16 am UTC  |  Hits:53,203,798  (1,031 Today )
RSS Feed