Skip to Content
Windows Server 2012 Hyper-V Installation and Configuration Guide
book

Windows Server 2012 Hyper-V Installation and Configuration Guide

by Aidan Finn, Patrick Lownds, Michel Luescher, Damian Flynn
March 2013
Beginner content levelBeginner
600 pages
18h 15m
English
Sybex
Content preview from Windows Server 2012 Hyper-V Installation and Configuration Guide

Windows Server 2012 SMB PowerShell

Windows Server 2012 provides a series of PowerShell cmdlets and WMI objects to manage the SMB shares as well as to manage access permissions to those shares. These new PowerShell cmdlets are aimed at both IT professionals and developers alike.

The following PowerShell cmdlets are available for SMB share management:

  • Get-SmbShare
  • New-SmbShare
  • Set-SmbShare
  • Remove-SmbShare

The following PowerShell cmdlets are available for SMB share access permission management:

  • Get-SmbShareAccess
  • Grant-SmbShareAccess
  • Revoke-SmbShareAccess
  • Block-SmbShareAccess
  • Unblock-SmbShareAccess

The SMB cmdlets are packaged up nicely into two modules called SmbShare and SmbWitness. They can be loaded by using the PowerShell command Get-Module ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Exam Ref 70-412: Configuring Advanced Windows Server 2012 R2 Services

Exam Ref 70-412: Configuring Advanced Windows Server 2012 R2 Services

J.C. Mackin, Orin Thomas

Publisher Resources

ISBN: 9781118651438Purchase book