Official Microsoft Sample
The repository contains a script and files to complete exercises in the MS Learn module Extend your on-premises file share capacity by using Azure File Sync.
||Folder contains the script create-bad-file.js and three sample data files.|
||Define what to ignore at commit time.|
||Microsoft Open Source Code of Conduct.|
||This README file.|
||The license for the sample.|
||Security statement for sample.|
Use on Windows Server operating system.
On the Windows Server you plan to use with Azure File Sync, download the CAD folder with curl. The steps to use the files in the folder are included in the module's exercise units.
Running the sample
Download this sample CAD file with curl.
curl https://github.com/MicrosoftDocs/mslearn-extend-share-capacity-with-azure-file-sync/blob/master/resources/CADFolder.zip?raw=true -L -o CADFolder.zip
Expand the zip file.
In the File Explorer window, select Compressed Folder Tools, then select Extract all and Extract.
After you set up and register your Windows Server with Azure File Sync, use
create-bad-file.js to create a file that won't sync.
- Go to the CADFolder in both windows.
- Open create-bad-file.js on the left.
- See that a new file named, invalid╘«nameÉ.txt has been created.
- This file won't replicate into the Azure file share.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.