Powershell newbie: How do I run this basic Get-SmbConnection command

mxmaniac

Member
Dec 8, 2013
29
0
0
So I've read multiple tutorials and done a bunch of googling before asking this, but I seem to be missing an obvious step that I can't find.

I installed powershell 3.0 and simply want to use the following command
Get-SmbConnection
But I get an error that it is unrecognized.

Its my understanding this is a standard windows powershell command
https://technet.microsoft.com/en-us/\library/jj635726(v=wps.630).aspx

I'm pretty sure I need to either import or install this module or cmdlet or something, but I simply can't seem to find what step I'm missing to make this work.
 

mxmaniac

Member
Dec 8, 2013
29
0
0
Nevermind. I finally got it to work, just had to right click and run as admin. Hadn't seen this requirement mentioned in any of the tutorials I read.