I want to run Powershell script on agent from Jenkins declarative pipeline. It hangs on the script execution step (click on Job logs) and i have to forcefully e
In powershell, how can I... explicitly define all the env vars for the next command? I don't want any system env vars if possible, After this command runs I don
I am on windows 10 and my default shell in vscode is git bash which is used by all tasks. For a specific task, I want to use powershell. Is this possible
I'd like to export something like the view of the subnets that exist in a VNET like is displayed in the portal. Unfortunately there isn't an option to export th
I just started writing scripts in PowerShell. The desired script is supposed to create a local GroupPolicyObject (GPO) which will be specified afterwards. Resea
I have an environment variable named GOPATH. In old style command shell I could run the command %GOPATH%\bin\hello like this: Is there an equivalently simple c
I am trying to run a Powershell script which calls Get-ADUser command. Something similar to this question Powershell Active Directory commands not working in Po
I'm usually not programming in C++, but this time I had to and I've got a problem executing my code in PowerShell (which I have never done before). The program
I'm creating a window task using powershell, everthing is ok, but i can't find how to add the Author name. Register-ScheduledTask as a parameter for description
I am trying to write files to Azure File Share using the unc path. The script runs as expected when run interactively. But, when run from the SSIS execute proce
I am trying to install Git on Windows 10, but without Git Bash or GUI. I want to use Git in PowerShell and I would like not to bloat my PC. I know the install s
I'm trying to find and replace via PowerShell based on what's on the next line of the line I want to replace. For example, the following text file: blahblah
So far, the only way I've found to change the default New Message Signature in Outlook is by instantiating Word: $MSWord = New-Object -COMObject word.applicatio
I have recently installed SSAS on my servers and instead of going through 24 of them, I am writing a script to get back the logDir of the servers. I am trying
Let's have a look at this: ✓ Hello, 世界 As you can see there is a unicode checkmark and chinese/japanese characters. In go, If I use MSYS
In powershell what does the syntax $x = . { ... } mean? How is it different from $x = @( ... ) From what I can tell they both create an array of the provided va
I have a very large JSON Lines File with 4.000.000 Rows, and I need to convert several events from every row. The resulted CSV File contains 15.000.000 rows. Ho
I'm using PnP Powershell to add an Event Receiver to a document library. The Event Receiver points to an Azure function. Below is code that I wrote in a local
I want to check if SQLAlwaysON exists in server. I already know that typing and getting the powershell commands Enable-SQLServerAlwaysON and Disabled-SQLServerA
Can I do something like this? $splatting_table = @{ "-parameter" = "value" "-parameter2" = "value2" } .\external-command.exe @splatting_table as an equ