How do I run multiple commands on one line in Powershell?
        Posted  
        
            by 
                David
            
        on Super User
        
        See other posts from Super User
        
            or by David
        
        
        
        Published on 2013-06-26T17:24:22Z
        Indexed on 
            2013/10/22
            21:57 UTC
        
        
        Read the original article
        Hit count: 286
        
In cmd prompt, you can run two commands on one line like so:
ipconfig /release & ipconfig /renew
When I run this command in PowerShell, I get:
Ampersand not allowed. The & operator is reserved for future use
Does PowerShell have an operator that allows me to quickly produce the equivalent of & in cmd prompt? Any method of running two commands in one line will do. I know that I can make a script, but I'm looking for something a little more off the cuff.
© Super User or respective owner