About This Page
This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.
Bias Analysis
Bias Types:
⚠️
windows_first
⚠️
missing_linux_example
⚠️
windows_tools
⚠️
powershell_heavy
Summary:
The documentation is heavily biased towards Windows environments. All instructions, prerequisites, and examples are specific to Windows Server, with exclusive use of Windows tools (Server Manager, PowerShell, Windows file paths, netsh, etc.). There are no Linux equivalents or cross-platform guidance, and the documentation assumes the user is operating in a Windows ecosystem throughout.
Recommendations:
- Clearly state at the beginning whether Azure File Sync supports only Windows Server, or clarify platform limitations.
- If Linux support is available or planned, provide equivalent instructions, examples, and tools for Linux environments (e.g., bash scripts, Linux agent installation, Linux proxy configuration).
- If Azure File Sync is Windows-only, explicitly mention this in the prerequisites and introduction to set user expectations.
- Where possible, use cross-platform Azure CLI examples in addition to (or instead of) PowerShell, as Azure CLI is supported on Windows, Linux, and macOS.
- Avoid referencing Windows-specific UI tools (like Server Manager) without alternatives or clear notes for non-Windows users.
- For proxy and configuration steps, provide Linux file path and command equivalents if supported.
Create pull request
Flagged Code Snippets
Register-AzStorageSyncServer -ResourceGroupName "<your-resource-group-name>" -StorageSyncServiceName "<your-storage-sync-service-name>"
Connect-AzAccount
$storageSyncServiceName = "<your-storage-sync-service>"
$resourceGroup = "<your-resource-group>"
Get-AzStorageSyncGroup -ResourceGroupName $resourceGroup -StorageSyncServiceName $storageSyncServiceName | ForEach-Object {
$syncGroup = $_;
Get-AzStorageSyncServerEndpoint -ParentObject $syncGroup | Where-Object { $_.ServerEndpointName -eq $env:ComputerName } | ForEach-Object {
Remove-AzStorageSyncServerEndpoint -InputObject $_
}
}
Get-StorageSyncNetworkLimit # assumes StorageSync.Management.ServerCmdlets.dll is imported
Import-Module "C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll"
Invoke-StorageSyncFileRecall -Path <a-volume-with-server-endpoints-on-it>
$RegisteredServer = Get-AzStorageSyncServer -ResourceGroupName "<your-resource-group-name>" -StorageSyncServiceName "<your-storage-sync-service-name>"
Unregister-AzStorageSyncServer -Force -ResourceGroupName "<your-resource-group-name>" -StorageSyncServiceName "<your-storage-sync-service-name>" -ServerId $RegisteredServer.ServerId
Import-Module "C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll"
New-StorageSyncNetworkLimit -Day Monday, Tuesday, Wednesday, Thursday, Friday -StartHour 9 -EndHour 17 -LimitKbps 10000
Get-StorageSyncNetworkLimit | ForEach-Object { Remove-StorageSyncNetworkLimit -Id $_.Id } # assumes StorageSync.Management.ServerCmdlets.dll is imported