powershell tag

59 questions


1 answers
397 views
0
The powerhell GUI fails to exit during sleep.

In powershell, use In summary, function func1{ for($i=0;$i-lt10;$i++){ Write-Host$i start-sleep1 }}$form.Add_Shown({func1})$form.ShowDialog()It's like this.The x button in the upper right corner of ...

1 years ago

1 answers
336 views
0
How to Process After ShowDialog

In powershell, click If you do $form.ShowDialog(), the process will stop completely.How do I process Write-Host hoge one second after ShowDialog?Shall we?When I used Show() instead of ShowDialog, the ...

1 years ago

1 answers
459 views
0
Can I get the values of other application forms in Powershell?

For example, can I get the edit (character input) part of Notepad or the string displayed on a specific form of any application from Powershell?Environment:Powershell 5.1Windows 10*Spy++ is not availa...

1 years ago

1 answers
332 views
0
How to Call PowerShell Commands from Python and Pass Output to Python

I tried calling the PowerShell command from Python as follows, but the return value was only displayed on the screen, but I could not receive it from Python.importosos.system(powerershell-Command Get-...

1 years ago

2 answers
469 views
0
What is Forms[0] for Invoke-WebRequest results on PowerShell?

There are some parts of the code listed on the following site that I don't understand.Why are you substituting Forms[0] for $response?What does it mean?Form posts with PowerShell $form=$response.Forms...

1 years ago

2 answers
443 views
0
I want PowerShell to array everything that matches the regular expression.

If the following conditions exist, I would like to include the contents of the matched parentheses in the array.How do I achieve this with PowerShell?conditions:$data={ab}, {cd}, {ef}...#This length i...


2 answers
418 views
0
I want PowerShell to array everything that matches the regular expression.

If the following conditions exist, I would like to include the contents of the matched parentheses in the array.How do I achieve this with PowerShell?conditions:$data={ab}, {cd}, {ef}...#This length i...


2 answers
465 views
0
What is Forms[0] for Invoke-WebRequest results on PowerShell?

There are some parts of the code listed on the following site that I don't understand.Why are you substituting Forms[0] for $response?What does it mean?Form posts with PowerShell $form=$response.Forms...

1 years ago

1 answers
419 views
0
VSCode's PowerShell formatter is no longer working.

Windows 10 ProVSCode 1.74.1 SymptomsI remember it used to work, but before I knew it, the VSCode PowerShell formatter stopped working.I am requesting a format with Shift+Alt+F, but the following messa...

1 years ago

1 answers
499 views
0
When you start powerhell from the batch, it opens for a moment and closes immediately.

1.Periodic execution of bat file@powershell-NoProfile-ExecutionPolicy unlimited-Command Start-Process PowerShell.exe-Verb runas C:\********\****.ps12.ps1 starts and performs actions with administrator...

- 1 - »

© 2024 OneMinuteCode. All rights reserved.