Skip to content

Instantly share code, notes, and snippets.

@timschumi
Created March 27, 2022 15:12
Show Gist options
  • Save timschumi/d8995fa5e586b4f375f098433ac0fe73 to your computer and use it in GitHub Desktop.
Save timschumi/d8995fa5e586b4f375f098433ac0fe73 to your computer and use it in GitHub Desktop.
Get-ChildItem -Exclude *.ps1 | Foreach-Object {
"Printing: " + $_.FullName
Start-Process $_.FullName -Verb Print -Wait
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment