SmbShare - Add support for SMB Compression (CompressData)
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- powershell
研究方向
從 SmbShare 資源開始,閱讀 Set-SmbShare 文件中關於 CompressData 參數的內容。確認該資源目前如何管理共用設定,然後驗證是否可以透過 DSC 控制 CompressData,以及最終的共用設定是否與要求的值相符。
由索引模型根據 Issue 內容生成。
描述
Problem description
Windows Server 2022 supports enabling compression on SMB shares (https://learn.microsoft.com/en-us/windows-server/storage/file-server/smb-compression?tabs=powershell%2Crobocopy%2Cgroup-policy)
This needs to be enabled on SMB shares and would be helpful to control via the SmbShare module.
Verbose logs
N/A
DSC configuration
Configuration SmbShare_CreateShare_Config
{
Import-DscResource -ModuleName ComputerManagementDsc
Node localhost
{
SmbShare 'TempShare'
{
Name = 'Temp'
Path = 'C:\Temp'
CompressData = $true
}
}
}
Suggested solution
This is set via a new parameter in Set-SmbShare. It would be helpful if this could be enabled in DSC
https://learn.microsoft.com/en-us/powershell/module/smbshare/set-smbshare?view=windowsserver2022-ps
Operating system the target node is running
N/A
PowerShell version and build the target node is running
N/A
ComputerManagementDsc version
N/A
- 主要語言
- PowerShell
- 星號
- 339
- 分支
- 80
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
dsccommunity/ComputerManagementDsc 的其他 Issue
-
chore
難度 2/5 1-3 小時 新手友好度 78/100
-
chore
難度 4/5 3-5 天 新手友好度 68/100
-
chore: Add Agentic AI development assets for GitHub Copilot可能已有人在做 @PlagueHO 於 135 天前認領。 未關閉chore
難度 4/5 3-5 天 新手友好度 64/100
-
難度 2/5 1-3 小時 新手友好度 55/100
-
Computer: AD object deletion before domain join issue可能已有人在做 @Daymarvi 於 137 天前認領。 未關閉
難度 4/5 3-5 天 新手友好度 35/100
查看 dsccommunity/ComputerManagementDsc 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 62/100
leanprover-community/lean4game#589 ·
維護者通常 2 天內回覆
-
Bug good first issue
難度 2/5 1-3 小時 新手友好度 72/100
RazorConsole/RazorConsole#447 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
kyma-project/api-gateway#2933 ·
維護者通常 2 天內回覆
-
Dependabot compat-checks fails on every PR可能已有人在做 @dogancanbakir 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
HappyHackingSpace/witness#120 ·
維護者通常 1 天內回覆
-
proxmox_cluster_ha_rules: affinity is ignored for type=node-affinity (negative rules are created as positive)可能已有人在做 @thanos-k 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 75/100
ansible-collections/community.proxmox#556 ·
維護者通常 1 天內回覆