powershell tag

59 questions


1 answers
470 views
0
Why do I miss certain characters when I paste them into the PowerShell console via the clipboard?

environment:Windows 10 + PowerShell 5.1/7.2 (either) Suppose you created a folder called D:\work\■test that contains a black square.Copy (Ctl+C) the string from this folder to the clipboard and paste ...

1 years ago

1 answers
322 views
0
PowerShell associative array cannot be returned as function return value

I'm creating a GUI that does a lot of things with PowerShell.Because there are a number of processes that require associative arrays, the function for creating associative arrays is once sandwiched an...

1 years ago

1 answers
372 views
0
No Labels or Text Boxes Appear in GroupBox on PowerShell

I'd like to have some groups in the subform and create text, labels, etc. in those boxes.This is an image that creates an input form.Below is the code for the part that is in question#Subforms$optionf...

1 years ago

1 answers
380 views
0
I want to create new HashTable repeatedly in PowerShell

This is an additional question for This questionHere is the code you answered:#Associative Array CreationFunction makeHashTable{ Param( param1, param2 ) for ($i by index number) { $value=@() forea...

1 years ago

1 answers
352 views
0
Understanding docker container run invalid reference format

I built a Dokerfile, created an image, and ran a docker run.The following error cannot be resolved: docker: invalid reference format.See'docker run --help'.When I looked into it, I looked at the artic...

1 years ago

1 answers
418 views
0
Understanding docker container run invalid reference format

I built a Dokerfile, created an image, and ran a docker run.The following error cannot be resolved: docker: invalid reference format.See'docker run --help'.When I looked into it, I looked at the artic...

1 years ago

1 answers
435 views
0
Do I need to install PowerShell?+ Why is the name not defined?

I'm a beginner in programming.I participated in the workshop and decided to use the list named results.The instructor shared the list on Google Collaboration, so the first thing I copied the list to V...


1 answers
396 views
0
How to Coexist Powershell Debugs and Python Debugs in VScode

Window 10proVscode 1.70.2Python 3.9.10<-python interpreter selected under virtual environment/ENV folder by python venvPowershell Extension v2022.7.2Vscode enhancements PowerShell Python  Python Ex...


1 answers
406 views
0
Does PowerShell's Get-Content lock the target files?

View the log files that the script or RPA outputs in real time with the Get-Content option in PowerShell.Sometimes, the script and RPA terminate abnormally due to the error of not opening the log file...

2 years ago

2 answers
409 views
0
I want to exclude only certain folders when I delete files in folders in Powershell

As you can see in the title, I don't want to delete only certain folders as below.It's not working.Is there any way?$filePath='C:\temp\# folder to be deleted$excludeItem='Processed'# Folder you want t...

2 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.