Accessing SMB shares
In the recipe Creating and securing SMB shares, you set up the shared files on the FS1
server. In this recipe, you access and use the shared folders.
Getting ready
This recipe uses two servers—on one (FS1
) you previously shared a few folders. In this recipe, you also utilize those shared files from server DC1
. As with all recipes in this book, feel free to change the servers and folders being shared and used. Ensure you have a C:\Foo
folder on FS1
created and populated with a few test files.
This recipe also uses a file on the C:\Foo
folder on FS1
—Marsinstaller.exe
. This executable is created using the Creating an Azure backup recipe in Chapter 5, Managing Server Backup chapter. Feel free to use a different file and update step 8 appropriately.
How to do it...
- Examine the SMB client's configuration:
Get-SmbClientConfiguration
- You will require SMB signing from the client. You must run this command from an elevated console on the client computer:
Set-SmbClientConfiguration `
...