Search found 10 matches

by Hal242
Mon Feb 18, 2019 6:30 pm
Forum: Windows PowerShell
Topic: Change date format in multiple CSV files
Replies: 6
Views: 896

Re: Change date format in multiple CSV files

I am still having trouble figuring this out... I am not an expert and am sincerely interested to understand it. Here is what I have pieced together from my understanding and what I can find on the internet; Example CSV data I am working with in myCSV.csv CompanyName,Date_Installed,Product Installed,...
by Hal242
Fri Feb 15, 2019 7:09 pm
Forum: Windows PowerShell
Topic: Change date format in multiple CSV files
Replies: 6
Views: 896

Re: Change date format in multiple CSV files

Yes, it can do this... How do I go about getting PowerShell to convert all of my files into a single date format?
by Hal242
Fri Feb 15, 2019 4:46 pm
Forum: Windows PowerShell
Topic: Change date format in multiple CSV files
Replies: 6
Views: 896

Change date format in multiple CSV files

Hello, I have over 2000 CSV files with a mix of date formats. I have been reading over the past week many online resources about how to update these files, but I am not having much success. Hopefully someone can help point me in the right direction... PowerShell is my first thought when it comes to ...
by Hal242
Sun Jan 27, 2019 1:48 pm
Forum: Windows PowerShell
Topic: Get data from multiple XML files
Replies: 3
Views: 757

Re: Get data from multiple XML files

thanks... I knew I was getting close and your reply helped me get to the solution. this seems to do the trick; Get-ChildItem D:\temp -filter *.xml | ForEach-Object { [xml]$xmlDocument = Get-Content -path d:\temp\$_ $xmlDocument.HardwareVerificationData.runtime.ChildNodes $xmlDocument.HardwareVerific...
by Hal242
Sun Jan 27, 2019 1:09 pm
Forum: Windows PowerShell
Topic: Get data from multiple XML files
Replies: 3
Views: 757

Get data from multiple XML files

Hello, I have many XML files in a folder. Each XML file has a different name, but all have the same XML schema. I can get values from different nodes in any of the XML files using the following code; [xml]$xmlDocument = Get-Content -Path D:\TEMP\FileName1.xml $xmlDocument.HardwareVerificationData.ru...
by Hal242
Fri Jan 25, 2019 10:45 am
Forum: PowerShell Studio
Topic: Filter property for TextBox Browse for File cannot be found in PowerShell Studio 2019
Replies: 4
Views: 880

Re: Filter property for TextBox Browse for File cannot be found in PowerShell Studio 2019

aha! thank you, once again, David. I knew it had to be something simple.
by Hal242
Thu Jan 24, 2019 5:50 pm
Forum: PowerShell Studio
Topic: Filter property for TextBox Browse for File cannot be found in PowerShell Studio 2019
Replies: 4
Views: 880

Re: Filter property for TextBox Browse for File cannot be found in PowerShell Studio 2019

Hi David, I tried this and it still doesn't show the filter property.

I have a little demo showing it here:
https://drive.google.com/file/d/1cmM8Yb ... sp=sharing
by Hal242
Thu Jan 24, 2019 12:15 pm
Forum: PowerShell Studio
Topic: Filter property for TextBox Browse for File cannot be found in PowerShell Studio 2019
Replies: 4
Views: 880

Filter property for TextBox Browse for File cannot be found in PowerShell Studio 2019

Product, version and build: PowerShell Studio 2019 32 or 64 bit version of product: 64-bit Operating system: Windows 10, 1809 32 or 64 bit OS: x64 This post refers to a Property object which seems to have been moved or removed in the 2019 version of the product https://www.sapien.com/forums/viewtopi...
by Hal242
Tue Jan 22, 2019 10:33 am
Forum: PowerShell Studio
Topic: Error with running form project with browse for folder textbox
Replies: 3
Views: 1261

Re: Error with running form project with browse for folder textbox

thanks David. This solved it and now the control works as expected.
by Hal242
Sat Jan 19, 2019 7:49 pm
Forum: PowerShell Studio
Topic: Error with running form project with browse for folder textbox
Replies: 3
Views: 1261

Error with running form project with browse for folder textbox

Product, version and build: PowerShell Studio 2019 64 bit version Operating system: x64 Windows 10 Pro, version 1809 fully patched I keep having errors when I run form projects. Below is the error and it happens even if I create a new empty project and add a TextBox - Browse for Folder control (or o...