shell tag

84 questions


1 answers
133 views
0
Why can't I copy only x when I copy to PowerShell?

Why can't I copy only x when I copy to PowerShell?Copy fromText Editor Set-Location-Path L:\1\ground x Figure\Copy toPowerShell PSC:\WINDOWS\system32>Set-Location-Path L:\1\map\

2 years ago

1 answers
88 views
0
I want to specify the size when I print PDF with LPR command in powershell

When I print with LPR on Linux, I could print with A5 with -omedia= A5, but Windows (powershell) doesn't work the same way with the same option.If you change the default size in the printer settings i...

2 years ago

1 answers
138 views
0
Creating Dynamic Groups Using New-AzureADMSGroup

We aim to use PowerShell to create dynamic groups for MS365.Dynamic groups cannot be created using the examples described in the official reference.I'd like to ask you to teach me.PSC:\>New-AzureAD...


1 answers
115 views
0
How Do I Determine the Drive Allocation for a Removable Disk in PowerShell?

This is my first time writing a script on PowerShell, and I want to move it ·Return assigned drive when USB is insertedThat's what it means.I use two USBs, so depending on the order of insertion, it c...

2 years ago

2 answers
110 views
0
I would like to copy Excel columns using Powershell.

I would like to copy the specified column from Excel using powershell.For example, How do I select only columns A, D, and F in Excel 1 and paste them into columns A, B, and C in Excel 2?Thank you for ...

2 years ago

1 answers
77 views
0
How do I start a process with environment variables like /usr/bin/env in Windows PowerShell?

I want to start the process by setting environment variables like the env command on UNIX, but how can I do this with Windows PowerShell?I understand that the Set-Item command can rewrite the environm...

2 years ago

1 answers
125 views
0
The mongo shell that I started while I was remoteing Powershell ends quickly.

I'm a beginner at Mongodb.If you start the mongo shell on the powershell of the window server (2016 Standard) where Mongodb is installed, you can use it without any problems as follows.PSC:\Users\Admi...

2 years ago

1 answers
79 views
0
I want to run Mac & Ruby commands on the Power Shell, such as:

ruby-el=STDIN.readlines; 10000.times {printl.sample}<**file_name.csv**|wc-lWhen I try to do this on the Power Shell, how should I describe it?(Get-Content**file_name.csv** | ruby-e l=STDIN.readline...

2 years ago

1 answers
47 views
0
How to set the ash on Alpine Linux to release something like git-prompt.

The subject line is correct.I'd like to know how to set up an Alpine Linux ash like git-prompt.$docker run-it --rm-v${my_git_project_dir}:/app-w/app alpine /app# $docker run-it --rm-v${my_git_project_...

2 years ago

1 answers
131 views
0
Want to resize VMs in azure resource manager

I create a VM in Azure and a script to resize the VM in powershell.Classic has a resizing command, but is it possible to resize it in the resource manager?Resource Manager commands were not found when...

2 years ago
« - 5 - »

© 2024 OneMinuteCode. All rights reserved.