Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: How do you execute an external command or program in PowerShell?
Answer: Use the 'Invoke-Expression' cmdlet or call the program directly.

Example:

Invoke-Expression 'ping google.com'
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook