shell tag

84 questions


2 answers
66 views
0
Chdir (Set-Location) to an unauthorized location on the intermediate path in PowerShell

I have a question in Powershell.exe or ISE in PowerShell 5.0.First of all, the behavior below will be as expected.start\\\machine\dir1\dir2\dir3(Display dir3 in Explorer) start\\\machine\dir1\dir2(Err...

2 years ago

2 answers
66 views
0
To Replace Curl-i Header and Body in a Shell Script

curl-i seems to yield the following output:status codeheaderheaderheaderbodybodybodyI would like to use this first \n\n as a boundary and eventually get the output similar to the following:What should...

2 years ago

1 answers
96 views
0
Create Storage Containers in Azure Resource Manager

How do I create containers in storage from the Resource Manager?Don't you have any?I want to make a script, but I can't find any commands.

2 years ago

1 answers
65 views
0
SENDKEY does not work well

Thank you for your cooperation.What you want to doIf you request a URL, the file is automatically downloaded.I would like to automate this process and register with the Windows Task Scheduler.I wrote ...

2 years ago

3 answers
72 views
0
I want to add a value to an existing JSON file using PSCustomObject

Prerequisites/What you want to achieveI would like to read the json file in ConvertFrom-Json in PSCustomObject, add the value, and output it as follows, but I don't know what command to execute.InputJ...

2 years ago

1 answers
70 views
0
You want to remove administrator privileges from the BAT that you performed with administrator privileges.

PurposeI want to launch another executable file from a BAT file that I ran with administrator privileges without granting administrator privileges.Hoge.bat@ECHO OFFSTART NOTepadexitIf you run Hoge.bat...

2 years ago

1 answers
50 views
0
PowerShell does not run when right-clicked to run PowerShell.

If you copy the following to PowerShell, the script will run without any problems.If you put a space between ★, the screen will drop without processing when you run it in powershell.Even if you put pa...

2 years ago

2 answers
64 views
0
I want to replace the reference VHD file for Azure AutoScale in Powershell.

In Azure's AutoScale, we would like to make URI changes to the original VMS OS disk in Powershell.The command itself could be executed with Update-azurermvmss, but if you specify the number of VMs in ...

2 years ago

1 answers
80 views
0
Download virtualenvwrapper-powershell using pip

I am trying to download virtualenvwrapper-powershell using pip in Windows powershell, but it does not work.The pip download itself works. python-mpip install virtualenvI was able to install virtualenv...

2 years ago

3 answers
110 views
0
Understanding the Behavior of Cat Running on Bash (Linux)

If you use Bash on Cloud9 and type cat as shown in the attached image, proceed to the next line without any response.So even if you type -a, it's just a new line.When I pressed Enter, a blank line app...

2 years ago
« - 7 - »

© 2024 OneMinuteCode. All rights reserved.