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.

127 views      
 

Messages in this Thread

 
96,333 Postings in 12,176 Threads, 350 registered users, 64 users online (0 registered, 64 guests)
Index | Admin contact |   Forum Time: May 28, 2023 - 2:59 am UTC  |  Hits:55,533,270  (2,395 Today )
RSS Feed