Advertisement
kreton

Untitled

Oct 30th, 2015
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. Windows PowerShell
  2. Copyright (C) 2009 Microsoft Corporation. All rights reserved.
  3.  
  4. PS C:\Users\Kreton> D:
  5. PS D:\> cd Tap
  6. PS D:\Tap> cd cleansrc
  7. PS D:\Tap\cleansrc> cd English
  8. PS D:\Tap\cleansrc\English> ls -la
  9. Get-ChildItem : A parameter cannot be found that matches parameter name 'la'.
  10. At line:1 char:7
  11. + ls -la <<<<
  12. + CategoryInfo : InvalidArgument: (:) [Get-ChildItem], ParameterBindingException
  13. + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
  14.  
  15. PS D:\Tap\cleansrc\English> ls -Force | Add-Member -Force -Passthru -Type ScriptProperty -Name Length -Value {ls $this -
  16. Recurse -Force | Measure -Sum Length | Select -Expand Sum } | Sort-Object Length -Descending | Format-Table @{label="Tot
  17. alSize(MB)";expression={[Math]::Truncate($.Length / 1MB)};width=14},@{label="Mode";expression={$.Mode};width=8}, Name?
  18. Missing ')' in method call.
  19. At line:1 char:254
  20. + ls -Force | Add-Member -Force -Passthru -Type ScriptProperty -Name Length -Value {ls $this -Recurse -Force | Measure
  21. -Sum Length | Select -Expand Sum } | Sort-Object Length -Descending | Format-Table @{label="TotalSize(MB)";expression={
  22. [Math]::Truncate( <<<< $.Length / 1MB)};width=14},@{label="Mode";expression={$.Mode};width=8}, Name?
  23. + CategoryInfo : ParserError: (CloseParenToken:TokenId) [], ParentContainsErrorRecordException
  24. + FullyQualifiedErrorId : MissingEndParenthesisInMethodCall
  25.  
  26. PS D:\Tap\cleansrc\English> ls -Force | Add-Member -Force -Passthru -Type ScriptProperty -Name Length -Value {ls $this -
  27. Recurse -Force | Measure -Sum Length | Select -Expand Sum } | Sort-Object Length -Descending | Format-Table @{label="Tot
  28. alSize(MB)";expression={[Math]::Truncate($.Length / 1MB)};width=14},@{label="Mode";expression={$.Mode};width=8}, Name
  29. Missing ')' in method call.
  30. At line:1 char:254
  31. + ls -Force | Add-Member -Force -Passthru -Type ScriptProperty -Name Length -Value {ls $this -Recurse -Force | Measure
  32. -Sum Length | Select -Expand Sum } | Sort-Object Length -Descending | Format-Table @{label="TotalSize(MB)";expression={
  33. [Math]::Truncate( <<<< $.Length / 1MB)};width=14},@{label="Mode";expression={$.Mode};width=8}, Name
  34. + CategoryInfo : ParserError: (CloseParenToken:TokenId) [], ParentContainsErrorRecordException
  35. + FullyQualifiedErrorId : MissingEndParenthesisInMethodCall
  36.  
  37. PS D:\Tap\cleansrc\English>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement