I know it is possible to use a batch file, but due to a suggestion I switched a lot of my script over to PowerShell. The problem I ran into is that Po ...
I know it is possible to use a batch file, but due to a suggestion I switched a lot of my script over to PowerShell. The problem I ran into is that Po ...
I have a folder in which I need to rename all of the files to replace a string with another string: In other words I need to replace (Somthing) wit ...
New to PowerShell scripting. I am trying to run the following code in PowerShell and make a script out of it: Problem is I get multiple prompts to ...
I am trying to print parts of several docx files. The code below works in Windows PowerShell 5.1, but not in PowerShell 7.3. I would like to understan ...
I want to edit the DefaultValue for the Property name = "UseThis" using PowerShell script. Xml file : The above script is not working as no value ...
I've created a code in PowerShell to search through files to find lines containing null values '000' and create a new file that replaces these values ...
I'm trying to make a batch script (called run_windows) that check if the python virtual environment exists and if not, create it then activate it, ins ...
I am a newbie in batch script and I am trying to achieve the following: loop through multiple files, count the # of commas on each line then remove ex ...
So my script currently stops on conditions i want to implement this code into mine so after the target satified it will sleep for 30 secs and then ...
Im trying to get process id from my Get-Eventlog. I can not parse the process id from the message. How ı can get it from there ? I tried With Select s ...
I'm trying to enable an excel add-in for all users in a given lab (Office 2019 is installed). The path to the add-in's "OPEN" string in the registry i ...
been trying to get this to output to a csv. Works fine in of itself, but can't figure out how to do it. I guess because I'm using write-host it never ...
What would be a way to remove temporary output from piped Out-File in Powershell? For example, if I run something like: if a command showed a chan ...
I am creating a powershell script to read data from a postgres DB But any lines given after the psql.exe command does not works after the psql.exe lin ...
I have an idea in my head and I will do my best to try and explain what I am trying to do. I have a script that basically takes a bunch of files and c ...
I need a script in powershell that will check the status of all services on the local computer and compare with the reference list of allowed services ...
I want to copy files from one folder to multiple pc in the local network. I want to add IP address in array list like below then, I will copy file ...
I'm asked to extract commands using Get-Command, where the verb is one of get, set or convertTo and the noun starts with any of C, X or V. This is wh ...
I have the following in a ps1 script and I am connecting over ftp using winscp to a nitrado server with the goal of copying the folder called backups ...
I'm trying to create a class that inherits Scripting.Dictionnary to create hash tables with type restrictive keys and items. The problem I encounter ...