The code for notes.txt is: Get-ChildItem ..\10 | Copy-Item -Destination .\copied -PassThru Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration -Filter "description like '%intel%'" | Format-List (Get-CimClass Win32_NetworkAdapterConfiguration).CimClassMethods Get-CimInstance -ClassName Win32_NetworkAdapterConfiguration -filter "description like '%intel%'" | Invoke-CimMethod -MethodName EnableDHCP