I installed Windows Management Framework 3.0 on a Windows 7 machine and tried to use the New-SMBShare cmdlet but when I ran get-command new-smb*, no cmdlets were found. How can I use this new cmdlet in Windows 7 along with any other new cmdlets?
Powershell – How to use new-smbshare with Powershell 3.0 on Windows 7
powershellwindows 7
Related Topic
- PowerShell 3.0 x64 bit broken after installing KB2506143
- Powershell – Specify Powershell to run on .NET 3.5 after WMF 3.0 install
- Powershell – Installation of Windows Management Framework 4.0 (Powershell 4.0) on Server 2012 failed
- Windows – use the GroupPolicy PowerShell module on non-AD standalone servers
- Powershell – Is it possible to get a windows-version from a powershell command on Windows Server 2016 Nano
- Windows – How to search Powershell command history from previous sessions
- IIS – Error Using IISAdministration PowerShell Cmdlets on Windows 7
Best Answer
The SMB commands (and several other modules) are specific to Windows 8 and Server 2012. You can use them from Windows 7 via remoting, but they do not target Windows 7 or Server 2008 R2.
The SMB commands target a new WMI namespace (ROOT/Microsoft/Windows/SMB) that does not exist on earlier versions of the OS.