No announcements
Found 1872604 threads
-
1 Votes
get-childitem - need verbose errors
The error is what it is.Answered | 1 Replies | 3913 Views | Created by JTblue - Thursday, August 23, 2012 1:54 AM | Last reply by jrv - Thursday, August 23, 2012 2:00 AM -
2 Votes
Get-ChildItem to get Directories
Hi Kevin, Please try this as well Get-ChildItem -Path C:\mydata | ?Answered | 3 Replies | 1580 Views | Created by bakerkr94 - Wednesday, July 20, 2016 6:04 PM | Last reply by Kamruddin Ansari - Thursday, July 21, 2016 1:20 PM -
0 Votes
Get-childitem
Get-Content .Answered | 8 Replies | 3858 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
CM-ImportDriver and Get-ChildItem
Hi, This is taken from here Get-ChildItem - In its basic form the Get-ChildItem cmdlet provides functionality similar to the dir ...Answered | 4 Replies | 1258 Views | Created by jheinikel - Friday, December 27, 2013 2:54 PM | Last reply by jheinikel - Monday, December 30, 2013 1:31 PM -
0 Votes
get-childitem
text.txt when using get-childitem.Answered | 4 Replies | 1147 Views | Created by TSjoZ - Tuesday, January 16, 2018 5:03 PM | Last reply by jrv - Tuesday, January 16, 2018 10:11 PM -
1 Votes
PowerShell Get-ChildItem
Normally, Get-ChildItem cmdlet return IO.FileInfo and IO.DirectoryInfo array objects.Answered | 2 Replies | 22718 Views | Created by CyberGoo - Monday, July 1, 2013 9:41 PM | Last reply by Neothwin - Tuesday, July 2, 2013 6:23 AM -
0 Votes
Powershell Get-ChildItem question
Get-ChildItem -Recurse -Path C:\test-v -Directory | ForEach-Object{if($_.name -eq 'S3080130 abcde'){$_.fullname}} Or, formatted in my favorite code ...Answered | 1 Replies | 1139 Views | Created by Peter Pao - Monday, September 7, 2015 9:20 AM | Last reply by LarryWeiss - Monday, September 7, 2015 6:55 PM -
2 Votes
GetCMDevice results to pass to Get-ChildItem
https://stackoverflow.com/questions/42512766/get-childitem-cannot-find-path-because-it-does-not-exist https://stackoverflow.com/questions/23574 ...Answered | 4 Replies | 863 Views | Created by Felyjos - Monday, November 11, 2019 9:35 PM | Last reply by Felyjos - Tuesday, November 12, 2019 12:14 AM -
5 Votes
get-childitem's unexpected behaviour
It doesn't need to know or care whether it is a single object or multiple.Answered | 16 Replies | 1401 Views | Created by Koan_om - Friday, May 8, 2015 2:53 PM | Last reply by - Saturday, May 9, 2015 12:26 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 | 5357 Views | Created by jbm417 - Wednesday, July 25, 2018 6:09 PM | Last reply by jbm417 - Wednesday, July 25, 2018 9:33 PM -
1 Votes
PoweShell String and Get-ChildItem Comparison
It's because Get-ChildItem, when getting child items from a file system, outputs file system objects.Answered | 3 Replies | 520 Views | Created by Nikki4545 - Friday, November 18, 2016 12:29 AM | Last reply by Bill_Stewart - Friday, November 18, 2016 3:44 PM -
2 Votes
Get-childitem question
There are three basic command in PS: Get-Command - give command ;) Get-Help - example Get-Help Get-Command -Full #Or -Example ...Answered | 4 Replies | 4256 Views | Created by VinnyG65 - Monday, May 9, 2011 2:05 PM | Last reply by MichalGajda - Tuesday, May 10, 2011 12:33 PM -
0 Votes
Need help with Write-Zip and Get-ChildItem
I know that concern about needing "something that works".Answered | 13 Replies | 4960 Views | Created by Will Steele - Monday, January 16, 2012 12:23 AM | Last reply by Will Steele - Monday, January 23, 2012 1:59 AM -
0 Votes
Get-ChildItem and Get-FileHash cmdlets.
if "[]" need to be rename from each filename, then the first solution will do it!Answered | 18 Replies | 2819 Views | Created by dydoria - Monday, February 25, 2019 5:25 PM | Last reply by dydoria - Tuesday, February 26, 2019 3:50 PM -
0 Votes
Get-ChildItems, FoldernameFilename.doc
Get-ChildItem –Path 'R:\EDI_Development\Documentation\MacessEXP\Scripting\*' –Include * .doc –Recurse | ForEach-Object { Copy-Item -Path ...Answered | 3 Replies | 1109 Views | Created by Vijay Patel - Wednesday, April 16, 2014 8:49 PM | Last reply by Vijay Patel - Friday, April 18, 2014 2:14 PM -
4 Votes
Get-ChildItem parameter -include not working
Nevertheless, you are calling $directory in Get-Childitem.Answered | 4 Replies | 4711 Views | Created by Keepontrack - Monday, June 6, 2016 8:37 AM | Last reply by FWN - Monday, June 6, 2016 11:04 AM -
0 Votes
Get-ChildItem problem in foreach loop
This is how things look when formatted to fit and be readable: $folderlist=get-content c:\folder\folderlist.txt foreach ($line in ...Answered | 8 Replies | 10407 Views | Created by david yeung in lost - Tuesday, May 7, 2013 4:57 PM | Last reply by jrv - Wednesday, May 8, 2013 4:26 AM -
3 Votes
Powershell - Scripting Help with Get-Childitem
$MissingFiles = @() $FileA = $FileB = $null # make sure these are set to a known state at every execution $RunTime = Get-Date -Format "dddd MM/dd/yyyy HH:mm ...Answered | 9 Replies | 3894 Views | Created by ClaireSim - Friday, July 24, 2020 2:32 PM | Last reply by Rich Matheisen [Ex-MVP (retired)] - Tuesday, July 28, 2020 7:09 PM -
0 Votes
get-childitem question
Get-ChildItem "\\servername\f$" -Recurse -Filter *.ps1 | select Directoryname,baseName, @{Name="Kbytes";Expression={ "{0:N2}" -f ...Answered | 2 Replies | 1468 Views | Created by Prashant Girennavar - Friday, March 8, 2013 6:22 AM | Last reply by Yan Li_ - Tuesday, March 12, 2013 5:38 AM -
1 Votes
Filter Objects returned by Get-ChildItem
When you use that parameter, you're getting back an array of names only.Answered | 2 Replies | 4489 Views | Created by iniki - Friday, March 28, 2014 9:34 PM | Last reply by Mike Laughlin - Friday, March 28, 2014 11:02 PM - Items 1 to 20 of 1872604 Next ›
No announcements