Question
How to find all .jpg files after a start date ?

To add statements to the function, type each statement on a separate line, or use a semi-colon ; to separate the statements.

For example, the following function finds all .jpg files in the current user's directories that were changed after the start date.

function Get-NewPix
{ $start = Get-Date -Month 1 -Day 1 -Year 2010$allpix = Get-ChildItem -Path $env:UserProfile\*.jpg -Recurse$allpix | Where-Object {$_.LastWriteTime -gt$Start}
}

Question
How to find all .jpg files after a start date ?
?

Question
How to find all .jpg files after a start date ?

To add statements to the function, type each statement on a separate line, or use a semi-colon ; to separate the statements.

For example, the following function finds all .jpg files in the current user's directories that were changed after the start date.

function Get-NewPix
{ $start = Get-Date -Month 1 -Day 1 -Year 2010$allpix = Get-ChildItem -Path $env:UserProfile\*.jpg -Recurse$allpix | Where-Object {$_.LastWriteTime -gt$Start}
}
If you want to change selection, open document below and click on "Move attachment"

or example, the following function starts PowerShell with the Run as Administrator option. function Start-PSAdmin {Start-Process PowerShell -Verb RunAs} To use the function, type: Start-PSAdmin <span>To add statements to the function, type each statement on a separate line, or use a semi-colon ; to separate the statements. For example, the following function finds all .jpg files in the current user's directories that were changed after the start date. function Get-NewPix { $start = Get-Date -Month 1 -Day 1 -Year 2010$allpix = Get-ChildItem -Path $env:UserProfile\*.jpg -Recurse$allpix | Where-Object {$_.LastWriteTime -gt$Start} } You can create a toolbox of useful small functions. Add these functions to your PowerShell profile, as described in about_Profiles and later in this topic. Function Names You can assign

#### Summary

status measured difficulty not learned 37% [default] 0

No repetitions