Instead of starting a cmd to start a new powershell instance you can:
start powershell {echo hello}
To prevent immediate exit of new started powershell:
start powershell {echo hello; Read-Host}
More Related Contents:
- Need to extract value of attribute from xml from Command promt [closed]
- How do I pass a local variable to a remote `Invoke-Command`? [duplicate]
- How do I write the value of a single property of a object?
- How can I store output from Format-Table for later use
- How can I use powershell to run through an installer?
- The ‘
- How do I concatenate strings and variables in PowerShell?
- Watch file for changes and run command with powershell
- How to load assemblies in PowerShell?
- Convert a secure string to plain text
- How to exit from ForEach-Object in PowerShell
- Forcing PowerShell errors output in English on localized systems
- Multiple foreground colors in PowerShell in one command
- PowerShell – Decode System.Security.SecureString to readable password
- Convert a string to datetime in PowerShell
- How to quickly change shell folder to match the currently open file
- What does $_ mean in PowerShell?
- How to pass credentials to the Send-MailMessage command for sending emails
- How to get Powershell Invoke-Restmethod to return body of http 500 code response
- How to normalize a path in PowerShell?
- How to create new clone instance of PSObject object
- Arrays and -contains – test for substrings in the elements of an array
- How to create a shortcut using PowerShell
- Try/catch does not seem to have an effect
- How to run an installation in /silent mode with adjusted settings
- PowerShell string interpolation syntax
- Get target of shortcut (.lnk) file with powershell
- PowerShell The term is not recognized as cmdlet function script file or operable program
- Powershell: resolve path that might not exist?
- How to execute a PowerShell script only before a web deploy Publish task in VS 2012?