powershell tag

59 questions


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
49 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
63 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
79 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

1 answers
55 views
0
How Do I Enable Quota in File Server Resource Manager on PowerShell?

How do I enable the already created Quota for File Server Resource Manager on PowerShell?The method of deactivation is as follows:Set-FsrmQuota-Path D:\folder-DisableAlso, how to enable it in the comm...

2 years ago

1 answers
55 views
0
Error in PowerShell DataAdapter.Fill

$ConnStr=Server=$Server; port=$Port;uid=$User;pwd=$Pass;database=$Database;Pooling=$Pooling; charset=$CharSet$Conn=New-Object MySql.Data.MySqlClient.MySqlConnection($ConnStr)$Conn.Open$Sql=SELECT* FRO...

2 years ago

1 answers
75 views
0
PowerShell Module and Function Creation: Function not recognized and cannot be called.

I'm learning how to batch with PowerShell. I'm having trouble with the following symptoms.The main .ps1 is written as follows.#ImportImport-Module $($PSScriptRoot)\ModuleIn the Module folder, we put M...

2 years ago

1 answers
80 views
0
Powershell Runs Out of Catch When Error Occurs in try-catch Catch

Please forgive me if this is my first question and I am not used to it.There is an event like the one mentioned in the title.If you create and run a program like the one below, the first one will be s...

2 years ago

1 answers
79 views
0
Unable to build project from PowerShell

From PowerShell the specified project in the solutionI would like to build via VisualStudio.DTE.It doesn't work I probably need to go down the hierarchy of solution folders in the solution I don't kno...

« - 6 -

© 2024 OneMinuteCode. All rights reserved.