Id Duration CommandLine -- -------- ----------- 1 0.343 cd C:\Users\Jim Martinson\Documents\CST1861\Week\11 2 0.018 cd ~\Documents\CST1861\Week\11 3 0.176 Get-ChildItem ..\10 | Copy-Item -Destination .\copied -PassThru 4 0.018 Get-ChildItem ..\10 | Copy-Item -Destination .\copied 5 0.101 -ClassName Win32_NetworkAdapterConfiguration 6 0.304 Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration 7 0.099 Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration |… 8 0.798 help Get-CimInstance -full > Get-CimInstance.txt 9 0.089 Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration -Filter "description like '%intel%'" | F… 10 0.133 Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration -Filter "description like '%intel%'" | F… 11 0.070 Get-CimClass Win32_NetworkAdapterConfiguration 12 0.052 Get-CimClass Win32_NetworkAdapterConfiguration | gm 13 0.067 (Get-CimClass Win32_NetworkAdapterConfiguration).CimClassMethods 14 0.032 (Get-CimClass Win32_NetworkAdapterConfiguration).CimClassMethods > CimClassMethods.txt 15 0.384 Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration -filter "description like '%intel%'" | I… 16 0.095 Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration -Filter "description like '%intel%'" | F… 17 0.074 "SRV-02 " | Get-Member 18 0.016 $var = "SRV-02" 19 0.007 $var 20 0.009 $VAR 21 0.015 $1 = "SRV-02" 22 0.005 $1 23 0.108 Get-Process pwsh 24 0.010 $var = 3948 25 0.060 Get-Process -d $var 26 0.028 Get-Process -Id $var 27 0.020 $var = "3948" 28 0.009 Get-Process -Id $var 29 12.832 $var = pwsh 30 0.017 $var = "pwsh" 31 0.026 Get-Process $var 32 0.004 $var = 3948 33 0.043 $var | gm 34 0.001 $var = "3948" 35 0.036 $var | gm 36 0.014 $computername = 'SRV-02' 37 0.013 $phrase = 'The computer name is $computername' 38 0.007 $phrase 39 0.011 $phrase = "The computer name is $computername" 40 0.001 $phrase 41 0.032 $phrase = "The computer name is $computername`a`a`a" 42 0.001 $phrase 43 0.003 $phrase 44 0.015 $phrase = "The computer name is $computername`a`a`a`a`a`a`a" 45 0.002 $phrase 46 0.014 $phrase = "The computer name is $computername`a" 47 0.001 $phrase 48 0.011 $computers = 'SRV-02','SERVER1','localhost' 49 0.020 $computers 50 0.059 $computers | gm 51 0.005 $computers 52 0.025 $computers[1] 53 0.008 $computers[-1] 54 0.015 $computers[-2] 55 0.008 $computers[-3] 56 0.012 $computers[0].tolower() 57 0.017 $computers[1].replace('SER','CLIENT') 58 0.002 $computers 59 0.016 $computers[1].replace('SERVER','CLIENT') 60 0.002 $computers 61 0.017 $computers[1] = $computers[1].replace('SERVER','CLIENT') 62 0.003 $computers 63 0.038 $computers = $computers | ForEach-Object { $_.ToLower()} 64 0.001 $computers 65 0.015 $processes = Get-Process 66 0.137 $processes.Name 67 0.030 dir 68 0.021 Get-ChildItem ./*.txt -File 69 0.020 $objects = Get-ChildItem ./*.txt -File 70 0.030 $objects.Refresh() 71 0.012 $objects = Get-ChildItem ./*.txt -File 72 0.028 Get-ChildItem ./*.txt -File 73 0.020 echo . >junk.txt 74 0.001 $objects.Refresh() 75 0.042 $objects 76 0.012 dir 77 0.011 $processes = Get-Process 78 0.026 $firstname = "$processes[0].name" 79 0.007 $firstname 80 0.017 $processes[0].name 81 0.035 $processes = Get-Process | where-object {$_.Name} 82 0.171 $processes 83 5.369 $number = Read-Host "Enter a number" 84 0.008 $number 85 0.009 $number = $number * 10 86 0.001 $number 87 3.674 [int]$number = Read-Host "Enter a number" 88 0.001 $number 89 0.001 $number = $number * 10 90 0.001 $number 91 3.061 $number = [int](Read-Host "Enter a number") 92 0.000 $number = $number * 10 93 0.001 $number 94 2.727 $number = [int](Read-Host "Enter a number") 95 0.012 [int]$x = 5 96 0.051 $x = 'ooga' 97 0.042 Remove-Variable $x 98 0.020 Remove-Variable x 99 0.019 Remove-Variable $x 100 0.001 $x = 'ooga' 101 0.006 $x 102 0.007 $x = 5 103 0.018 $ooga = 'hello'; $booga = 'world' 104 0.007 $ooga 105 0.008 $booga 106 0.009 $ooga = 5; $booga = 6 107 0.001 $ooga 108 0.024 $env:computername