DRAG DROP
You have a file server named Server1 that runs Windows Server 2016.
You need to create a report that lists all of the sharp permissions assigned to the security principals on Server1.
How should you complete the command? To answer, drag the appropriate cmdlets to the correct targets. Each
cmdlet may be used once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content.
Select and Place:
Explanation:
References: https://technet.microsoft.com/en-us/library/jj635704(v=wps.630).aspx https://technet.microsoft.com/en-us/library/jj635708(v=wps.630).aspx
Get-Smbshare | Get-SmbShareAccess
17
0
Correct one:
Get-SMBShare | Get-SMBShareAccess
6
0
Tricky formulated question: “You need to create a report that lists all of the sharp permissions assigned to the security principals on Server1”. What does this exactly mean? I’m a bit puzzled by this.
Get-SmbShare retrieves the Server Message Block (SMB) shares on the computer.
Get-SmbClientConfiguration retrieves the SMB client configuration.
Do these two options make more sense then the other options?
0
0
Get-SmbShare | Get-SmbShareAccess
4
0
probably “sharp” should read “share”….
2
0
100% Get-SMBShare | Get-SMBShareAccess
PS C:\Windows\system32> get-smbshare | Get-SmbClientConfiguration
Get-SmbClientConfiguration : The input object cannot be bound to any parameters for the command either because the
command does not take pipeline input or the input and its properties do not match any of the parameters that take
pipeline input.
At line:1 char:16
+ get-smbshare | Get-SmbClientConfiguration
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (MSFT_SmbShare (…copeName = “*”):PSObject) [Get-SmbClientConfiguratio
n], ParameterBindingException
+ FullyQualifiedErrorId : InputObjectNotBound,Get-SmbClientConfiguration
Get-SmbClientConfiguration : The input object cannot be bound to any parameters for the command either because the
command does not take pipeline input or the input and its properties do not match any of the parameters that take
pipeline input.
At line:1 char:16
+ get-smbshare | Get-SmbClientConfiguration
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (MSFT_SmbShare (…copeName = “*”):PSObject) [Get-SmbClientConfiguratio
n], ParameterBindingException
+ FullyQualifiedErrorId : InputObjectNotBound,Get-SmbClientConfiguration
VS
PS C:\Windows\system32> get-smbshare | Get-SmbShareAccess
Name ScopeName AccountName AccessControlType AccessRight
—- ——— ———– —————– ———–
C$ * BUILTIN\Administrators Allow Full
C$ * BUILTIN\Backup Operators Allow Full
C$ * NT AUTHORITY\INTERACTIVE Allow Full
Folder1 * Everyone Allow Read
Files * Everyone Allow Read
ADMIN$ * BUILTIN\Administrators Allow Full
ADMIN$ * BUILTIN\Backup Operators Allow Full
3
0