DRAG DROP
You have a server that runs Windows Server 2012 R2.
You create a new work folder named Share1.
You need to configure Share1 to meet the following requirements:
Ensure that all synchronized copies of Share1 are encrypted.
Ensure that clients synchronize to Share1 every 30 minutes.
Ensure that Share1 inherits the NTFS permissions of the parent folder.
Which cmdlet should you use to achieve each requirement?
To answer, drag the appropriate cmdlets to the correct requirements. 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.
I would argue here that encryption and inherit permissions are done with the same command
set-syncshareNew-SyncDevicePolicy and the Set-SyncDevicePolicy are invalid commands
This is a new folder with no permissions on it in the beginning. I would think that the first one would be new-syncshare and not set-syncshare. The word “ensure” makes one think set would be the better option, however, I think that it would be new
new-syncShare (https://technet.microsoft.com/en-us/library/dn296635.aspx)
set-syncServerSettings (https://technet.microsoft.com/en-us/library/dn296645.aspx)
set-SyncShare (https://technet.microsoft.com/en-us/library/dn296649.aspx)
I ran this syntax successfully in my lab – I only had a shared older on NTFS
New-SyncShare -Name SyncShare -Path C:\SyncShare -InheritParentFolderPermission -RequireEncryption -User DallasUsers -UserFolderName [user]@[domain]
Set-SyncServerSetting -MinimumChangeDetectionMins 30
https://technet.microsoft.com/library/dn296644(v=wps.630).aspx
https://technet.microsoft.com/en-us/library/dn296645.aspx
https://technet.microsoft.com/en-us/library/dn528861.aspx
I think it should be –
New-SyncShare
New-SyncShare
Set-SyncServerSetting
The New-SyncShare cmdlet creates a sync share (which we already have according to the definition). Sync shares are used by Work Folders to store user files and sync them with user PCs and devices.
The question states that Share1 is created as a new work folder. Accordingly, we can modify the settings of an existing sync share by using Set-SyncShare cmdlet.
The Set-SyncShare cmdlet modifies the settings for a sync share.
According to my understanding, original answer is correct.
Set-SyncShare
Set-SyncShareSetting
Set-SyncShare
I do concur
According to what definition? It only tells you a folder named “Share1” has been created. Nothing is said about a sync share already setup for it.
http://blogs.technet.com/b/filecab/archive/2013/07/10/work-folders-test-lab-deployment.aspx
PS C:\> Add-WindowsFeature FS-SyncShareService **for the work folder add in Powershell
PS C:\>New-SyncShare SalesShare –path C:\SalesShare –User Contoso\Sales -RequireEncryption $true –RequirePasswordAutoLock $true ** for the first sync
I am going with
New-SyncShare
Set-SyncShareSetting
Set-SyncShare
New-syncshare is not necessary because it as been created already: “You create a new work folder named Share1.”
I agree with OP:
>Set-SyncShare Share1 -RequireEncryption $true
>Set-SyncServerSetting -MinimumChangeDetectionMins 30
>Set-SyncShare Share1 -KeepParentFolderPermission
I found this to be correct in my test lab. The only difference is that in the last line, you should use -InheritParentFolderPermission. -KeepParentFolderPermission is not a valid parameter.
I follow erdem/defstar.
the text says: you create a new work folder (so there is already a work folder to start with); and you must make sure that this new work folder meets 3 requirements.
new-syncshare is not needed for this; we can use set-syncshare.
whats correct ans??
Set-SyncShare Share
>Set-SyncServerSetting
>Set-SyncShare Share
et-SyncShare Share
>Set-SyncServerSetting
>Set-SyncShare Share
the question here is, do we already have a syncshare? IF we do not then we set up a new one using new-syncshare, if we do have one we edit it using set-syncshare.
1 and 3 are either of these, unsure which one at the minute
2 is set-syncserversettings however.
The fact it says you create a new sync share tells me that maybe we already have a sync share and therefore use set rather than new
I am going with set-syncshare rather than new-syncshare since it says you create a new sync share (suggests we already have one and need to edit it)
It actually says “you create a new FOLDER” so it hasnt been shared yet even though the name is Share1. I will mark this question for review and highlight that their wording just confuses people instead of making them actually think in a solution.
It says WORK folder, which is a sync share for all effects.
https://technet.microsoft.com/en-us/library/dn528861.aspx
You can create sync shares using Windows PowerShell by using the New-SyncShare cmdlet. Below is an example of this method:
Windows PowerShell
New-SyncShare “HR Sync Share” K:\Share-1 –User “HR Sync Share Users”
The example above creates a new sync share named Share01 with the path K:\Share-1, and access granted to the group named HR Sync Share Users
This is how u create work folder, so no need to go “new” we can go “set”
Work folder created but not syncShare so first create new-syncShare then Set-SyncServerSettings and Set-SyncShare
defstar says:
March 14, 2015 at 6:49 am
I agree with OP:
>Set-SyncShare Share1 -RequireEncryption $true
>Set-SyncServerSetting -MinimumChangeDetectionMins 30
>Set-SyncShare Share1 -KeepParentFolderPermissio
Devious Microsoft!! the trick here is that a “Work Folder” is actually a SYNC Share !!! … so.. the question states that the “Share1” Work Folder has already being created (which also means Sync Share “Share1” has been created !!! ) … which means no need to use New-Syncshare
As stated by Kurt:
Set-SyncShare Share1 -RequireEncryption $true
Set-SyncServerSetting -MinimumChangeDetectionMins 30
Set-SyncShare Share1 -KeepParentFolderPermission
I agree
1. Set-SyncShare (-RequireEncryption) https://technet.microsoft.com/itpro/powershell/windows/syncshare/set-syncshare
2. Set-SyncServerSettings (-MinimumChangeDetectionMins) https://technet.microsoft.com/en-us/library/dn296645%28v=wps.630%29.aspx?f=255&MSPPError=-2147217396
3. Set-SyncShare (-InheritParentFolderPermission) https://technet.microsoft.com/itpro/powershell/windows/syncshare/set-syncshare
Requirement: Ensure copies of share1 are encrypted:
Use: Set-SyncShare
Parameter: -RequireEncryption
Requirement: Ensure sync every 30 minutes:
Use: Set-SyncServerSetting
Parameter: -MinimumChangeDetectionMins: sync time (default 5min)
Requirement: Ensure share1 inherits the ntfs permissions of the parent folder.
Use: Set-SyncShare
Parameter: -InheritParentFolderPermission
New-SyncDevicePolicy: does not exist.
Set-SyncDevicePolicy: does not exist.