PrepAway - Latest Free Exam Questions & Answers

Which cmdlet should you use to achieve each requirement?

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.

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:

I would argue here that encryption and inherit permissions are done with the same command
set-syncshare

New-SyncDevicePolicy and the Set-SyncDevicePolicy are invalid commands

24 Comments on “Which cmdlet should you use to achieve each requirement?

  1. Suzie says:

    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




    0



    0
  2. bobsmith says:

    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




    0



    0
  3. Erdem says:

    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




    0



    0
  4. defstar says:

    I agree with OP:

    >Set-SyncShare Share1 -RequireEncryption $true

    >Set-SyncServerSetting -MinimumChangeDetectionMins 30

    >Set-SyncShare Share1 -KeepParentFolderPermission




    0



    0
    1. clamshell says:

      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.




      0



      0
  5. evdm says:

    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.




    0



    0
  6. Joe says:

    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




    0



    0
      1. lucasdrums says:

        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.




        0



        0
  7. MadMilkman says:

    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”




    0



    0
  8. kurt says:

    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




    0



    0
  9. Joebotics says:

    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




    0



    0
  10. User says:

    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.




    0



    0

Leave a Reply