1. Share and access a folder using Windows PowerShell.
2. Retrieve, set, and verify permission on the shared folder.
3. Remove a folder share using Windows PowerShell.
Task 1. Share and access a folder using Windows PowerShell
To Create and share a folder using Windows PowerShell, you need to perform the following steps:
1. Press the Windows+C keys. the Charms bar is displayed.
2. Click Search. the Search charm is displayed.
3. Type powerSholl, and then press the Enter key. the Administrator: Windows PowerSholl window is displayed.
4. Type the New-SmdShare-Name Share1-path E:\Labfiles command, and then press the Enter key. you will notice that
the name and path of the shared folder are displayed.
5. Ensure that the Start screen is displayed.
6. Double click the share1 folder in the right pane to access the shared folder.
7. Copy the Mod10 folder to the E:\Drive.
8. Close all the open windows.
Task 2. Retrieve, set, and verify permission on the shared folder
To retrieve,set, and verify permission, you need to perform the following tasks:
1. Type the Get-SmbShareAccess Name Share1 command in the Administrator: Windows PowerShell window, and then press the Enter
key. you will notice the permissions for everyone account are displayed.
2. Type the Grant-SmbShareAccess Name Share1 AccountName April@Adatum.com AccessRight Full command, and then press the Enter key
you will beprompted to confim the operation.
3. Press the Y button, and then press the Enter key. You will notice that the set parmissions for everyonee and April accounts are displayed.
4. Press the Windows key. the Start screen is displayed.
5. Double click the Share1 folder in the right pane to access the shared folder.
6. Right-click in the empty space in the right-pane, and then select the New folder option. the Destination Access Denied dialog box is Displayed.
7. Click the Cancel button.
8. Close all the open windows.
9. Press the Windows key. the Start screen is displayed.
10. Click the Administartor tile.
11. Select the Sign out option. After few moments, the lock screen is displayrd.
12. Press the space bar.
13. Click the Other user icon.
14. Type April in the password text box.
15. Type Pa$$w0rd in the password text box.
16. Press the Enter key. After few moment, the Strat screen is displayed.
17. Double click the Share1 folder in the right pane to access the shared folder.
18. Right-click in the empty space in the right-pane, and then select the new folder option. the new folder is created.
19. Press the Enter key.
20. Close the Share1 window.
Task 3. Remove a folder share using Windows PowerShell
To Remove a folder share using Windows PowerShell, you need to perform the following steps:
1. Type the Remove-SmbShare Share1 command in the powerShell window. you will be prompted to confirm the operation.
2. Press the Y key, and then press the Enter key.
3. Open the Start screen.
4. Type the exit command.
5. Press the Enter key.
2. Retrieve, set, and verify permission on the shared folder.
3. Remove a folder share using Windows PowerShell.
Task 1. Share and access a folder using Windows PowerShell
To Create and share a folder using Windows PowerShell, you need to perform the following steps:
1. Press the Windows+C keys. the Charms bar is displayed.
2. Click Search. the Search charm is displayed.
3. Type powerSholl, and then press the Enter key. the Administrator: Windows PowerSholl window is displayed.
4. Type the New-SmdShare-Name Share1-path E:\Labfiles command, and then press the Enter key. you will notice that
the name and path of the shared folder are displayed.
5. Ensure that the Start screen is displayed.
6. Double click the share1 folder in the right pane to access the shared folder.
7. Copy the Mod10 folder to the E:\Drive.
8. Close all the open windows.
Task 2. Retrieve, set, and verify permission on the shared folder
To retrieve,set, and verify permission, you need to perform the following tasks:
1. Type the Get-SmbShareAccess Name Share1 command in the Administrator: Windows PowerShell window, and then press the Enter
key. you will notice the permissions for everyone account are displayed.
2. Type the Grant-SmbShareAccess Name Share1 AccountName April@Adatum.com AccessRight Full command, and then press the Enter key
you will beprompted to confim the operation.
3. Press the Y button, and then press the Enter key. You will notice that the set parmissions for everyonee and April accounts are displayed.
4. Press the Windows key. the Start screen is displayed.
5. Double click the Share1 folder in the right pane to access the shared folder.
6. Right-click in the empty space in the right-pane, and then select the New folder option. the Destination Access Denied dialog box is Displayed.
7. Click the Cancel button.
8. Close all the open windows.
9. Press the Windows key. the Start screen is displayed.
10. Click the Administartor tile.
11. Select the Sign out option. After few moments, the lock screen is displayrd.
12. Press the space bar.
13. Click the Other user icon.
14. Type April in the password text box.
15. Type Pa$$w0rd in the password text box.
16. Press the Enter key. After few moment, the Strat screen is displayed.
17. Double click the Share1 folder in the right pane to access the shared folder.
18. Right-click in the empty space in the right-pane, and then select the new folder option. the new folder is created.
19. Press the Enter key.
20. Close the Share1 window.
Task 3. Remove a folder share using Windows PowerShell
To Remove a folder share using Windows PowerShell, you need to perform the following steps:
1. Type the Remove-SmbShare Share1 command in the powerShell window. you will be prompted to confirm the operation.
2. Press the Y key, and then press the Enter key.
3. Open the Start screen.
4. Type the exit command.
5. Press the Enter key.
No comments:
Post a Comment