Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
59 views

I am looking to bulk move the entire subdirectory containing a file to the root folder. Meaning if there are empty subdirectories in between, they will be deleted but everything beyond the level where ...
vav's user avatar
  • 43
0 votes
1 answer
56 views

I synced a SharePoint directory to my Windows file system using OneDrive. As seen in the image below, some files are available locally, while others are only available in the cloud: When I double-...
tail's user avatar
  • 481
1 vote
1 answer
737 views

I have a problem and don't know how to solve it myself. I haven't found anything on google either. I have a folder called Trace, in this folder several devices save their trace files. When the devices ...
Hagstuud 's user avatar
-1 votes
1 answer
159 views

I have a thousands of JPG and corresponding JSON files in a Windows 10 directory, along with exiftool.exe: 0001.jpg 0001.jpg.json 0002.jpg 0002.jpg.json 0003.jpg 0003.jpg.json ...etc. exiftool.exe ...
Linh Son Nguyen's user avatar
0 votes
2 answers
164 views

I need to display all elements of the $FileNames array in Powershell console. I am iterating in a For loop but i cant print double quotes to all Array index elements on the console. Please help. ...
user avatar
1 vote
1 answer
130 views

I'm working on a PowerShell script that aims to find lines in HTML files containing angle brackets not belonging to HTML tags. The script should replace said angle brackets with < and >. ...
Bauda's user avatar
  • 33
1 vote
1 answer
3k views

Trying to configure a logon script (via Group Policy) on a Windows AMI (running on AWS). One of the things the script does is prompt the user for credentials at logon (via $host.ui.PromptForCredential)...
BlueJ2598's user avatar
1 vote
1 answer
400 views

Question How can I automatically set the password of the Application Pool Identity from within a Windows commandline interface or script? What I have Tried I have tried to following command in ...
Tyler's user avatar
  • 333
0 votes
1 answer
80 views

I have been tasked with coming up with a PowerShell script that I can run on computers at my organization to cleanup old user profiles in Windows. The goal of the script is get a list of users on a pc,...
Sloan's user avatar
  • 1
0 votes
1 answer
248 views

I am using below script to create backup file but it takes backup of all tables. I want backup of selected tables. how can I achieve this. imp <username>/<password>@<hostname> file=&...
Moin Ansari's user avatar
0 votes
0 answers
33 views

Apart from Batch script, which script I can use that don't need installation or configuration at client system and can be invoked from windows visual studio? powershell python etc. needs installation. ...
Peeyush's user avatar
  • 39
0 votes
1 answer
178 views

I am running a PowerShell script and calling $MyInvocation.PSCommandPath within the script and it returns null. The script is meant to be run within a PowerShell Console because it has command line ...
Wandering's user avatar
0 votes
2 answers
234 views

I am reaching out to seek your expertise and assistance with a task I'm currently working on. I have a text file containing log lines, and I need to scan these lines for specific destination IP ...
wannabemssp's user avatar
1 vote
0 answers
24 views

I'm a digital artist working from home. I have two monitors: one is an actual 1920p Philips monitor and the other one is a 1920p Huion Kamvas drawing tablet. I use the tablet both as a drawing surface ...
Ian Mendes's user avatar
0 votes
1 answer
830 views

I'm trying to figure out a way to script in PowerShell the creation of multiple SMB shares on a file server with different share names pointing to different paths. What I mean is having a variable ...
ShaynG's user avatar
  • 15
1 vote
1 answer
102 views

Suppose I have a workbook on my desktop with name Test.xlsm and I need to rename it to Test2.xlsm in the same path. I can rename it using Name statement as the following : Sub Rename_using_Name() ...
Waleed's user avatar
  • 931
0 votes
0 answers
113 views

I am trying to copy a file from one location to another. There are two possible source destinations on the computer I would like the script to check if the folder exists (i.e. -eq 'True') if doesn't ...
daaqis's user avatar
  • 13
1 vote
1 answer
396 views

I have a folder in which I need to rename all of the files to replace a string with another string: File 01 (Something) ABC.txt ---> File 01 - ABC.txt File 02 (Something) DEF.txt ---> File 02 - ...
dokgu's user avatar
  • 6,200
0 votes
0 answers
82 views

I have 2 pdf files (templates) from which I need to extract 1 page each and save as a combined pdf. Each pdf has a filename with a different 3 letter location indicator (e.g. LOC) for each of the ...
61912's user avatar
  • 1
1 vote
1 answer
63 views

I want to edit the DefaultValue for the Property name = "UseThis" using PowerShell script. Xml file : <?xml version="1.0"?> <ConfigFile xmlns:xsd="http://www.w3.org/...
Shivangi Rana's user avatar
0 votes
0 answers
820 views

I have exported task scheduler task in xml format and now i want to import it into different pc using cmd or powershell or any script only. How can i import task scheduler xml file into task scheduler ...
Bijis's user avatar
  • 1
0 votes
1 answer
370 views

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 with a user input. I've included the code below ...
matt442's user avatar
  • 15
1 vote
2 answers
5k views

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, install the requirements and finally run some python ...
Fabio Magarelli's user avatar
-2 votes
2 answers
520 views

So my script currently stops on conditions if profit >= 0.1 then stop() end i want to implement this code into mine so after the target satified it will sleep for 30 secs and then restart my ...
Bobby Drake's user avatar
1 vote
0 answers
204 views

My goal is to be able to test a DB connection from Oracle, MySQL, PostgreSQL, SQL Server, etc., ideally without installing any drivers (probably not possible). I'm working on Inno Setup. The user ...
Giu's user avatar
  • 21

1
2 3 4 5
9