python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Powershell ps1 Get Children Copy command basic
I'm not a coder. I have a Powershell script .ps1 that goes into all subfolders of "db" and deletes the files I want to delete in all of them. It works for what I need. The following code:
Ge...
Allan Amaro
Votes: 0
Answers: 1
replace match group using regex + powershell
I am trying to setup a PowerShell script that would replace a matching string from my GlobalAssemblyInfo.cs file. I am basically looking to update the Version number via powershell so I can do that in...
konrad
Votes: 0
Answers: 1
Script calls other script as .ps1 but not as a .exe using ps2exe
$password = ConvertTo-SecureString “Password+++” -AsPlainText -Force
$Cred = New-Object System.Management.Automation.PSCredential ("Admin", $password)
$FileLocale = Split-Path -Parent -Path ...
Black_n_White
Votes: 0
Answers: 1
Multiple substring replacement in bash
I'm working in an HPC cluster which has a lot of partitions ($HOME, $SCRATCH, $WORKDIR, $SHARED,...) and was trying to find a way to clearly identify which partition I'm at the moment.
After some digg...
import numpy as np
Votes: 0
Answers: 2