No announcements
Found 2111447 threads
-
2 Votes
Get-ChildItem Issue With Variable
You can work around that behavior with a pretty small function: function Get-Version { [CmdletBinding()] param ( ...Answered | 49 Replies | 3455 Views | Created by Tarrley - Thursday, December 12, 2013 5:03 PM | Last reply by Bill_Stewart - Monday, December 16, 2013 5:10 PM -
0 Votes
Issue with Get-ChildItem
Hi! I want to do some file listing stuff but I ran into an issue. With Get-ChildItem e: | where ...Unanswered | 4 Replies | 433 Views | Created by WolfgangRiegler - Friday, January 17, 2020 11:24 AM | Last reply by yaro137 - Friday, January 17, 2020 8:02 PM -
1 Votes
Get-ChildItem with Variable Filter
Get_ToolData($path,$filter){ $files = Get-ChildItem $path -Filter ...Answered | 9 Replies | 2049 Views | Created by David L. Jenkins - Monday, September 14, 2015 2:28 PM | Last reply by LarryWeiss - Monday, September 14, 2015 7:35 PM -
0 Votes
get-childitem issue
Is more easy, if you have the right permission $pc='remotepcname or ip address' $user1="the user" $UserDesktop = (Get-ChildItem -Path ...Unanswered | 2 Replies | 513 Views | Created by mqh7 - Tuesday, October 16, 2018 9:35 PM | Last reply by jrv - Wednesday, October 17, 2018 12:35 AM -
1 Votes
Get-ChildItem with UNC path
If you want to access the administrative share on a remote server you have to replace the colon with a dollar sign like this: Get-ChildItem -Path ...Answered | 2 Replies | 1971 Views | Created by jbm417 - Wednesday, July 25, 2018 6:09 PM | Last reply by jbm417 - Wednesday, July 25, 2018 9:33 PM -
0 Votes
Get-ChildItem
working great when running the script manually, but when running as an scheduled task, the method Get-ChildItem is not working (no ...Answered | 2 Replies | 466 Views | Created by Ncedia - Sunday, October 15, 2017 2:41 PM | Last reply by Ncedia - Monday, October 16, 2017 5:32 AM -
1 Votes
Get-Childitem
Hey I sort files with get-childitem want to give numbers to select later. how can ı do ?Answered | 1 Replies | 1410 Views | Created by Gorkem4134 - Sunday, March 29, 2015 4:31 PM | Last reply by EugeneLeitan - Monday, March 30, 2015 6:11 AM -
0 Votes
Strange with Get-childitem result
added "Recurse". This also will work: get-childitem -Unanswered | 4 Replies | 361 Views | Created by asharma5 - Friday, November 9, 2018 6:13 PM | Last reply by jrv - Friday, November 9, 2018 6:44 PM -
0 Votes
get-childitem
text.txt when using get-childitem. Apologies for not being clear.Answered | 4 Replies | 783 Views | Created by TSjoZ - Tuesday, January 16, 2018 5:03 PM | Last reply by jrv - Tuesday, January 16, 2018 10:11 PM -
0 Votes
Get-childitem
Get-childitem will work, but for just getting a count of files it seems like swatting a fly with a ...Answered | 8 Replies | 3623 Views | Created by Bill201 - Tuesday, September 6, 2011 9:21 PM | Last reply by Just Karl - Wednesday, September 7, 2011 2:32 PM -
0 Votes
Get-ChildItem
: $($_.FullName)" -Fore Green Get-ChildItem $_.Fullname -Directory } | Select-Object Parent, Fullname | Sort-Object Parent, FullName | ...Answered | 2 Replies | 377 Views | Created by TheAnalogKid - Wednesday, January 9, 2019 3:37 PM | Last reply by TheAnalogKid - Wednesday, January 9, 2019 4:12 PM -
0 Votes
recursing folders with get-childitem
I'm at a loss; I'm trying to recurse folders with a break condition (maximum recurse depth; b.t.w. why is this not in get-childitem -recurse?). So I use ...Answered | 2 Replies | 6015 Views | Created by martinvanboven - Thursday, July 7, 2011 1:09 PM | Last reply by martinvanboven - Thursday, July 7, 2011 3:03 PM -
1 Votes
PowerShell Get-ChildItem
Normally, Get-ChildItem cmdlet return IO.FileInfo and IO.DirectoryInfo array objects. If you want to get custom object as result, pls try with ...Answered | 2 Replies | 20797 Views | Created by CyberGoo - Monday, July 1, 2013 9:41 PM | Last reply by Neothwin - Tuesday, July 2, 2013 6:23 AM -
2 Votes
Problem with Get-ChildItem when finding folders
Hi all, I have what I consider a very strange problem with Get-ChildItem My ...Answered | 1 Replies | 776 Views | Created by Panzerbjrn - Thursday, November 30, 2017 10:54 AM | Last reply by Vincent Karunaidas - Thursday, November 30, 2017 11:41 AM -
2 Votes
Get-Childitem extension
Get-ChildItem -Path $Path -Filter *.zip Correct but...The point I was making was ...Discussion | 8 Replies | 26707 Views | Created by Pablo DGA - Thursday, March 3, 2016 9:34 PM | Last reply by JS2010 - Monday, September 3, 2018 3:15 AM -
2 Votes
Get-ChildItem to get Directories
Hi Kevin, Please try this as well Get-ChildItem -Path C:\mydata | ?{$_.PSIsContainer} |Select-Object Name -expandProperty Name | ` foreach ...Answered | 3 Replies | 1252 Views | Created by bakerkr94 - Wednesday, July 20, 2016 6:04 PM | Last reply by Kamruddin Ansari - Thursday, July 21, 2016 1:20 PM -
2 Votes
Get-childItem issue when sending mail
That's missing the "or click here" bit, but that's the basic idea. Get-ChildItem may return multiple files, and you need some sort of loop to process them separately.Answered | 10 Replies | 1178 Views | Created by Ahmad Alkaysey - Thursday, January 23, 2014 8:59 PM | Last reply by Mike Laughlin - Thursday, January 23, 2014 9:35 PM -
1 Votes
get-childitem -exclude problem
Get-ChildItem $profile_dir -force -recurse | where {$_.fullname -notmatch [regex]::escape($profile_dir_localsettings)} | measure- object length -sumAnswered | 2 Replies | 3327 Views | Created by Arczatlan - Monday, October 1, 2012 11:10 AM | Last reply by Arczatlan - Monday, October 1, 2012 11:21 AM -
0 Votes
Get-ChildItem Dir Listing
You will have to group the items by folder or you will have to query each folder independently. Start with this: Get-ChildItem ...Unanswered | 1 Replies | 225 Views | Created by PowerShell_Novice - Friday, March 20, 2020 8:15 PM | Last reply by jrv - Friday, March 20, 2020 8:24 PM -
0 Votes
Getting More Information with Get-ChildItem
Get-ChildItem -Path "path" | Select-Object -Property p1,p2,p3,p4 | Format-TableAnswered | 4 Replies | 414 Views | Created by MarkGiemza - Thursday, June 16, 2016 5:41 PM | Last reply by Mike Laughlin - Thursday, June 16, 2016 9:20 PM - Items 1 to 20 of 2111447 Next ›
No announcements