none
Get-SmbConnection is not recognized name of cmdlet RRS feed

  • Question

  • I am running Windows 7 with Powershell 4... Not sure why it is not working... Thoughts?


    Tuesday, August 19, 2014 11:55 AM

Answers

  • By the looks of things you need Windows 8.1 or Server 2012
    • Marked as answer by cfreeman21 Tuesday, August 19, 2014 12:20 PM
    Tuesday, August 19, 2014 12:05 PM

All replies

  • By the looks of things you need Windows 8.1 or Server 2012
    • Marked as answer by cfreeman21 Tuesday, August 19, 2014 12:20 PM
    Tuesday, August 19, 2014 12:05 PM
  • This command is working on other Windows 7 machines but mine is not.
    Tuesday, August 19, 2014 12:06 PM
  • This command is working on other Windows 7 machines but mine is not.

    As noted - this command is only available on Windows 8.1 and later.  It does not work on Windows 7.

    See this compatibility here: http://technet.microsoft.com/en-us/library/jj635713.aspx

    Notice that only W8.1  and WS2012R2 are listed.


    ¯\_(ツ)_/¯

    Tuesday, August 19, 2014 12:15 PM
  • Strange, from what i can find you can access them via remoting but they aren't available through windows 7 as the WMI namespace they target doesn't exist in anything pre Win8.

    http://serverfault.com/questions/436843/how-to-use-new-smbshare-with-powershell-3-0-on-windows-7

    http://windowsitpro.com/powershell/managing-file-shares-windows-powershell

    EDIT: Not necessary - I Missed jrv's reply

    • Edited by Braham20 Tuesday, August 19, 2014 12:27 PM
    Tuesday, August 19, 2014 12:25 PM