1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
| $collector = Collect-SystemKnowledge -CollectionID "COLLECTION001" ` -KnowledgeTypes @("Documentation", "Procedure", "Troubleshooting", "BestPractice") ` -CollectionMode "Manual" ` -CollectionConfig @{ "Documentation" = @{ "Sources" = @("Wiki", "Document", "Guide") "Formats" = @("Markdown", "HTML", "PDF") "Filter" = "Status = Active" "Retention" = 7 } "Procedure" = @{ "Sources" = @("Process", "Workflow", "Checklist") "Formats" = @("Markdown", "HTML", "PDF") "Filter" = "Status = Active" "Retention" = 7 } "Troubleshooting" = @{ "Sources" = @("Issue", "Solution", "Resolution") "Formats" = @("Markdown", "HTML", "PDF") "Filter" = "Status = Active" "Retention" = 7 } "BestPractice" = @{ "Sources" = @("Guideline", "Standard", "Policy") "Formats" = @("Markdown", "HTML", "PDF") "Filter" = "Status = Active" "Retention" = 7 } } ` -LogPath "C:\Logs\knowledge_collection.json"
$organizer = Organize-SystemKnowledge -OrganizationID "ORGANIZATION001" ` -OrganizationTypes @("Category", "Tag", "Hierarchy") ` -OrganizationMode "Category" ` -OrganizationConfig @{ "Category" = @{ "Methods" = @("Topic", "Domain", "Function") "Structure" = "Tree" "Depth" = 3 "Report" = $true } "Tag" = @{ "Methods" = @("Keyword", "Label", "Attribute") "Structure" = "Flat" "Count" = 10 "Report" = $true } "Hierarchy" = @{ "Methods" = @("Level", "Parent", "Child") "Structure" = "Tree" "Depth" = 3 "Report" = $true } } ` -ReportPath "C:\Reports\knowledge_organization.json"
$sharer = Share-SystemKnowledge -SharingID "SHARING001" ` -SharingTypes @("Documentation", "Procedure", "Troubleshooting", "BestPractice") ` -SharingMode "Public" ` -SharingConfig @{ "Documentation" = @{ "Access" = @("Read", "Write", "Admin") "Audit" = $true "Version" = $true "Report" = $true } "Procedure" = @{ "Access" = @("Read", "Write", "Admin") "Audit" = $true "Version" = $true "Report" = $true } "Troubleshooting" = @{ "Access" = @("Read", "Write", "Admin") "Audit" = $true "Version" = $true "Report" = $true } "BestPractice" = @{ "Access" = @("Read", "Write", "Admin") "Audit" = $true "Version" = $true "Report" = $true } } ` -ReportPath "C:\Reports\knowledge_sharing.json"
|