Category "powershell"

unrecognized arguments: –html

I am trying to create an application using Azure App service. However, it shows the above error: unrecognized arguments: –html The command that I use is a

How to install SQL Server PowerShell module on my company's server

Environment: Windows 2016 Server Standard PowerShell 5 Has Internet connection Running PowerShell as administrator JFrog is something new we're implementing but

Can I ship Test-Json from pwsh with my software?

Is it possible to ship cmdlet Test-Json only with my software or a dll that contains it from pwsh? I downloaded the entire pwsh zip file but not sure which one

using PowerShell, Is there an easier or better optimized way to get the download link to the latest Nvidia Driver?

Hello all, I've been able to get this code to get the latest download link for Nvidia Driver for a Quadro P1000. I was wondering, if there's a better way to do

Execute a bat file with a variable name in the path

I am having a problem executing a powershell script where I want to point to different versions of a bat file based on some arguments Hard coding the path as fo

Boxstarter fails to install package (extracted script is actually a zip file)

I'm trying to make a simple Boxstarter package that will install a few basics to new machines. Nothing special. I've created a new package as suggested in the d

How can I force Powershell to return an array when a call only returns one object?

I'm using Powershell to set up IIS bindings on a web server, and having a problem with the following code: $serverIps = gwmi Win32_NetworkAdapterConfiguration

Powershell Script working fine in Visual Code but fails running from Terminal

I'm working on writing a script which will run from AzDo Pipeline to disable F5 WebServers. Below script works fine in Visual Code and does disable the server a

Offline Ros Bridge Intallation / without internet

We want to install Ros Bridge to our server. But we don't have internet access on server. Is it possible we can install without internet? Thank you...

How to get Members of GroupMailboxes in PowerShell Exchange

I'm trying to get the Members of my groupMailboxes. I already wrote a script for sharedMailboxes that works well. If I want to apply the same for groupMailboxes

i used Powershell in a script to execute and install a app in a computer remotly, I Used psexec

well i have a little script this should execute and install one application but really in the other computer hasn't installed i'll want to install application i

How to filter data in Get-MailboxStatistics

I'm quite new in Powershell. I am trying to filter the result of the cmdlet Get-MailboxStatics, because i wanna know statistics on a subset of items in the mail

PowerShell, unable rename registry on the remote computer

How can I rename Registry SubKey instead of deleting it on the remote device? $remoteHive = [Microsoft.Win32.RegistryHive]“LocalMachine”; $regKey =

Why am I getting gibberish result in Windows terminal?

I am trying to compare version in windows terminal. It works great in Git Bash but in Windows terminal it shows gibberish and wrong result? verlte() { [ "$

Windows Container Access is denied. (0x5). using Powershell. But still accessible on Docker Desktop CLI tool

I am running a docker-compose up and spinning up my Windows containers. Then I want to attach to a container. I tried docker attach <container id>, but i

Run powershell scripts from a C program

I'm creating a C program to run several powershell scripts. But when I run the command with the system function it opens the script in a txt file instead of run

How to enumerate available properties of member

In the code below there are a number of properties of "member" I've added "description" property successfully but I can't find out if the account is enabled.

Microsoft Login Check

I'm new to Powershell. I want to know how to do a check if the user log into their account successfully and if not loop back to the beginning. Thank you! if(-n

Stream Analytics: Best parameters to choose for the autopause of a day wise TUMBLINGWINDOW stream job and best trigger time to set for that function

Context I have a daywise TUMBLINGWINDOW (similar to the one shown below) SELECT DATEADD(day, -1, System.Timestamp()) AS WindowStart System.Timestamp() A

How can I call a Powershell / Command Line Script using a BrowserAction in a FireFox WebExtension?

When the button is pressed, I want to get the URL from the current tab and pass it as an argument to the script. I know that I have to use browser.browserAction