powershell tag

59 questions


1 answers
87 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
109 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
76 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
124 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
78 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
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

1 answers
92 views
0
I can't change to utf-8 from chcp65001 of powerhell in windows7.

chcp65001 will terminate abnormally if you try to change the code version.Please tell me how to change the code version to utf-8 on 65001.Thank you for your cooperation.

2 years ago

1 answers
119 views
0
I don't know how to install MLT.

I needed a framework called MLT, so I downloaded it from the site.However, I don't know how to install it, so I'm having a hard time.I was able to download it once last time, but I lost the procedure ...

2 years ago
« - 4 - »

© 2024 OneMinuteCode. All rights reserved.