Blog Post

Quick Command Shells–#SQLNewBlogger

,

Another post for me that is simple and hopefully serves as an example for people trying to get blogging as #SQLNewBloggers.

This isn’t a SQL post, per se, but since I’ve been using lots of PowerShell for SQL stuff at times, this is a handy trick I picked up.

I was reading the announcement on the Windows Insider build 14971, which will have a few new things. One of these is the default command shell won’t be cmd.exe any longer. It will be PowerShell.

Buried in the announcement was a tip I’d never heard. I don’t have any real cmd additions to my Windows machines, so to get to a particular folder in a command shell, I usually do lots of “cd”s or I right click in the address bar, and copy the path. Thankfully Windows 10 lets me paste this easily into a command prompt.

2016-11-21 16_21_20-EndtoEndEncryptionwithSQL2016

There’s another way.

I can click the address bar and type “cmd”.

2016-11-21 16_21_47-EndtoEndEncryptionwithSQL2016

When I do this, I get a new command prompt at that location, as shown here. I do install ConEmu on my machines, so that’s where the prompt opens.

2016-11-21 16_21_55-cmd

That’s super handy.

We’ll see how may workflow changes when PoSh is the default shell, but I’m looking forward to it.

#SQLNewBlogger

The quick tips that help me work more efficiently are what I’m writing in these posts. Here’s one that took my 5 minutes, and you can write this kind of post as well. Show off what you know, do, and have learned.

Filed under: Blog Tagged: SQLNewBlogger, syndicated, windows

Rate

You rated this post out of 5. Change rating

Share

Share

Rate

You rated this post out of 5. Change rating