From ca6889360c5acda27038d77ccb7d1bf466fccefd Mon Sep 17 00:00:00 2001 From: Tim Carman Date: Thu, 9 Oct 2025 07:43:32 +1100 Subject: [PATCH 1/9] Initial commit --- .github/ISSUE_TEMPLATE/bug_report.yml | 98 ++++++++++++ .github/ISSUE_TEMPLATE/change_request.yml | 34 ++++ .github/ISSUE_TEMPLATE/config.yml | 1 + .github/PULL_REQUEST_TEMPLATE.md | 34 ++++ .github/workflows/PSScriptAnalyzer.yml | 17 ++ .../workflows/PSScriptAnalyzerSettings.psd1 | 8 + .github/workflows/Release.yml | 53 +++++++ .vscode/settings.json | 28 ++++ .../AsBuiltReport.System.Resources.json | 21 +++ .../AsBuiltReport.System.Resources.psd1 | 133 ++++++++++++++++ .../AsBuiltReport.System.Resources.psm1 | 14 ++ .../Invoke-AsBuiltReport.System.Resources.ps1 | 62 ++++++++ CHANGELOG.md | 18 +++ README.md | 148 +++++++++++++++++- README.md.bak | 1 + 15 files changed, 669 insertions(+), 1 deletion(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/change_request.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/PULL_REQUEST_TEMPLATE.md create mode 100644 .github/workflows/PSScriptAnalyzer.yml create mode 100644 .github/workflows/PSScriptAnalyzerSettings.psd1 create mode 100644 .github/workflows/Release.yml create mode 100644 .vscode/settings.json create mode 100644 AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.json create mode 100644 AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.psd1 create mode 100644 AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.psm1 create mode 100644 AsBuiltReport.System.Resources/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 create mode 100644 CHANGELOG.md create mode 100644 README.md.bak diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..33fadbd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,98 @@ +name: Bug Report +description: File a bug report +labels: ["bug"] +assignees: +body: + - type: textarea + id: bug-description + attributes: + label: Bug description + description: >- + Please provide a clear and concise description of the bug. + validations: + required: true + - type: input + id: command-line-input + attributes: + label: Command-line input + description: >- + Please provide the command line input you are using to run AsBuiltReport. Please ensure that you obscure any sensitive information. + placeholder: New-AsBuiltReport -Report System.Resources -Target xxxxxxx -Format Word,HTML -OutputFolderPath .\Documents\ -AsBuiltConfigFilePath .\AsBuiltReport\AsBuiltReport.json -ReportConfigFilePath .\AsBuiltReport\AsBuiltReport.System.Resources.json -EnableHealthCheck -Verbose + validations: + required: true + - type: textarea + id: steps-to-reproduce + attributes: + label: Steps to reproduce + description: >- + Please provide a detailed list of steps to reproduce the bug. + placeholder: |- + 1. .... + 2. .... + 3. .... + validations: + required: true + - type: textarea + id: expected-behaviour + attributes: + label: Expected behaviour + description: >- + Please provide a clear and concise description of what you expected to happen. + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: >- + Please attach any screenshots to help explain the problem. Please ensure that you obscure any sensitive information. + placeholder: |- + Drag and drop screenshots here. + - type: textarea + id: operating-system + attributes: + label: Operating System + description: Please provide information about the operating system are you using. + placeholder: macOS Big Sur, Windows 10, Ubuntu 20.04 LTS + validations: + required: true + - type: textarea + id: powershell-version + attributes: + label: PowerShell Version + description: Please provide information about the PowerShell version you are using. Please provide the output from the following PowerShell command `$PSVersionTable`. + placeholder: $PSVersionTable + validations: + required: true + - type: textarea + id: powershell-modules + attributes: + label: PowerShell Modules + description: Please provide information about the PowerShell modules are you using. Please provide the output from the following PowerShell command `Get-Module -ListAvailable @("AsBuiltReport.Core";"AsBuiltReport.System.Resources";"PScribo") | Select Name, Version` + placeholder: Get-Module -ListAvailable @("AsBuiltReport.Core";"AsBuiltReport.System.Resources";"PScribo") | Select Name, Version + validations: + required: true + - type: textarea + id: additional-context + attributes: + label: Additional Context + description: This field is optional. You may provide additional context for the bug you wish to report. You may wish to include links to any related [issues](https://github.com/AsBuiltReport/AsBuiltReport.System.Resources/issues) or other relevant information. + - type: checkboxes + id: checklist + attributes: + label: Before submitting + description: >- + Please ensure your bug report fulfills all of the following requirements. + If you are unsure of what a specific requirement means, please follow the links to learn about it and understand why it is necessary before submitting. + options: + - label: >- + I have read and followed the [bug reporting guidelines](https://www.asbuiltreport.com/about/contributing/#reporting-issues-and-bugs). + required: true + - label: >- + I have read [the documentation](https://www.asbuiltreport.com/user-guide/new-asbuiltconfig), + and referred to the [known issues](https://www.asbuiltreport.com/user-guide/known-issues/) before submitting this bug report. + required: true + - label: >- + I have checked for previously opened & closed [issues](https://github.com/AsBuiltReport/AsBuiltReport.System.Resources/issues) before submitting this bug report. + required: true + diff --git a/.github/ISSUE_TEMPLATE/change_request.yml b/.github/ISSUE_TEMPLATE/change_request.yml new file mode 100644 index 0000000..3dea7b8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/change_request.yml @@ -0,0 +1,34 @@ +name: Change Request +description: Request a new change or an improvement +labels: ["change request"] +assignees: +body: + - type: textarea + id: description + attributes: + label: Description + description: >- + Please provide a detailed description of your idea so that the project maintainers and contributors can fully understand what change, feature, or improvement you are proposing. + validations: + required: true + - type: textarea + id: additional-context + attributes: + label: Additional Context + description: This field is optional. You may provide additional context for the idea you wish to propose. You may wish to include links to any related [issues](https://github.com/AsBuiltReport/AsBuiltReport.System.Resources/issues) or other relevant information. + - type: checkboxes + id: checklist + attributes: + label: Before submitting + description: >- + Please ensure your change request fulfills all of the following requirements. + If you are unsure of what a specific requirement means, please follow the links to learn about it and understand why it is necessary before submitting. + options: + - label: >- + I have read [the documentation](https://www.asbuiltreport.com/user-guide/new-asbuiltconfig), + and referred to the [known issues](https://www.asbuiltreport.com/user-guide/known-issues/) before submitting this change request. + required: true + - label: >- + I have checked for previously opened & closed [issues](https://github.com/AsBuiltReport/AsBuiltReport.System.Resources/issues) before submitting this change request. + required: true + diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..ec4bb38 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false \ No newline at end of file diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..cde5958 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,34 @@ + + +## Description + + +## Related Issue + + + + + +## Motivation and Context + + +## How Has This Been Tested? + + + + +## Screenshots (if appropriate): + +## Types of changes + +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to change) + +## Checklist: + + +- [ ] My code follows the code style of this project. +- [ ] My change requires a change to the documentation. +- [ ] I have updated the documentation accordingly. +- [ ] I have read the [**CONTRIBUTING**](https://www.asbuiltreport.com/dev-guide/contributing/) document. diff --git a/.github/workflows/PSScriptAnalyzer.yml b/.github/workflows/PSScriptAnalyzer.yml new file mode 100644 index 0000000..a73694f --- /dev/null +++ b/.github/workflows/PSScriptAnalyzer.yml @@ -0,0 +1,17 @@ +name: PSScriptAnalyzer +on: [push, pull_request] +jobs: + lint: + name: Run PSScriptAnalyzer + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - name: lint + uses: devblackops/github-action-psscriptanalyzer@master + with: + sendComment: true + failOnErrors: true + failOnWarnings: false + failOnInfos: false + repoToken: ${{ secrets.GITHUB_TOKEN }} + settingsPath: .github/workflows/PSScriptAnalyzerSettings.psd1 \ No newline at end of file diff --git a/.github/workflows/PSScriptAnalyzerSettings.psd1 b/.github/workflows/PSScriptAnalyzerSettings.psd1 new file mode 100644 index 0000000..c053761 --- /dev/null +++ b/.github/workflows/PSScriptAnalyzerSettings.psd1 @@ -0,0 +1,8 @@ +@{ + ExcludeRules = @( + 'PSUseToExportFieldsInManifest', + 'PSReviewUnusedParameter', + 'PSUseDeclaredVarsMoreThanAssignments', + 'PSAvoidGlobalVars' + ) +} \ No newline at end of file diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml new file mode 100644 index 0000000..69f2916 --- /dev/null +++ b/.github/workflows/Release.yml @@ -0,0 +1,53 @@ +name: Publish PowerShell Module + +on: + release: + types: [published] + +jobs: + publish-to-psgallery: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - name: Set PSRepository to Trusted for PowerShell Gallery + shell: pwsh + run: | + Set-PSRepository -Name PSGallery -InstallationPolicy Trusted + - name: Install AsBuiltReport.Core module + shell: pwsh + run: | + Install-Module -Name AsBuiltReport.Core -Repository PSGallery -Force + - name: Test Module Manifest + shell: pwsh + run: | + Test-ModuleManifest .\AsBuiltReport.System.Resources.psd1 + - name: Publish module to PowerShell Gallery + shell: pwsh + run: | + Publish-Module -Path ./ -NuGetApiKey ${{ secrets.PSGALLERY_API_KEY }} -Verbose + tweet: + needs: publish-to-psgallery + runs-on: ubuntu-latest + steps: + - uses: Eomm/why-don-t-you-tweet@v2 + # We don't want to tweet if the repository is not a public one + if: ${{ !github.event.repository.private }} + with: + # GitHub event payload + # https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release + tweet-message: "[New Release] ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}! Check out what's new! ${{ github.event.release.html_url }} #System #Resources #AsBuiltReport #PowerShell" + env: + TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }} + TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }} + TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }} + TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} + bsky-post: + needs: publish-to-psgallery + runs-on: ubuntu-latest + steps: + - uses: zentered/bluesky-post-action@v0.2.0 + with: + post: "[New Release] ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}! Check out what's new! ${{ github.event.release.html_url }} #System #Resources #AsBuiltReport #PowerShell" + env: + BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }} + BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..b815e35 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,28 @@ +{ + "powershell.codeFormatting.preset": "Custom", + "powershell.codeFormatting.useCorrectCasing": true, + "powershell.codeFormatting.autoCorrectAliases": true, + "powershell.codeFormatting.whitespaceBeforeOpenBrace": true, + "powershell.codeFormatting.whitespaceBeforeOpenParen": true, + "powershell.codeFormatting.whitespaceAroundOperator": true, + "powershell.codeFormatting.whitespaceAfterSeparator": true, + "powershell.codeFormatting.addWhitespaceAroundPipe": true, + "powershell.codeFormatting.ignoreOneLineBlock": true, + "powershell.codeFormatting.newLineAfterCloseBrace": false, + "powershell.codeFormatting.newLineAfterOpenBrace": true, + "powershell.codeFormatting.openBraceOnSameLine": true, + "powershell.codeFormatting.alignPropertyValuePairs": false, + "powershell.codeFolding.enable": true, + "powershell.scriptAnalysis.enable": true, + "powershell.scriptAnalysis.settingsPath": ".github/workflows/PSScriptAnalyzerSettings.psd1", + "editor.tabSize": 4, + "editor.insertSpaces": true, + "editor.detectIndentation": false, + "editor.rulers": [ + 115 + ], + "files.trimTrailingWhitespace": true, + "githubPullRequests.ignoredPullRequestBranches": [ + "dev" + ] +} \ No newline at end of file diff --git a/AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.json b/AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.json new file mode 100644 index 0000000..7286e83 --- /dev/null +++ b/AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.json @@ -0,0 +1,21 @@ +{ + "Report": { + "Name": "System Resources As Built Report", + "Version": "1.0", + "Status": "Released", + "ShowCoverPageImage": true, + "ShowTableOfContents": true, + "ShowHeaderFooter": true, + "ShowTableCaptions": true + }, + "Options": { + + }, + "InfoLevel": { + "_comment_": "Please refer to the AsBuiltReport project contributing guide for information about how to define InfoLevels.", + "_comment_": "0 = Disabled, 1 = Enabled / Summary, 2 = Adv Summary, 3 = Detailed, 4 = Adv Detailed, 5 = Comprehensive" + }, + "HealthCheck": { + + } +} diff --git a/AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.psd1 b/AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.psd1 new file mode 100644 index 0000000..24dc45e --- /dev/null +++ b/AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.psd1 @@ -0,0 +1,133 @@ +# +# Module manifest for module 'AsBuiltReport.System.Resources' +# +# Generated by: Jonathan Colon +# +# Generated on: 9/10/2025 +# + +@{ + +# Script module or binary module file associated with this manifest. +RootModule = 'AsBuiltReport.System.Resources.psm1' + +# Version number of this module. +ModuleVersion = '0.1.0' + +# Supported PSEditions +# CompatiblePSEditions = @() + +# ID used to uniquely identify this module +GUID = '77e4e108-1689-447b-b40c-457b254ee982' + +# Author of this module +Author = 'Jonathan Colon' + +# Company or vendor of this module +CompanyName = 'Unknown' + +# Copyright statement for this module +Copyright = '(c) Jonathan Colon. All rights reserved.' + +# Description of the functionality provided by this module +Description = 'A PowerShell module to generate an as built report on the configuration of System Resources.' + +# Minimum version of the PowerShell engine required by this module +PowerShellVersion = '5.1' + +# Name of the PowerShell host required by this module +# PowerShellHostName = '' + +# Minimum version of the PowerShell host required by this module +# PowerShellHostVersion = '' + +# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only. +# DotNetFrameworkVersion = '' + +# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. +# ClrVersion = '' + +# Processor architecture (None, X86, Amd64) required by this module +# ProcessorArchitecture = '' + +# Modules that must be imported into the global environment prior to importing this module +# RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +# RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module. +# ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +# TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +# FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess +# NestedModules = @() + +# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. +FunctionsToExport = '*' + +# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. +AliasesToExport = '*' + +# DSC resources to export from this module +# DscResourcesToExport = @() + +# List of all modules packaged with this module +# ModuleList = @() + +# List of all files packaged with this module +# FileList = @() + +# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. +PrivateData = @{ + + PSData = @{ + + # Tags applied to this module. These help with module discovery in online galleries. + # Tags = @() + + # A URL to the license for this module. + # LicenseUri = '' + + # A URL to the main website for this project. + # ProjectUri = '' + + # A URL to an icon representing this module. + # IconUri = '' + + # ReleaseNotes of this module + # ReleaseNotes = '' + + # Prerelease string of this module + # Prerelease = '' + + # Flag to indicate whether the module requires explicit user acceptance for install/update/save + # RequireLicenseAcceptance = $false + + # External dependent modules of this module + # ExternalModuleDependencies = @() + + } # End of PSData hashtable + +} # End of PrivateData hashtable + +# HelpInfo URI of this module +# HelpInfoURI = '' + +# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. +# DefaultCommandPrefix = '' + +} + + diff --git a/AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.psm1 b/AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.psm1 new file mode 100644 index 0000000..e22b0dc --- /dev/null +++ b/AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.psm1 @@ -0,0 +1,14 @@ +# Get public and private function definition files and dot source them +$Public = @(Get-ChildItem -Path $PSScriptRoot\Src\Public\*.ps1 -ErrorAction SilentlyContinue) +$Private = @(Get-ChildItem -Path $PSScriptRoot\Src\Private\*.ps1 -ErrorAction SilentlyContinue) + +foreach ($Module in @($Public + $Private)) { + try { + . $Module.FullName + } catch { + Write-Error -Message "Failed to import function $($Module.FullName): $_" + } +} + +Export-ModuleMember -Function $Public.BaseName +Export-ModuleMember -Function $Private.BaseName \ No newline at end of file diff --git a/AsBuiltReport.System.Resources/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 b/AsBuiltReport.System.Resources/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 new file mode 100644 index 0000000..818307d --- /dev/null +++ b/AsBuiltReport.System.Resources/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 @@ -0,0 +1,62 @@ +function Invoke-AsBuiltReport.System.Resources { + <# + .SYNOPSIS + PowerShell script to document the configuration of System Resources in Word/HTML/Text formats + .DESCRIPTION + Documents the configuration of System Resources in Word/HTML/Text formats using PScribo. + .NOTES + Version: 0.1.0 + Author: Jonathan Colon + Twitter: + Github: + Credits: Iain Brighton (@iainbrighton) - PScribo module + + .LINK + https://github.com/AsBuiltReport/AsBuiltReport.System.Resources + #> + + # Do not remove or add to these parameters + param ( + [String[]] $Target, + [PSCredential] $Credential + ) + + Write-PScriboMessage -Plugin "Module" -Message "Please refer to https://www.asbuiltreport.com for more detailed information about this project." + Write-PScriboMessage -Plugin "Module" -Message "Do not forget to update your report configuration file after each new version release: https://www.asbuiltreport.com/user-guide/new-asbuiltreportconfig/" + Write-PScriboMessage -Plugin "Module" -Message "Documentation: https://github.com/AsBuiltReport/AsBuiltReport.System.Resources" + Write-PScriboMessage -Plugin "Module" -Message "Issues or bug reporting: https://github.com/AsBuiltReport/AsBuiltReport.System.Resources/issues" + + # Check the current AsBuiltReport.System.Resources module + Try { + $InstalledVersion = Get-Module -ListAvailable -Name AsBuiltReport.System.Resources -ErrorAction SilentlyContinue | Sort-Object -Property Version -Descending | Select-Object -First 1 -ExpandProperty Version + + if ($InstalledVersion) { + Write-PScriboMessage -Plugin "Module" -Message "AsBuiltReport.System.Resources $($InstalledVersion.ToString()) is currently installed." + $LatestVersion = Find-Module -Name AsBuiltReport.System.Resources -Repository PSGallery -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Version + if ($LatestVersion -gt $InstalledVersion) { + Write-PScriboMessage -Plugin "Module" -Message "AsBuiltReport.System.Resources $($LatestVersion.ToString()) is available." + Write-PScriboMessage -Plugin "Module" -Message "Run 'Update-Module -Name AsBuiltReport.System.Resources -Force' to install the latest version." + } + } + } Catch { + Write-PscriboMessage -Plugin "Module" -IsWarning $_.Exception.Message + } + + # Import Report Configuration + $Report = $ReportConfig.Report + $InfoLevel = $ReportConfig.InfoLevel + $Options = $ReportConfig.Options + + # Used to set values to TitleCase where required + $TextInfo = (Get-Culture).TextInfo + + # Update/rename the $System variable and build out your code within the ForEach loop. The ForEach loop enables AsBuiltReport to generate an as built configuration against multiple defined targets. + + #region foreach loop + foreach ($System in $Target) { + + + + } + #endregion foreach loop +} diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..fee2378 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,18 @@ +# :arrows_clockwise: System Resources As Built Report Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [0.1.0] - YYYY-MM-DD + +### Added + +### Changed + +### Fixed + +### Removed + + diff --git a/README.md b/README.md index ec03ac3..4d93404 100644 --- a/README.md +++ b/README.md @@ -1 +1,147 @@ -# AsBuiltReport.System.Resources \ No newline at end of file + +

+ + +

+

+ + + + + + +

+

+ + + + + + +

+

+ + +

+ +

+ Want to keep alive this project? Support me on Ko-fi +

+ + +# System Resources As Built Report + + +## :exclamation: THIS ASBUILTREPORT MODULE IS CURRENTLY IN DEVELOPMENT AND MIGHT NOT YET BE FUNCTIONAL ❗ + +System Resources As Built Report is a PowerShell module which works in conjunction with [AsBuiltReport.Core](https://github.com/AsBuiltReport/AsBuiltReport.Core). + +[AsBuiltReport](https://github.com/AsBuiltReport/AsBuiltReport) is an open-sourced community project which utilises PowerShell to produce as-built documentation in multiple document formats for multiple vendors and technologies. + +Please refer to the AsBuiltReport [website](https://www.asbuiltreport.com) for more detailed information about this project. + +# :beginner: Getting Started +Below are the instructions on how to install, configure and generate a System Resources As Built report. + +## :floppy_disk: Supported Versions + +The System Resources As Built Report supports the following Resources versions; + +### PowerShell +This report is compatible with the following PowerShell versions; + + +| Windows PowerShell 5.1 | PowerShell 7 | +|:----------------------:|:--------------------:| +| :white_check_mark: | :white_check_mark: | +## :wrench: System Requirements + +PowerShell 5.1 or PowerShell 7, and the following PowerShell modules are required for generating a System Resources As Built Report. + +- [AsBuiltReport.System.Resources Module](https://www.powershellgallery.com/packages/AsBuiltReport.System.Resources/) + +### :closed_lock_with_key: Required Privileges + + + +## :package: Module Installation + +### PowerShell + +```powershell +# Install +install-module AsBuiltReport.System.Resources -Force + +# Update +update-module AsBuiltReport.System.Resources -Force +``` + +### GitHub +If you are unable to use the PowerShell Gallery, you can still install the module manually. Ensure you repeat the following steps for the [system requirements](https://github.com/AsBuiltReport/AsBuiltReport.System.Resources#wrench-system-requirements) also. + +1. Download the code package / [latest release](https://github.com/AsBuiltReport/AsBuiltReport.System.Resources/releases/latest) zip from GitHub +2. Extract the zip file +3. Copy the folder `AsBuiltReport.System.Resources` to a path that is set in `$env:PSModulePath`. +4. Open a PowerShell terminal window and unblock the downloaded files with + ```powershell + $path = (Get-Module -Name AsBuiltReport.System.Resources -ListAvailable).ModuleBase; Unblock-File -Path $path\*.psd1; Unblock-File -Path $path\Src\Public\*.ps1; Unblock-File -Path $path\Src\Private\*.ps1 + ``` +5. Close and reopen the PowerShell terminal window. + +_Note: You are not limited to installing the module to those example paths, you can add a new entry to the environment variable PSModulePath if you want to use another path._ + +## :pencil2: Configuration + +The System Resources As Built Report utilises a JSON file to allow configuration of report information, options, detail and healthchecks. + +> [!IMPORTANT] +> Please remember to generate a new report JSON configuration file after each module update to ensure the report functions correctly. + +A System Resources report configuration file can be generated by executing the following command; +```powershell +New-AsBuiltReportConfig -Report System.Resources -FolderPath -Filename +``` + +Executing this command will copy the default System Resources report JSON configuration to a user specified folder. + +All report settings can then be configured via the JSON file. + +The following provides information of how to configure each schema within the report's JSON file. + + +### Report +The **Report** schema provides configuration of the System Resources report information. + +| Sub-Schema | Setting | Default | Description | +|---------------------|--------------|--------------------------------|--------------------------------------------------------------| +| Name | User defined | System Resources As Built Report | The name of the As Built Report | +| Version | User defined | 1.0 | The report version | +| Status | User defined | Released | The report release status | +| ShowCoverPageImage | true / false | true | Toggle to enable/disable the display of the cover page image | +| ShowTableOfContents | true / false | true | Toggle to enable/disable table of contents | +| ShowHeaderFooter | true / false | true | Toggle to enable/disable document headers & footers | +| ShowTableCaptions | true / false | true | Toggle to enable/disable table captions/numbering | + +### Options +The **Options** schema allows certain options within the report to be toggled on or off. + + +### InfoLevel +The **InfoLevel** schema allows configuration of each section of the report at a granular level. The following sections can be set. + +There are 6 levels (0-5) of detail granularity for each section as follows; + +| Setting | InfoLevel | Description | +|:-------:|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------| +| 0 | Disabled | Does not collect or display any information | +| 1 | Enabled / Summary | Provides summarised information for a collection of objects | +| 2 | Adv Summary | Provides condensed, detailed information for a collection of objects | +| 3 | Detailed | Provides detailed information for individual objects | +| 4 | Adv Detailed | Provides detailed information for individual objects, as well as information for associated objects | +| 5 | Comprehensive | Provides comprehensive information for individual objects, such as advanced configuration settings | + +### Healthcheck +The **Healthcheck** schema is used to toggle health checks on or off. + +## :computer: Examples + diff --git a/README.md.bak b/README.md.bak new file mode 100644 index 0000000..ec03ac3 --- /dev/null +++ b/README.md.bak @@ -0,0 +1 @@ +# AsBuiltReport.System.Resources \ No newline at end of file From 7b898a87fb918aff7f7b009e1d63fc96d4e45d05 Mon Sep 17 00:00:00 2001 From: Jonathan Colon Date: Wed, 8 Oct 2025 17:00:52 -0400 Subject: [PATCH 2/9] Sync repository --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- .github/workflows/PSScriptAnalyzer.yml | 2 +- .../workflows/PSScriptAnalyzerSettings.psd1 | 4 +- .github/workflows/Release.yml | 8 +- .gitignore | 2 + AsBuiltReport.System.Resources.Style.ps1 | 102 +++++++++++++ AsBuiltReport.System.Resources.json | 23 +++ AsBuiltReport.System.Resources.psd1 | 134 ++++++++++++++++++ ...sm1 => AsBuiltReport.System.Resources.psm1 | 0 .../AsBuiltReport.System.Resources.json | 21 --- .../AsBuiltReport.System.Resources.psd1 | 133 ----------------- .../Invoke-AsBuiltReport.System.Resources.ps1 | 62 -------- CHANGELOG.md | 8 +- LICENSE | 2 +- Language/en-US/SystemResources.psd1 | 92 ++++++++++++ Language/es-ES/SystemResources.psd1 | 90 ++++++++++++ Language/fr-FR/SystemResources.psd1 | 90 ++++++++++++ README.md | 2 +- Samples/System Resources As Built Report.html | 112 +++++++++++++++ Src/Private/Get-AbrDate.ps1 | 80 +++++++++++ Src/Private/Get-AbrPSHost.ps1 | 88 ++++++++++++ Src/Private/Get-AbrProcessInfo.ps1 | 93 ++++++++++++ Src/Private/Get-AbrTimeZone.ps1 | 87 ++++++++++++ Src/Private/Get-AbrUptime.ps1 | 84 +++++++++++ Src/Private/Get-SystemUptime.ps1 | 5 + .../Invoke-AsBuiltReport.System.Resources.ps1 | 77 ++++++++++ Todo.md | 0 27 files changed, 1177 insertions(+), 226 deletions(-) create mode 100644 .gitignore create mode 100644 AsBuiltReport.System.Resources.Style.ps1 create mode 100644 AsBuiltReport.System.Resources.json create mode 100644 AsBuiltReport.System.Resources.psd1 rename AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.psm1 => AsBuiltReport.System.Resources.psm1 (100%) delete mode 100644 AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.json delete mode 100644 AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.psd1 delete mode 100644 AsBuiltReport.System.Resources/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 create mode 100644 Language/en-US/SystemResources.psd1 create mode 100644 Language/es-ES/SystemResources.psd1 create mode 100644 Language/fr-FR/SystemResources.psd1 create mode 100644 Samples/System Resources As Built Report.html create mode 100644 Src/Private/Get-AbrDate.ps1 create mode 100644 Src/Private/Get-AbrPSHost.ps1 create mode 100644 Src/Private/Get-AbrProcessInfo.ps1 create mode 100644 Src/Private/Get-AbrTimeZone.ps1 create mode 100644 Src/Private/Get-AbrUptime.ps1 create mode 100644 Src/Private/Get-SystemUptime.ps1 create mode 100644 Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 create mode 100644 Todo.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index cde5958..e237f46 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -31,4 +31,4 @@ - [ ] My code follows the code style of this project. - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. -- [ ] I have read the [**CONTRIBUTING**](https://www.asbuiltreport.com/dev-guide/contributing/) document. +- [ ] I have read the [**CONTRIBUTING**](https://www.asbuiltreport.com/about/contributing/) document. diff --git a/.github/workflows/PSScriptAnalyzer.yml b/.github/workflows/PSScriptAnalyzer.yml index a73694f..57b2ea4 100644 --- a/.github/workflows/PSScriptAnalyzer.yml +++ b/.github/workflows/PSScriptAnalyzer.yml @@ -5,7 +5,7 @@ jobs: name: Run PSScriptAnalyzer runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v4 - name: lint uses: devblackops/github-action-psscriptanalyzer@master with: diff --git a/.github/workflows/PSScriptAnalyzerSettings.psd1 b/.github/workflows/PSScriptAnalyzerSettings.psd1 index c053761..0aa88a9 100644 --- a/.github/workflows/PSScriptAnalyzerSettings.psd1 +++ b/.github/workflows/PSScriptAnalyzerSettings.psd1 @@ -3,6 +3,8 @@ 'PSUseToExportFieldsInManifest', 'PSReviewUnusedParameter', 'PSUseDeclaredVarsMoreThanAssignments', - 'PSAvoidGlobalVars' + 'PSAvoidGlobalVars', + 'PSUseSingularNouns', + 'PSAvoidUsingWriteHost' ) } \ No newline at end of file diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 69f2916..faa9803 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -5,8 +5,8 @@ on: types: [published] jobs: - publish-to-psgallery: - runs-on: windows-latest + publish-to-gallery: + runs-on: windows-2019 steps: - uses: actions/checkout@v4 - name: Set PSRepository to Trusted for PowerShell Gallery @@ -26,7 +26,7 @@ jobs: run: | Publish-Module -Path ./ -NuGetApiKey ${{ secrets.PSGALLERY_API_KEY }} -Verbose tweet: - needs: publish-to-psgallery + needs: publish-to-gallery runs-on: ubuntu-latest steps: - uses: Eomm/why-don-t-you-tweet@v2 @@ -42,7 +42,7 @@ jobs: TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }} TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} bsky-post: - needs: publish-to-psgallery + needs: publish-to-gallery runs-on: ubuntu-latest steps: - uses: zentered/bluesky-post-action@v0.2.0 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..acd1f7d --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +Setup.md +.vscode/launch.json \ No newline at end of file diff --git a/AsBuiltReport.System.Resources.Style.ps1 b/AsBuiltReport.System.Resources.Style.ps1 new file mode 100644 index 0000000..53fe8b3 --- /dev/null +++ b/AsBuiltReport.System.Resources.Style.ps1 @@ -0,0 +1,102 @@ +# System Resources Default Document Style + +# Configure document options +DocumentOption -EnableSectionNumbering -PageSize A4 -DefaultFont 'Arial' -MarginLeftAndRight 71 -MarginTopAndBottom 71 -Orientation $Orientation + +# Configure Heading and Font Styles +Style -Name 'Title' -Size 24 -Color '0076CE' -Align Center +Style -Name 'Title 2' -Size 18 -Color '00447C' -Align Center +Style -Name 'Title 3' -Size 12 -Color '00447C' -Align Left +Style -Name 'Heading 1' -Size 16 -Color '00447C' +Style -Name 'Heading 2' -Size 14 -Color '00447C' +Style -Name 'Heading 3' -Size 12 -Color '00447C' +Style -Name 'Heading 4' -Size 11 -Color '00447C' +Style -Name 'Heading 5' -Size 10 -Color '00447C' +Style -Name 'Normal' -Size 10 -Color '565656' -Default +Style -Name 'Caption' -Size 10 -Color '565656' -Italic -Align Center +Style -Name 'Header' -Size 10 -Color '565656' -Align Center +Style -Name 'Footer' -Size 10 -Color '565656' -Align Center +Style -Name 'TOC' -Size 16 -Color '00447C' +Style -Name 'TableDefaultHeading' -Size 10 -Color 'FAFAFA' -BackgroundColor '0076CE' +Style -Name 'TableDefaultRow' -Size 10 -Color '565656' +Style -Name 'Critical' -Size 10 -BackgroundColor 'F5DBD9' +Style -Name 'Warning' -Size 10 -BackgroundColor 'FEF3B5' +Style -Name 'Info' -Size 10 -BackgroundColor 'E1F1F6' +Style -Name 'OK' -Size 10 -BackgroundColor 'DFF0D0' + +# Configure Table Styles +$TableDefaultProperties = @{ + Id = 'TableDefault' + HeaderStyle = 'TableDefaultHeading' + RowStyle = 'TableDefaultRow' + BorderColor = '0076CE' + Align = 'Left' + CaptionStyle = 'Caption' + CaptionLocation = 'Below' + BorderWidth = 0.25 + PaddingTop = 1 + PaddingBottom = 1.5 + PaddingLeft = 2 + PaddingRight = 2 +} + +TableStyle @TableDefaultProperties -Default +TableStyle -Id 'Borderless' -HeaderStyle Normal -RowStyle Normal -BorderWidth 0 + +# System Resources Cover Page Layout +# Header & Footer +if ($ReportConfig.Report.ShowHeaderFooter) { + Header -Default { + Paragraph -Style Header "$($ReportConfig.Report.Name) - v$($ReportConfig.Report.Version)" + } + + Footer -Default { + Paragraph -Style Footer 'Page ' + } +} + +# Set position of report titles and information based on page orientation +if (!($ReportConfig.Report.ShowCoverPageImage)) { + $LineCount = 5 +} +if ($Orientation -eq 'Portrait') { + BlankLine -Count 11 + $LineCount = 32 + $LineCount +} else { + BlankLine -Count 7 + $LineCount = 15 + $LineCount +} + +# Cover Page Image +if ($ReportConfig.Report.ShowCoverPageImage) { + Try { + Image -Text 'AsBuiltReport Logo' -Align 'Center' -Percent 45 -Base64 "iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAFiQAABYkBbWid+gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURBVHic7Z15nBTlnf/fT1V1TzMHww3DLTdyCAgth4KCCp4BY9QYz042MZtsNpvjlU02u9lkcx+bbDbHL1ev8TYavEVQQeVQGwS570PuaziGGeiZrqrn90cNOsMMTFVP13RX9/N+vebly6ae6s9A16ef43sIKSUK/4hEYyOAmcAIoBvQvf6nGxDJorR84jiQAB5KJuKPZVtMkBDKADJLJBoLATcB1wGzgN7ZVVRwPAncn0zEz2RbSBBQBpAhItFYEfBp4BtA3yzLKXTmAbOTiXhdtoXkOsoAWkkkGosAnwe+DlRkWY7iI/4O3J5MxK1sC8lllAG0gkg0Nhp4DGd9r8g9HgbuTSbi6kN+HoxsCwgikWhMAF8CfgIUZVmO4vzcDdTgzNAUzaBmAB6JRGPtgSdwNvkUweDnyUT869kWkYsoA/BAJBorA+YDk7KtReGZ7yQT8e9lW0SuoQzAJZForAR4Bbg821oUafPVZCL+39kWkUsoA3BBJBorBl4CrsyyFEXr+VwyEf9jtkXkCmoT0B2/pZUPv+zcFbv/EGR5B2RZOZS2R4bCmVFXIIi6WkKP/aG1t/l9JBqrSSbij2ZCU9BRBtACkWjs48B96YyVpe2xxk3EHjwS2blrZoUVILI2mYnbaMCD9SbwbCZuGGTUEuACRKKxCmAt0NnTwHAYMzoVa8JUCIV80VaQ1CYp+p/vZupudcDNyUR8fqZuGES0bAvIcR7E48Nv9+pH3We+hjV5hnr4c5swMDcSjV2RbSHZRBnAeYhEY9cC13oZY40Y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nWFKTCyWha8fjkwCXglmzoUgUbiHC9Hk4n4B9kWEzTafBOwOSLRmA78C/BvQIcsy1EEh4PAvclEfEG2hQSVnDCAs0SisU7At4EvAOqwX3E+qnCKeP48mYi7jzBVNCGnDOAskWhsAPB94FZAdfVQnKUS+BXwm2QifiLbYvKBnDSAs0SisXLgBmAOMAsoza4iRRY4CizA2Seam0zEa7KsJ6/IaQNoSCQaiwBXA+OAnuf8dAP07KlTtJIUcBg41OC/23AKyrynovn84/8DMK69f7UO8D4AAAAASUVORK5CYII=" + BlankLine -Count 1 + } Catch { + Write-PScriboMessage -IsWarning "Unable to display cover page image. Please set 'ShowCoverPageImage' to 'false' in the report JSON configuration file to avoid this error." + } +} + +# Add Report Name +Paragraph -Style Title $ReportConfig.Report.Name + +if ($AsBuiltConfig.Company.FullName) { + # Add Company Name if specified + BlankLine -Count 2 + Paragraph -Style Title2 $AsBuiltConfig.Company.FullName + BlankLine -Count $LineCount +} else { + BlankLine -Count ($LineCount + 1) +} +Table -Name 'Cover Page' -List -Style Borderless -Width 0 -Hashtable ([Ordered] @{ + 'Author:' = $AsBuiltConfig.Report.Author + 'Date:' = (Get-Date).ToLongDateString() + 'Version:' = $ReportConfig.Report.Version + }) +PageBreak + +if ($ReportConfig.Report.ShowTableOfContents) { + # Add Table of Contents + TOC -Name 'Table of Contents' + PageBreak +} diff --git a/AsBuiltReport.System.Resources.json b/AsBuiltReport.System.Resources.json new file mode 100644 index 0000000..322c89c --- /dev/null +++ b/AsBuiltReport.System.Resources.json @@ -0,0 +1,23 @@ +{ + "Report": { + "Name": "System Resources As Built Report", + "Version": "1.0", + "Status": "Released", + "Language": "en-US", + "ShowCoverPageImage": true, + "ShowTableOfContents": true, + "ShowHeaderFooter": true, + "ShowTableCaptions": true + }, + "Options": {}, + "InfoLevel": { + "_comment_": "Please refer to the AsBuiltReport project contributing guide for information about how to define InfoLevels.", + "_comment_": "0 = Disabled, 1 = Enabled / Summary, 2 = Adv Summary, 3 = Detailed, 4 = Adv Detailed, 5 = Comprehensive", + "Date": 1, + "TimeZone": 2, + "Uptime": 2, + "PSHost": 2, + "ProcessInfo": 1 + }, + "HealthCheck": {} +} \ No newline at end of file diff --git a/AsBuiltReport.System.Resources.psd1 b/AsBuiltReport.System.Resources.psd1 new file mode 100644 index 0000000..3eb1df0 --- /dev/null +++ b/AsBuiltReport.System.Resources.psd1 @@ -0,0 +1,134 @@ +# +# Module manifest for module 'AsBuiltReport.System.Resources' +# +# Generated by: Jonathan Colon +# +# Generated on: 9/28/2025 +# + +@{ + + # Script module or binary module file associated with this manifest. + RootModule = 'AsBuiltReport.System.Resources.psm1' + + # Version number of this module. + ModuleVersion = '0.1.1' + + # Supported PSEditions + # CompatiblePSEditions = @() + + # ID used to uniquely identify this module + GUID = 'f930270b-607d-422b-bd94-b6665bcc5b96' + + # Author of this module + Author = 'Jonathan Colon' + + # Company or vendor of this module + CompanyName = 'Unknown' + + # Copyright statement for this module + Copyright = '(c) 2025 Jonathan Colon. All rights reserved.' + + # Description of the functionality provided by this module + Description = 'A PowerShell module to generate an as built report on the configuration of System Resources.' + + # Minimum version of the Windows PowerShell engine required by this module + PowerShellVersion = '5.1' + + # Name of the Windows PowerShell host required by this module + # PowerShellHostName = '' + + # Minimum version of the Windows PowerShell host required by this module + # PowerShellHostVersion = '' + + # Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only. + # DotNetFrameworkVersion = '' + + # Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. + # CLRVersion = '' + + # Processor architecture (None, X86, Amd64) required by this module + # ProcessorArchitecture = '' + + # Modules that must be imported into the global environment prior to importing this module + + RequiredModules = @( + @{ + ModuleName = 'AsBuiltReport.Core'; + ModuleVersion = '1.4.3' + }, + @{ + ModuleName = 'Diagrammer.Core'; + ModuleVersion = '0.2.31' + } + ) + + # Assemblies that must be loaded prior to importing this module + # RequiredAssemblies = @() + + # Script files (.ps1) that are run in the caller's environment prior to importing this module. + # ScriptsToProcess = @() + + # Type files (.ps1xml) to be loaded when importing this module + # TypesToProcess = @() + + # Format files (.ps1xml) to be loaded when importing this module + # FormatsToProcess = @() + + # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess + # NestedModules = @() + + # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. + FunctionsToExport = @('Invoke-AsBuiltReport.System.Resources') + + # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. + CmdletsToExport = @() + + # Variables to export from this module + VariablesToExport = @() + + # Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. + AliasesToExport = @() + + # DSC resources to export from this module + # DscResourcesToExport = @() + + # List of all modules packaged with this module + # ModuleList = @() + + # List of all files packaged with this module + # FileList = @() + + # Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. + PrivateData = @{ + + PSData = @{ + + # Tags applied to this module. These help with module discovery in online galleries. + # Tags = @() + + # A URL to the license for this module. + # LicenseUri = '' + + # A URL to the main website for this project. + # ProjectUri = '' + + # A URL to an icon representing this module. + # IconUri = '' + + # ReleaseNotes of this module + # ReleaseNotes = '' + + } # End of PSData hashtable + + } # End of PrivateData hashtable + + # HelpInfo URI of this module + # HelpInfoURI = '' + + # Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. + # DefaultCommandPrefix = '' + +} + + diff --git a/AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.psm1 b/AsBuiltReport.System.Resources.psm1 similarity index 100% rename from AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.psm1 rename to AsBuiltReport.System.Resources.psm1 diff --git a/AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.json b/AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.json deleted file mode 100644 index 7286e83..0000000 --- a/AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "Report": { - "Name": "System Resources As Built Report", - "Version": "1.0", - "Status": "Released", - "ShowCoverPageImage": true, - "ShowTableOfContents": true, - "ShowHeaderFooter": true, - "ShowTableCaptions": true - }, - "Options": { - - }, - "InfoLevel": { - "_comment_": "Please refer to the AsBuiltReport project contributing guide for information about how to define InfoLevels.", - "_comment_": "0 = Disabled, 1 = Enabled / Summary, 2 = Adv Summary, 3 = Detailed, 4 = Adv Detailed, 5 = Comprehensive" - }, - "HealthCheck": { - - } -} diff --git a/AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.psd1 b/AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.psd1 deleted file mode 100644 index 24dc45e..0000000 --- a/AsBuiltReport.System.Resources/AsBuiltReport.System.Resources.psd1 +++ /dev/null @@ -1,133 +0,0 @@ -# -# Module manifest for module 'AsBuiltReport.System.Resources' -# -# Generated by: Jonathan Colon -# -# Generated on: 9/10/2025 -# - -@{ - -# Script module or binary module file associated with this manifest. -RootModule = 'AsBuiltReport.System.Resources.psm1' - -# Version number of this module. -ModuleVersion = '0.1.0' - -# Supported PSEditions -# CompatiblePSEditions = @() - -# ID used to uniquely identify this module -GUID = '77e4e108-1689-447b-b40c-457b254ee982' - -# Author of this module -Author = 'Jonathan Colon' - -# Company or vendor of this module -CompanyName = 'Unknown' - -# Copyright statement for this module -Copyright = '(c) Jonathan Colon. All rights reserved.' - -# Description of the functionality provided by this module -Description = 'A PowerShell module to generate an as built report on the configuration of System Resources.' - -# Minimum version of the PowerShell engine required by this module -PowerShellVersion = '5.1' - -# Name of the PowerShell host required by this module -# PowerShellHostName = '' - -# Minimum version of the PowerShell host required by this module -# PowerShellHostVersion = '' - -# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only. -# DotNetFrameworkVersion = '' - -# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. -# ClrVersion = '' - -# Processor architecture (None, X86, Amd64) required by this module -# ProcessorArchitecture = '' - -# Modules that must be imported into the global environment prior to importing this module -# RequiredModules = @() - -# Assemblies that must be loaded prior to importing this module -# RequiredAssemblies = @() - -# Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() - -# Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() - -# Format files (.ps1xml) to be loaded when importing this module -# FormatsToProcess = @() - -# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess -# NestedModules = @() - -# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. -FunctionsToExport = '*' - -# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. -CmdletsToExport = '*' - -# Variables to export from this module -VariablesToExport = '*' - -# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. -AliasesToExport = '*' - -# DSC resources to export from this module -# DscResourcesToExport = @() - -# List of all modules packaged with this module -# ModuleList = @() - -# List of all files packaged with this module -# FileList = @() - -# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. -PrivateData = @{ - - PSData = @{ - - # Tags applied to this module. These help with module discovery in online galleries. - # Tags = @() - - # A URL to the license for this module. - # LicenseUri = '' - - # A URL to the main website for this project. - # ProjectUri = '' - - # A URL to an icon representing this module. - # IconUri = '' - - # ReleaseNotes of this module - # ReleaseNotes = '' - - # Prerelease string of this module - # Prerelease = '' - - # Flag to indicate whether the module requires explicit user acceptance for install/update/save - # RequireLicenseAcceptance = $false - - # External dependent modules of this module - # ExternalModuleDependencies = @() - - } # End of PSData hashtable - -} # End of PrivateData hashtable - -# HelpInfo URI of this module -# HelpInfoURI = '' - -# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. -# DefaultCommandPrefix = '' - -} - - diff --git a/AsBuiltReport.System.Resources/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 b/AsBuiltReport.System.Resources/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 deleted file mode 100644 index 818307d..0000000 --- a/AsBuiltReport.System.Resources/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 +++ /dev/null @@ -1,62 +0,0 @@ -function Invoke-AsBuiltReport.System.Resources { - <# - .SYNOPSIS - PowerShell script to document the configuration of System Resources in Word/HTML/Text formats - .DESCRIPTION - Documents the configuration of System Resources in Word/HTML/Text formats using PScribo. - .NOTES - Version: 0.1.0 - Author: Jonathan Colon - Twitter: - Github: - Credits: Iain Brighton (@iainbrighton) - PScribo module - - .LINK - https://github.com/AsBuiltReport/AsBuiltReport.System.Resources - #> - - # Do not remove or add to these parameters - param ( - [String[]] $Target, - [PSCredential] $Credential - ) - - Write-PScriboMessage -Plugin "Module" -Message "Please refer to https://www.asbuiltreport.com for more detailed information about this project." - Write-PScriboMessage -Plugin "Module" -Message "Do not forget to update your report configuration file after each new version release: https://www.asbuiltreport.com/user-guide/new-asbuiltreportconfig/" - Write-PScriboMessage -Plugin "Module" -Message "Documentation: https://github.com/AsBuiltReport/AsBuiltReport.System.Resources" - Write-PScriboMessage -Plugin "Module" -Message "Issues or bug reporting: https://github.com/AsBuiltReport/AsBuiltReport.System.Resources/issues" - - # Check the current AsBuiltReport.System.Resources module - Try { - $InstalledVersion = Get-Module -ListAvailable -Name AsBuiltReport.System.Resources -ErrorAction SilentlyContinue | Sort-Object -Property Version -Descending | Select-Object -First 1 -ExpandProperty Version - - if ($InstalledVersion) { - Write-PScriboMessage -Plugin "Module" -Message "AsBuiltReport.System.Resources $($InstalledVersion.ToString()) is currently installed." - $LatestVersion = Find-Module -Name AsBuiltReport.System.Resources -Repository PSGallery -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Version - if ($LatestVersion -gt $InstalledVersion) { - Write-PScriboMessage -Plugin "Module" -Message "AsBuiltReport.System.Resources $($LatestVersion.ToString()) is available." - Write-PScriboMessage -Plugin "Module" -Message "Run 'Update-Module -Name AsBuiltReport.System.Resources -Force' to install the latest version." - } - } - } Catch { - Write-PscriboMessage -Plugin "Module" -IsWarning $_.Exception.Message - } - - # Import Report Configuration - $Report = $ReportConfig.Report - $InfoLevel = $ReportConfig.InfoLevel - $Options = $ReportConfig.Options - - # Used to set values to TitleCase where required - $TextInfo = (Get-Culture).TextInfo - - # Update/rename the $System variable and build out your code within the ForEach loop. The ForEach loop enables AsBuiltReport to generate an as built configuration against multiple defined targets. - - #region foreach loop - foreach ($System in $Target) { - - - - } - #endregion foreach loop -} diff --git a/CHANGELOG.md b/CHANGELOG.md index fee2378..6c87c7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,10 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.1.0] - YYYY-MM-DD +## [0.1.1] - 2025-09-?? ### Added +- Introduced English and Spanish translations for date-related messages. +- Updated System Resources report to include language and status fields. +- Enhanced date collection messages for clarity and consistency. +- Removed outdated translation files for Get-AbrDate. +- Created a new Todo.md file for future enhancements. + ### Changed ### Fixed diff --git a/LICENSE b/LICENSE index d8002d2..d4ab8bf 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2025 AsBuiltReport +Copyright (c) 2023 AsBuiltReport Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Language/en-US/SystemResources.psd1 b/Language/en-US/SystemResources.psd1 new file mode 100644 index 0000000..af93ff6 --- /dev/null +++ b/Language/en-US/SystemResources.psd1 @@ -0,0 +1,92 @@ +# culture = 'en-US' +@{ + + InvokeAsBuiltReportSystemResources = ConvertFrom-StringData @' + Message1 = - Please refer to the AsBuiltReport.System.Resources github website for more detailed information about this project. + Message2 = - Do not forget to update your report configuration file after each new version release: https://www.asbuiltreport.com/user-guide/new-asbuiltreportconfig/ + Message3 = - Documentation: https://github.com/AsBuiltReport/AsBuiltReport.System.Resources + Message4 = - Issues or bug reporting: https://github.com/AsBuiltReport/AsBuiltReport.System.Resources/issues + Message5 = - This project is community maintained and has no sponsorship from Microsoft/*Linux/MacOS, its employees or any of its affiliates. + + + ModuleStatus = - The module {0} {1} is currently installed. + ModuleAvailable = - The module {0} {1} is available. + ModuleUpdateCmd = - Run 'Update-Module -Name {0} -Force' to install the latest version. + +'@ + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel set at {1}. + Collecting = Collecting System Date information. + ParagraphDetail = The following sections detail the system date. + ParagraphSummary = The following table summarises the system date. + Heading = Date + + Date = Date + Hour = Hour +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel set at {1}. + Collecting = Collecting System Process information. + ParagraphDetail = The following sections detail the system process. + ParagraphSummary = The following table summarises the top 10 system process. For more detailed information, please set the InfoLevel.ProcessInfo value to 2 in your report configuration file. Sorted by CPU usage. + Heading = Process + + Name = Name + Id = Id + CPU = CPU (%) + Memory = Memory (MB) + Company = Company + Product = Product + Unknown = Unknown +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel set at {1}. + Collecting = Collecting System TimeZone information. + ParagraphDetail = The following sections detail the system TimeZone. + ParagraphSummary = The following table summarises the system TimeZone. + Heading = TimeZone + + TimeZone = TimeZone + Id = Id + DisplayName = DisplayName + CurrentTime = Current Time + BaseUTCOffset = Base UTC Offset + SupportsDaylightSavingTime = Supports Daylight Saving Time + Yes = Yes + No = No + Unknown = Unknown +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel set at {1}. + Collecting = Collecting System Uptime information. + ParagraphDetail = The following sections detail the system Uptime. + ParagraphSummary = The following table summarises the system Uptime. + Heading = Uptime + + Uptime = Uptime +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel set at {1}. + Collecting = Collecting System PowerShell Host information. + ParagraphDetail = The following sections detail the system PowerShell Host. + ParagraphSummary = The following table summarises the system PowerShell Host. + Heading = PowerShell Host + + Name = Name + Version = Version + CurrentCulture = Current Culture + CurrentUICulture = Current UI Culture + DebuggerEnabled = Debugger Enabled + Yes = Yes + No = No + Unknown = Unknown +'@ +} \ No newline at end of file diff --git a/Language/es-ES/SystemResources.psd1 b/Language/es-ES/SystemResources.psd1 new file mode 100644 index 0000000..46b37d1 --- /dev/null +++ b/Language/es-ES/SystemResources.psd1 @@ -0,0 +1,90 @@ +# culture = 'es-ES' +@{ + + InvokeAsBuiltReportSystemResources = ConvertFrom-StringData @' + Message1 = - Por favor, consulte el sitio web de GitHub de AsBuiltReport.System.Resources para obtener información más detallada sobre este proyecto. + Message2 = - No olvide actualizar su archivo de configuración del informe después de cada nueva versión: https://www.asbuiltreport.com/user-guide/new-asbuiltreportconfig/ + Message3 = - Documentación: https://github.com/AsBuiltReport/AsBuiltReport.System.Resources + Message4 = - Reporte de problemas o errores: https://github.com/AsBuiltReport/AsBuiltReport.System.Resources/issues + Message5 = - Este proyecto es mantenido por la comunidad y no cuenta con patrocinio de Microsoft/*Linux/MacOS, sus empleados o cualquiera de sus afiliados. + + ModuleStatus = - El módulo {0} {1} está actualmente instalado. + ModuleAvailable = - El módulo {0} {1} está disponible. + ModuleUpdateCmd = - Ejecute 'Update-Module -Name {0} -Force' para instalar la última versión. + +'@ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel configurado en {1}. + Collecting = Recopilando información de la fecha del sistema. + ParagraphDetail = Las siguientes sección detalla la fecha del sistema. + ParagraphSummary = La siguiente tabla resume la fecha del sistema. + Heading = Fecha + Date = Fecha + Hour = Hora +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel configurado en {1}. + Collecting = Recopilando información del proceso del sistema. + ParagraphDetail = Las siguientes sección detalla el proceso del sistema. + ParagraphSummary = La siguiente tabla resume los 10 principales procesos del sistema. Para obtener información más detallada, establezca el valor de InfoLevel.ProcessInfo en 2 en su archivo de configuración del informe. Ordenado por uso de CPU. + Heading = Procesos + Name = Nombre + Id = Id + CPU = CPU (%) + Memory = Memoria (MB) + Company = Compañía + Product = Producto + Unknown = Desconocido +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel configurado en {1}. + Collecting = Recopilando información de la zona horaria del sistema. + ParagraphDetail = Las siguientes sección detalla la zona horaria del sistema. + ParagraphSummary = La siguiente tabla resume la zona horaria del sistema. + Heading = Zona Horaria + + TimeZone = Zona Horaria + Id = Id + DisplayName = Nombre + CurrentTime = Hora actual + BaseUTCOffset = Desfase UTC base + SupportsDaylightSavingTime = Soporta horario de verano + Yes = Sí + No = No + Unknown = Desconocido +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel configurado en {1}. + Collecting = Recopilando información del tiempo de actividad del sistema. + ParagraphDetail = Las siguientes sección detalla el tiempo de actividad del sistema. + ParagraphSummary = La siguiente tabla resume el tiempo de actividad del sistema. + Heading = Tiempo de Actividad + + Uptime = Tiempo de Actividad +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel configurado en {1}. + Collecting = Recopilando información del PowerShell Host del sistema. + ParagraphDetail = Las siguientes sección detalla el PowerShell Host del sistema. + ParagraphSummary = La siguiente tabla resume el PowerShell Host del sistema. + Heading = PowerShell Host + + Name = Nombre + Version = Versión + CurrentCulture = Cultura Actual + CurrentUICulture = Cultura UI Actual + DebuggerEnabled = Depurador Habilitado + Yes = Sí + No = No + Unknown = Desconocido +'@ +} \ No newline at end of file diff --git a/Language/fr-FR/SystemResources.psd1 b/Language/fr-FR/SystemResources.psd1 new file mode 100644 index 0000000..aa35896 --- /dev/null +++ b/Language/fr-FR/SystemResources.psd1 @@ -0,0 +1,90 @@ +# culture = 'fr-FR' +@{ + InvokeAsBuiltReportSystemResources = ConvertFrom-StringData @' + Message1 = - Veuillez consulter le site Web GitHub de AsBuiltReport.System.Resources pour plus d'informations sur ce projet. + Message2 = - N'oubliez pas de mettre à jour votre fichier de configuration de rapport après chaque nouvelle version : https://www.asbuiltreport.com/user-guide/new-asbuiltreportconfig/ + Message3 = - Documentation : https://github.com/AsBuiltReport/AsBuiltReport.System.Resources + Message4 = - Signalement de problèmes ou de bogues : https://github.com/AsBuiltReport/AsBuiltReport.System.Resources/issues + Message5 = - Ce projet est maintenu par la communauté et n'a aucun parrainage de Microsoft/*Linux/MacOS, de ses employés ou de l'un de ses affiliés. + + ModuleStatus = - Le module {0} {1} est actuellement installé. + ModuleAvailable = - Le module {0} {1} est disponible. + ModuleUpdateCmd = - Exécutez 'Update-Module -Name {0} -Force' pour installer la dernière version. +'@ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} Niveau d'information défini à {1}. + Collecting = Collecte des informations sur la date du système. + ParagraphDetail = Les sections suivantes détaillent la date du système. + ParagraphSummary = Le tableau suivant résume la date du système. + Heading = Date + + Date = Date + Hour = Heure +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} Niveau d'information défini à {1}. + Collecting = Collecte des informations sur les processus système. + ParagraphDetail = Les sections suivantes détaillent les processus système. + ParagraphSummary = Le tableau suivant résume les 10 principaux processus système. Pour plus d'informations, veuillez définir la valeur InfoLevel.ProcessInfo à 2 dans votre fichier de configuration du rapport. Trié par utilisation CPU. + Heading = Processus + + Name = Nom + Id = Id + CPU = CPU (%) + Memory = Mémoire (Mo) + Company = Société + Product = Produit + Unknown = Inconnu +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} Niveau d'information défini à {1}. + Collecting = Collecte des informations sur le fuseau horaire du système. + ParagraphDetail = Les sections suivantes détaillent le fuseau horaire du système. + ParagraphSummary = Le tableau suivant résume le fuseau horaire du système. + Heading = Fuseau horaire + + TimeZone = Fuseau horaire + Id = Id + DisplayName = Nom d'affichage + CurrentTime = Heure actuelle + BaseUTCOffset = Décalage UTC de base + SupportsDaylightSavingTime = Prend en charge l'heure d'été + Yes = Oui + No = Non + Unknown = Inconnu +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} Niveau d'information défini à {1}. + Collecting = Collecte des informations sur le temps de fonctionnement du système. + ParagraphDetail = Les sections suivantes détaillent le temps de fonctionnement du système. + ParagraphSummary = Le tableau suivant résume le temps de fonctionnement du système. + Heading = Temps de fonctionnement + + Uptime = Temps de fonctionnement +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} Niveau d'information défini à {1}. + Collecting = Collecte des informations sur l'hôte PowerShell du système. + ParagraphDetail = Les sections suivantes détaillent l'hôte PowerShell du système. + ParagraphSummary = Le tableau suivant résume l'hôte PowerShell du système. + Heading = Hôte PowerShell + + Name = Nom + Version = Version + CurrentCulture = Culture actuelle + CurrentUICulture = Culture UI actuelle + DebuggerEnabled = Débogueur activé + Yes = Oui + No = Non + Unknown = Inconnu +'@ +} \ No newline at end of file diff --git a/README.md b/README.md index 4d93404..38f6dcb 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@

- Want to keep alive this project? Support me on Ko-fi + Buy Me a Coffee at ko-fi.com

diff --git a/Samples/System Resources As Built Report.html b/Samples/System Resources As Built Report.html new file mode 100644 index 0000000..8cb3da8 --- /dev/null +++ b/Samples/System Resources As Built Report.html @@ -0,0 +1,112 @@ + + +System Resources As Built Report + +
+ +











+AsBuiltReport Logo +
+
System Resources As Built Report

Acme Inc.






















+ + + +
Author:Jonathan Colon
Date:Monday, September 29, 2025
Version:1.0
+
+
+
System Resources As Built Report - v1.0

Table of Contents

+ + + + + + +
1127.0.0.1
1.1   Date
1.2   TimeZone
1.3   Uptime
1.4   PowerShell Host
1.5   Process
+

+
System Resources As Built Report - v1.0

1 127.0.0.1

1.1 Date

The following sections detail the system date.

127.0.0.1

+ + + +
Date2025-09-29
Hour08:37:44
+
Table 1 - Date - 127.0.0.1

+

1.2 TimeZone

The following sections detail the system time zones.

127.0.0.1

+ + + + + + +
TimeZoneSA Western Standard Time
Display Name(UTC-04:00) Georgetown, La Paz, Manaus, San Juan
Current Time09/29/2025 08:37:44
Base UTC Offset-04:00:00
Supports Daylight Saving TimeNo
+
Table 2 - TimeZone - 127.0.0.1

+

1.3 Uptime

The following sections detail the system uptime.

127.0.0.1

+ + +
Uptime00h 44m 34s
+
Table 3 - Uptime - 127.0.0.1

+

1.4 PowerShell Host

The following sections detail the system PowerShell host.

127.0.0.1

+ + + + + + +
NameVisual Studio Code Host
Version2025.2.0
Current Cultureen-US
Current UI Cultureen-US
Debugger EnabledUnknown
+
Table 4 - PowerShell Host - 127.0.0.1

+

1.5 Process

The following table summarises the top 10 system process. For more detailed information, please set the InfoLevel.ProcessInfo value to 2 in your report configuration file. Sorted by CPU usage.

+ + + + + + + + + + + +
NameIdCPU (%)Memory (MB)
powershell675665310
node562054782
node590815671
powershell410413166
node26726104
WmiPrvSE4904618
System450
MsMpEng35244156
powershell13084115
powershell5860497
+
Table 5 - Process - 127.0.0.1

+
+

diff --git a/Src/Private/Get-AbrDate.ps1 b/Src/Private/Get-AbrDate.ps1 new file mode 100644 index 0000000..1f23457 --- /dev/null +++ b/Src/Private/Get-AbrDate.ps1 @@ -0,0 +1,80 @@ +function Get-AbrDate { + <# + .SYNOPSIS + Used by As Built Report to retrieve System Date information + .DESCRIPTION + + .NOTES + Version: 0.1.1 + Author: AsBuiltReport Organization + Twitter: @AsBuiltReport + Github: AsBuiltReport + .EXAMPLE + + .LINK + + #> + [CmdletBinding()] + param ( + ) + + begin { + $reportTranslate = $reportTranslate.GetAbrDate + Write-PScriboMessage ($($reportTranslate.InfoLevel) -f 'Date', $($InfoLevel.Date)) + } + + process { + try { + if ($InfoLevel.Date -gt 0) { + $SystemDate = Get-Date + if ($SystemDate) { + Write-PScriboMessage $reportTranslate.Collecting + Section -Style Heading2 $($reportTranslate.Heading) { + $SystemDateInfo = @() + foreach ($Date in $SystemDate) { + $InObj = [Ordered]@{ + $($reportTranslate.Date) = $Date.ToString('yyyy-MM-dd') + $($reportTranslate.Hour) = $Date.ToString('HH:mm:ss') + } + $SystemDateInfo += [PSCustomObject]$InObj + } + + if ($InfoLevel.Date -ge 2) { + Paragraph $reportTranslate.ParagraphDetail + foreach ($DateInfo in $SystemDateInfo) { + Section -Style NOTOCHeading4 -ExcludeFromTOC "$($System)" { + $TableParams = @{ + Name = "$($reportTranslate.Heading) - $($System)" + List = $true + ColumnWidths = 40, 60 + } + if ($Report.ShowTableCaptions) { + $TableParams['Caption'] = "- $($TableParams.Name)" + } + $DateInfo | Table @TableParams + } + } + } else { + Paragraph $reportTranslate.ParagraphSummary + BlankLine + $TableParams = @{ + Name = "$($reportTranslate.Heading) - $($System)" + List = $false + Columns = $($reportTranslate.Date), $($reportTranslate.Hour) + ColumnWidths = 50, 50 + } + if ($Report.ShowTableCaptions) { + $TableParams['Caption'] = "- $($TableParams.Name)" + } + $SystemDateInfo | Table @TableParams + } + } + } + } + } catch { + Write-PScriboMessage -IsWarning $($_.Exception.Message) + } + } + + end {} +} \ No newline at end of file diff --git a/Src/Private/Get-AbrPSHost.ps1 b/Src/Private/Get-AbrPSHost.ps1 new file mode 100644 index 0000000..0f41feb --- /dev/null +++ b/Src/Private/Get-AbrPSHost.ps1 @@ -0,0 +1,88 @@ + +function Get-AbrPSHost { + <# + .SYNOPSIS + Used by As Built Report to retrieve system PowerShell host information + .DESCRIPTION + + .NOTES + Version: 0.1.1 + Author: AsBuiltReport Organization + Twitter: @AsBuiltReport + Github: AsBuiltReport + .EXAMPLE + + .LINK + + #> + [CmdletBinding()] + param ( + ) + + begin { + $reportTranslate = $reportTranslate.GetAbrPSHost + Write-PScriboMessage ($($reportTranslate.InfoLevel) -f 'PSHost', $($InfoLevel.PSHost)) + } + + process { + try { + if ($InfoLevel.PSHost -gt 0) { + $SystemPSHost = Get-Host + if ($SystemPSHost) { + Write-PScriboMessage $reportTranslate.Collecting + Section -Style Heading2 $($reportTranslate.Heading) { + $SystemPSHostInfo = @() + foreach ($PSHost in $SystemPSHost) { + $InObj = [Ordered]@{ + $($reportTranslate.Name) = $PSHost.Name + $($reportTranslate.Version) = $PSHost.Version.ToString() + $($reportTranslate.CurrentCulture) = $PSHost.CurrentCulture + $($reportTranslate.CurrentUICulture) = $PSHost.CurrentUICulture + $($reportTranslate.DebuggerEnabled) = switch ($PSHost.Debugger.IsEnabled) { + $true { $($reportTranslate.Yes) } + $false { $($reportTranslate.No) } + default { $($reportTranslate.Unknown) } + } + } + $SystemPSHostInfo += [PSCustomObject]$InObj + } + + if ($InfoLevel.PSHost -ge 2) { + Paragraph $reportTranslate.ParagraphDetail + foreach ($PSHostInfo in $SystemPSHostInfo) { + Section -Style NOTOCHeading4 -ExcludeFromTOC "$($System)" { + $TableParams = @{ + Name = "$($reportTranslate.Heading) - $($System)" + List = $true + ColumnWidths = 40, 60 + } + if ($Report.ShowTableCaptions) { + $TableParams['Caption'] = "- $($TableParams.Name)" + } + $PSHostInfo | Table @TableParams + } + } + } else { + Paragraph $reportTranslate.ParagraphSummary + BlankLine + $TableParams = @{ + Name = "$($reportTranslate.Heading) - $($System)" + List = $false + Columns = $reportTranslate.Name, $reportTranslate.Version, $reportTranslate.CurrentUICulture, $reportTranslate.DebuggerEnabled + ColumnWidths = 25, 25, 25, 25 + } + if ($Report.ShowTableCaptions) { + $TableParams['Caption'] = "- $($TableParams.Name)" + } + $SystemPSHostInfo | Table @TableParams + } + } + } + } + } catch { + Write-PScriboMessage -IsWarning $($_.Exception.Message) + } + } + + end {} +} \ No newline at end of file diff --git a/Src/Private/Get-AbrProcessInfo.ps1 b/Src/Private/Get-AbrProcessInfo.ps1 new file mode 100644 index 0000000..1cb3b9f --- /dev/null +++ b/Src/Private/Get-AbrProcessInfo.ps1 @@ -0,0 +1,93 @@ + +function Get-AbrProcessInfo { + <# + .SYNOPSIS + Used by As Built Report to retrieve system process information + .DESCRIPTION + + .NOTES + Version: 0.1.1 + Author: AsBuiltReport Organization + Twitter: @AsBuiltReport + Github: AsBuiltReport + .EXAMPLE + + .LINK + + #> + [CmdletBinding()] + param ( + ) + + begin { + $reportTranslate = $reportTranslate.GetAbrProcessInfo + Write-PScriboMessage ($($reportTranslate.InfoLevel) -f 'ProcessInfo', $($InfoLevel.ProcessInfo)) + } + + process { + try { + if ($InfoLevel.ProcessInfo -gt 0) { + $SystemProcess = Get-Process | Sort-Object -Property CPU -Descending | Select-Object -First 10 + if ($SystemProcess) { + Write-PScriboMessage $reportTranslate.Collecting + Section -Style Heading2 $($reportTranslate.Heading) { + $SystemProcessInfo = @() + foreach ($Process in $SystemProcess) { + $InObj = [Ordered]@{ + $($reportTranslate.Name) = $Process.ProcessName + $($reportTranslate.Id) = $Process.Id + $($reportTranslate.CPU) = & { try { [math]::Round($Process.CPU, 0) } catch { '--' } } + $($reportTranslate.Memory) = & { try { [math]::Round($Process.WorkingSet / 1MB, 0) } catch { '--' } } + $($reportTranslate.Company) = switch ([string]::IsNullOrEmpty($Process.Company)) { + $true { '--' } + $false { $Process.Company } + default { $($reportTranslate.Unknown) } + } + $($reportTranslate.Product) = switch ([string]::IsNullOrEmpty($Process.Product)) { + $true { '--' } + $false { $Process.Product } + default { $($reportTranslate.Unknown) } + } + } + $SystemProcessInfo += [PSCustomObject]$InObj + } + + if ($InfoLevel.ProcessInfo -ge 2) { + Paragraph $reportTranslate.ParagraphDetail + foreach ($Process in $SystemProcessInfo) { + Section -Style NOTOCHeading4 -ExcludeFromTOC "$($Process.($reportTranslate.Name))" { + $TableParams = @{ + Name = "$($reportTranslate.Heading) - $($Process.Name)" + List = $true + ColumnWidths = 40, 60 + } + if ($Report.ShowTableCaptions) { + $TableParams['Caption'] = "- $($TableParams.Name)" + } + $Process | Table @TableParams + } + } + } else { + Paragraph $reportTranslate.ParagraphSummary + BlankLine + $TableParams = @{ + Name = "$($reportTranslate.Heading) - $($System)" + List = $false + Columns = $($reportTranslate.Name), $($reportTranslate.Id), $($reportTranslate.CPU), $($reportTranslate.Memory) + ColumnWidths = 25, 25, 25, 25 + } + if ($Report.ShowTableCaptions) { + $TableParams['Caption'] = "- $($TableParams.Name)" + } + $SystemProcessInfo | Table @TableParams + } + } + } + } + } catch { + Write-PScriboMessage -IsWarning $($_.Exception.Message) + } + } + + end {} +} \ No newline at end of file diff --git a/Src/Private/Get-AbrTimeZone.ps1 b/Src/Private/Get-AbrTimeZone.ps1 new file mode 100644 index 0000000..710e0cf --- /dev/null +++ b/Src/Private/Get-AbrTimeZone.ps1 @@ -0,0 +1,87 @@ +function Get-AbrTimeZone { + <# + .SYNOPSIS + Used by As Built Report to retrieve system timezone information + .DESCRIPTION + + .NOTES + Version: 0.1.1 + Author: AsBuiltReport Organization + Twitter: @AsBuiltReport + Github: AsBuiltReport + .EXAMPLE + + .LINK + + #> + [CmdletBinding()] + param ( + ) + + begin { + $reportTranslate = $reportTranslate.GetAbrTimeZone + Write-PScriboMessage ($($reportTranslate.InfoLevel) -f 'TimeZone', $($InfoLevel.TimeZone)) + } + + process { + try { + if ($InfoLevel.TimeZone -gt 0) { + $SystemTimeZone = Get-TimeZone + if ($SystemTimeZone) { + Write-PScriboMessage $reportTranslate.Collecting + Section -Style Heading2 $($reportTranslate.Heading) { + $SystemTimeZoneInfo = @() + foreach ($TimeZone in $SystemTimeZone) { + $InObj = [Ordered]@{ + $($reportTranslate.TimeZone) = $TimeZone.Id + $($reportTranslate.DisplayName) = $TimeZone.DisplayName + $($reportTranslate.CurrentTime) = Get-Date -DisplayHint Time + $($reportTranslate.BaseUTCOffset) = $TimeZone.BaseUtcOffset + $($reportTranslate.SupportsDaylightSavingTime) = switch ($TimeZone.SupportsDaylightSavingTime) { + $true { $($reportTranslate.Yes) } + $false { $($reportTranslate.No) } + default { $($reportTranslate.Unknown) } + } + } + $SystemTimeZoneInfo += [PSCustomObject]$InObj + } + + if ($InfoLevel.TimeZone -ge 2) { + Paragraph $reportTranslate.ParagraphDetail + foreach ($TimeZoneInfo in $SystemTimeZoneInfo) { + Section -Style NOTOCHeading4 -ExcludeFromTOC "$($System)" { + $TableParams = @{ + Name = "$($reportTranslate.Heading) - $($System)" + List = $true + ColumnWidths = 40, 60 + } + if ($Report.ShowTableCaptions) { + $TableParams['Caption'] = "- $($TableParams.Name)" + } + $TimeZoneInfo | Table @TableParams + } + } + } else { + Paragraph $reportTranslate.ParagraphSummary + BlankLine + $TableParams = @{ + Name = "$($reportTranslate.Heading) - $($System)" + List = $false + Columns = $reportTranslate.TimeZone, $reportTranslate.DisplayName, $reportTranslate.CurrentTime, $reportTranslate.BaseUTCOffset, $reportTranslate.SupportsDaylightSavingTime + ColumnWidths = 20, 20, 20, 20, 20 + } + if ($Report.ShowTableCaptions) { + $TableParams['Caption'] = "- $($TableParams.Name)" + } + $SystemTimeZoneInfo | Table @TableParams + } + } + } + } + } catch { + Write-PScriboMessage -IsWarning $($_.Exception.Message) + } + } + + end {} +} \ No newline at end of file diff --git a/Src/Private/Get-AbrUptime.ps1 b/Src/Private/Get-AbrUptime.ps1 new file mode 100644 index 0000000..ad1e63b --- /dev/null +++ b/Src/Private/Get-AbrUptime.ps1 @@ -0,0 +1,84 @@ + +function Get-AbrUptime { + <# + .SYNOPSIS + Used by As Built Report to retrieve system uptime information + .DESCRIPTION + + .NOTES + Version: 0.1.1 + Author: AsBuiltReport Organization + Twitter: @AsBuiltReport + Github: AsBuiltReport + .EXAMPLE + + .LINK + + #> + [CmdletBinding()] + param ( + ) + + begin { + $reportTranslate = $reportTranslate.GetAbrUptime + Write-PScriboMessage ($($reportTranslate.InfoLevel) -f 'Uptime', $($InfoLevel.Uptime)) + } + + process { + try { + if ($InfoLevel.Uptime -gt 0) { + $SystemUptime = switch ($PSVersionTable.PSEdition) { + 'Core' { Get-Uptime } + 'Desktop' { Get-SystemUptime } + default { $null } + } + if ($SystemUptime) { + Write-PScriboMessage $reportTranslate.Collecting + Section -Style Heading2 $($reportTranslate.Heading) { + $SystemUptimeInfo = @() + foreach ($Uptime in $SystemUptime) { + $InObj = [Ordered]@{ + $($reportTranslate.Uptime) = $Uptime.ToString("hh'h 'mm'm 'ss's'") + } + $SystemUptimeInfo += [PSCustomObject]$InObj + } + + if ($InfoLevel.Uptime -ge 2) { + Paragraph $reportTranslate.ParagraphDetail + foreach ($UptimeInfo in $SystemUptimeInfo) { + Section -Style NOTOCHeading4 -ExcludeFromTOC "$($System)" { + $TableParams = @{ + Name = "$($reportTranslate.Heading) - $($System)" + List = $true + ColumnWidths = 40, 60 + } + if ($Report.ShowTableCaptions) { + $TableParams['Caption'] = "- $($TableParams.Name)" + } + $UptimeInfo | Table @TableParams + } + } + } else { + Paragraph $reportTranslate.ParagraphSummary + BlankLine + $TableParams = @{ + Name = "$($reportTranslate.Heading) - $($System)" + List = $false + Columns = $reportTranslate.Uptime + ColumnWidths = 100 + } + if ($Report.ShowTableCaptions) { + $TableParams['Caption'] = "- $($TableParams.Name)" + } + $SystemUptimeInfo | Table @TableParams + } + } + } + } + } catch { + Write-PScriboMessage -IsWarning $($_.Exception.Message) + } + } + + end {} +} \ No newline at end of file diff --git a/Src/Private/Get-SystemUptime.ps1 b/Src/Private/Get-SystemUptime.ps1 new file mode 100644 index 0000000..74cc25d --- /dev/null +++ b/Src/Private/Get-SystemUptime.ps1 @@ -0,0 +1,5 @@ +function Get-SystemUptime { + $operatingSystem = Get-CimInstance -ClassName Win32_OperatingSystem | Select-Object LastBootUpTime + $Uptime = "$((Get-Date) - ($operatingSystem.LastBootUpTime))" + return [TimeSpan]$Uptime +} \ No newline at end of file diff --git a/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 b/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 new file mode 100644 index 0000000..5f2072f --- /dev/null +++ b/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 @@ -0,0 +1,77 @@ +function Invoke-AsBuiltReport.System.Resources { + <# + .SYNOPSIS + PowerShell script to document the configuration of System Resources in Word/HTML/Text formats + .DESCRIPTION + Documents the configuration of System Resources in Word/HTML/Text formats using PScribo. + .NOTES + Version: 0.1.1 + Author: AsBuiltReport Organization + Twitter: @AsBuiltReport + Github: AsBuiltReport + Credits: Iain Brighton (@iainbrighton) - PScribo module + + .LINK + https://github.com/AsBuiltReport/AsBuiltReport.System.Resources + #> + + [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingWriteHost", "", Scope = "Script")] + [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseSingularNouns", "", Scope = "Script")] + + + # Do not remove or add to these parameters + param ( + [String[]] $Target, + [PSCredential] $Credential + ) + + Write-Host $reportTranslate.InvokeAsBuiltReportSystemResources.Message1 + Write-Host $reportTranslate.InvokeAsBuiltReportSystemResources.Message2 + Write-Host $reportTranslate.InvokeAsBuiltReportSystemResources.Message3 + Write-Host $reportTranslate.InvokeAsBuiltReportSystemResources.Message4 + Write-Host $reportTranslate.InvokeAsBuiltReportSystemResources.Message5 + + # Check the version of the dependency modules + $ModuleArray = @('AsBuiltReport.System.Resources', 'Diagrammer.Core') + + foreach ($Module in $ModuleArray) { + try { + $InstalledVersion = Get-Module -ListAvailable -Name $Module -ErrorAction SilentlyContinue | Sort-Object -Property Version -Descending | Select-Object -First 1 -ExpandProperty Version + + if ($InstalledVersion) { + Write-Host ($reportTranslate.InvokeAsBuiltReportSystemResources.ModuleStatus -f $Module, "v$($InstalledVersion.ToString())") + $LatestVersion = Find-Module -Name $Module -Repository PSGallery -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Version + if ($InstalledVersion -lt $LatestVersion) { + Write-Host -ForegroundColor Red ($reportTranslate.InvokeAsBuiltReportSystemResources.ModuleAvailable -f $Module, "v$($LatestVersion.ToString())") + + Write-Host -ForegroundColor Red ($reportTranslate.InvokeAsBuiltReportSystemResources.ModuleUpdateCmd -f $Module) + } + } + } catch { + Write-PScriboMessage -IsWarning $_.Exception.Message + } + } + + # Import Report Configuration + $Report = $ReportConfig.Report + $InfoLevel = $ReportConfig.InfoLevel + $Options = $ReportConfig.Options + + # Used to set values to TitleCase where required + $TextInfo = (Get-Culture).TextInfo + + # Update/rename the $System variable and build out your code within the ForEach loop. The ForEach loop enables AsBuiltReport to generate an as built configuration against multiple defined targets. + + #region foreach loop + foreach ($System in $Target) { + Section -Style Heading1 "$($System.ToUpper())" { + Get-AbrDate + Get-AbrTimeZone + Get-AbrUptime + Get-AbrPSHost + Get-AbrProcessInfo + } + + } + #endregion foreach loop +} diff --git a/Todo.md b/Todo.md new file mode 100644 index 0000000..e69de29 From 78ee91160e44f26ffd70ce0346f70cd4987b674f Mon Sep 17 00:00:00 2001 From: Jonathan Colon Date: Wed, 8 Oct 2025 17:02:09 -0400 Subject: [PATCH 3/9] Remove unused module dependency 'Diagrammer.Core' from the module manifest --- AsBuiltReport.System.Resources.psd1 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/AsBuiltReport.System.Resources.psd1 b/AsBuiltReport.System.Resources.psd1 index 3eb1df0..4645302 100644 --- a/AsBuiltReport.System.Resources.psd1 +++ b/AsBuiltReport.System.Resources.psd1 @@ -56,10 +56,6 @@ @{ ModuleName = 'AsBuiltReport.Core'; ModuleVersion = '1.4.3' - }, - @{ - ModuleName = 'Diagrammer.Core'; - ModuleVersion = '0.2.31' } ) From b705ce83db049760af8d64d060e4a701a970b6e6 Mon Sep 17 00:00:00 2001 From: Tim Carman Date: Thu, 9 Oct 2025 16:21:56 +1100 Subject: [PATCH 4/9] Add language translations - Add translations for all parent languages - Update module documentation --- .github/FUNDING.yml | 15 ++ .github/workflows/Stale.yml | 18 ++ AsBuiltReport.System.Resources.psd1 | 16 +- CODE_OF_CONDUCT.md | 146 ++++++++++++ CONTRIBUTING.md | 222 ++++++++++++++++++ Language/ar-SA/SystemResources.psd1 | 79 +++++++ Language/cs-CZ/SystemResources.psd1 | 79 +++++++ Language/da-DK/SystemResources.psd1 | 79 +++++++ Language/de-DE/SystemResources.psd1 | 79 +++++++ Language/el-GR/SystemResources.psd1 | 79 +++++++ Language/en-GB/SystemResources.psd1 | 79 +++++++ Language/en-US/SystemResources.psd1 | 13 - Language/es-ES/SystemResources.psd1 | 33 +-- Language/fi-FI/SystemResources.psd1 | 79 +++++++ Language/fr-FR/SystemResources.psd1 | 25 +- Language/he-IL/SystemResources.psd1 | 79 +++++++ Language/hi-IN/SystemResources.psd1 | 79 +++++++ Language/hu-HU/SystemResources.psd1 | 79 +++++++ Language/it-IT/SystemResources.psd1 | 79 +++++++ Language/ja-JP/SystemResources.psd1 | 79 +++++++ Language/ko-KR/SystemResources.psd1 | 79 +++++++ Language/nb-NO/SystemResources.psd1 | 79 +++++++ Language/nl-NL/SystemResources.psd1 | 79 +++++++ Language/pl-PL/SystemResources.psd1 | 79 +++++++ Language/pt-PT/SystemResources.psd1 | 79 +++++++ Language/ru-RU/SystemResources.psd1 | 79 +++++++ Language/sv-SE/SystemResources.psd1 | 79 +++++++ Language/th-TH/SystemResources.psd1 | 79 +++++++ Language/tr-TR/SystemResources.psd1 | 79 +++++++ Language/vi-VN/SystemResources.psd1 | 79 +++++++ Language/zh-CN/SystemResources.psd1 | 79 +++++++ Language/zh-Hans/SystemResources.psd1 | 79 +++++++ Language/zh-Hant/SystemResources.psd1 | 79 +++++++ README.md | 33 ++- README.md.bak | 1 - SECURITY.md | 57 +++++ .../Invoke-AsBuiltReport.System.Resources.ps1 | 28 +-- 37 files changed, 2493 insertions(+), 89 deletions(-) create mode 100644 .github/FUNDING.yml create mode 100644 .github/workflows/Stale.yml create mode 100644 CODE_OF_CONDUCT.md create mode 100644 CONTRIBUTING.md create mode 100644 Language/ar-SA/SystemResources.psd1 create mode 100644 Language/cs-CZ/SystemResources.psd1 create mode 100644 Language/da-DK/SystemResources.psd1 create mode 100644 Language/de-DE/SystemResources.psd1 create mode 100644 Language/el-GR/SystemResources.psd1 create mode 100644 Language/en-GB/SystemResources.psd1 create mode 100644 Language/fi-FI/SystemResources.psd1 create mode 100644 Language/he-IL/SystemResources.psd1 create mode 100644 Language/hi-IN/SystemResources.psd1 create mode 100644 Language/hu-HU/SystemResources.psd1 create mode 100644 Language/it-IT/SystemResources.psd1 create mode 100644 Language/ja-JP/SystemResources.psd1 create mode 100644 Language/ko-KR/SystemResources.psd1 create mode 100644 Language/nb-NO/SystemResources.psd1 create mode 100644 Language/nl-NL/SystemResources.psd1 create mode 100644 Language/pl-PL/SystemResources.psd1 create mode 100644 Language/pt-PT/SystemResources.psd1 create mode 100644 Language/ru-RU/SystemResources.psd1 create mode 100644 Language/sv-SE/SystemResources.psd1 create mode 100644 Language/th-TH/SystemResources.psd1 create mode 100644 Language/tr-TR/SystemResources.psd1 create mode 100644 Language/vi-VN/SystemResources.psd1 create mode 100644 Language/zh-CN/SystemResources.psd1 create mode 100644 Language/zh-Hans/SystemResources.psd1 create mode 100644 Language/zh-Hant/SystemResources.psd1 delete mode 100644 README.md.bak create mode 100644 SECURITY.md diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..76fff57 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,15 @@ +# These are supported funding model platforms + +#github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +#patreon: # Replace with a single Patreon username +#open_collective: # Replace with a single Open Collective username +ko_fi: F1F8DEV80 +#tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +#community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +#liberapay: # Replace with a single Liberapay username +#issuehunt: # Replace with a single IssueHunt username +#lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +#polar: # Replace with a single Polar username +#buy_me_a_coffee: # Replace with a single Buy Me a Coffee username +#thanks_dev: # Replace with a single thanks.dev username +#custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/.github/workflows/Stale.yml b/.github/workflows/Stale.yml new file mode 100644 index 0000000..afebe72 --- /dev/null +++ b/.github/workflows/Stale.yml @@ -0,0 +1,18 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.' + days-before-stale: 30 + days-before-close: 7 + exempt-pr-labels: 'help wanted,enhancement,security,pinned' + stale-pr-label: 'wontfix' + stale-issue-label: 'wontfix' + exempt-issue-labels: 'help wanted,enhancement,security,pinned' diff --git a/AsBuiltReport.System.Resources.psd1 b/AsBuiltReport.System.Resources.psd1 index 4645302..42717d8 100644 --- a/AsBuiltReport.System.Resources.psd1 +++ b/AsBuiltReport.System.Resources.psd1 @@ -24,7 +24,7 @@ Author = 'Jonathan Colon' # Company or vendor of this module - CompanyName = 'Unknown' + # CompanyName = 'Unknown' # Copyright statement for this module Copyright = '(c) 2025 Jonathan Colon. All rights reserved.' @@ -78,13 +78,13 @@ FunctionsToExport = @('Invoke-AsBuiltReport.System.Resources') # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. - CmdletsToExport = @() + # CmdletsToExport = @() # Variables to export from this module - VariablesToExport = @() + # VariablesToExport = @() # Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. - AliasesToExport = @() + # AliasesToExport = @() # DSC resources to export from this module # DscResourcesToExport = @() @@ -101,16 +101,16 @@ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - # Tags = @() + Tags = 'AsBuiltReport', 'Report', 'Documentation', 'PScribo', 'Windows', 'Linux', 'MacOS', 'PSEdition_Desktop', 'PSEdition_Core' # A URL to the license for this module. - # LicenseUri = '' + LicenseUri = 'https://raw.githubusercontent.com/AsBuiltReport/AsBuiltReport.System.Resources/master/LICENSE' # A URL to the main website for this project. - # ProjectUri = '' + ProjectUri = 'https://github.com/AsBuiltReport/AsBuiltReport.System.Resources' # A URL to an icon representing this module. - # IconUri = '' + IconUri = 'https://raw.githubusercontent.com/AsBuiltReport/.github/main/profile/images/AsBuiltReport.png' # ReleaseNotes of this module # ReleaseNotes = '' diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..542cf84 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,146 @@ +# Code of Conduct + +The AsBuiltReport project is committed to fostering an open and welcoming environment for all contributors, users, and community members. + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our +community a harassment-free experience for everyone, regardless of age, body +size, visible or invisible disability, ethnicity, sex characteristics, gender +identity and expression, level of experience, education, socio-economic status, +nationality, personal appearance, race, religion, or sexual identity +and orientation. + +We pledge to act and interact in ways that contribute to an open, welcoming, +diverse, inclusive, and healthy community. + +## Our Standards + +Examples of behavior that contributes to a positive environment for our +community include: + +* Demonstrating empathy and kindness toward other people +* Being respectful of differing opinions, viewpoints, and experiences +* Giving and gracefully accepting constructive feedback +* Accepting responsibility and apologizing to those affected by our mistakes, + and learning from the experience +* Focusing on what is best not just for us as individuals, but for the + overall community + +Examples of unacceptable behavior include: + +* The use of sexualized language or imagery, and sexual attention or + advances of any kind +* Trolling, insulting or derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or email + address, without their explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Technical Disagreements + +Technical disagreements are a normal part of open source development. When disagreements arise: + +* Focus on the technical merits of the solution +* Assume good intentions from all parties +* Seek to understand different perspectives +* Escalate to maintainers if consensus cannot be reached + +## Enforcement Responsibilities + +Community leaders are responsible for clarifying and enforcing our standards of +acceptable behavior and will take appropriate and fair corrective action in +response to any behavior that they deem inappropriate, threatening, offensive, +or harmful. + +Community leaders have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, and will communicate reasons for moderation +decisions when appropriate. + +## Scope + +This Code of Conduct applies within all AsBuiltReport community spaces, including: + +* GitHub repositories (issues, pull requests, discussions) +* Official social media channels +* Community chat platforms +* Project events and meetups + +It also applies when an individual is officially representing the AsBuiltReport community in public spaces. +Examples of representing our community include using an official e-mail address, +posting via an official social media account, or acting as an appointed +representative at an online or offline event. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported to the community leaders responsible for enforcement at +support@asbuiltreport.com. + +All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the +reporter of any incident. + +## Enforcement Guidelines + +Community leaders will follow these Community Impact Guidelines in determining +the consequences for any action they deem in violation of this Code of Conduct: + +### 1. Correction + +**Community Impact**: Use of inappropriate language or other behavior deemed +unprofessional or unwelcome in the community. + +**Consequence**: A private, written warning from community leaders, providing +clarity around the nature of the violation and an explanation of why the +behavior was inappropriate. A public apology may be requested. + +### 2. Warning + +**Community Impact**: A violation through a single incident or series +of actions. + +**Consequence**: A warning with consequences for continued behavior. No +interaction with the people involved, including unsolicited interaction with +those enforcing the Code of Conduct, for a specified period of time. This +includes avoiding interactions in community spaces as well as external channels +like social media. Violating these terms may lead to a temporary or +permanent ban. + +### 3. Temporary Ban + +**Community Impact**: A serious violation of community standards, including +sustained inappropriate behavior. + +**Consequence**: A temporary ban from any sort of interaction or public +communication with the community for a specified period of time. No public or +private interaction with the people involved, including unsolicited interaction +with those enforcing the Code of Conduct, is allowed during this period. +Violating these terms may lead to a permanent ban. + +### 4. Permanent Ban + +**Community Impact**: Demonstrating a pattern of violation of community +standards, including sustained inappropriate behavior, harassment of an +individual, or aggression toward or disparagement of classes of individuals. + +**Consequence**: A permanent ban from any sort of public interaction within +the community. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version 2.0, available at +https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. + +Community Impact Guidelines were inspired by [Mozilla's code of conduct +enforcement ladder](https://github.com/mozilla/diversity). + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see the FAQ at +https://www.contributor-covenant.org/faq. Translations are available at +https://www.contributor-covenant.org/translations. \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..554a4a7 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,222 @@ +# Contributing to AsBuiltReport.System.Resources + +Your contribution is welcomed and appreciated! Thank you for taking the time to contribute to this project. + +Please take a moment to review this document to make the contribution process easy and effective for everyone involved. + +Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue or assessing patches and features. + +## Ways to Contribute + +Contributing to this project is as easy as: + +- Reporting bugs and issues +- Proposing new features +- Discussing the current state of the code +- Submitting fixes and improvements +- Creating new report modules +- Improving documentation + +For comprehensive contribution guidelines, please visit our [Developer Guide](https://www.asbuiltreport.com/dev-guide/contributing). + +## Getting Started + +### Prerequisites + +- A [GitHub account](https://github.com/signup/free) +- Git installed on your local machine +- PowerShell 5.1 or PowerShell 7+ +- [Visual Studio Code](https://code.visualstudio.com/) (recommended) + +### Learning Resources + +If you're new to Git and GitHub: + +- [GitHub's guide on Forking](https://docs.github.com/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks) +- [GitHub's guide on Contributing to Open Source](https://docs.github.com/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github) +- [Understanding the GitHub Flow](https://docs.github.com/get-started/quickstart/github-flow) + +## Using the Issue Tracker + +The issue tracker is the preferred channel for bug reports, feature requests, and submitting pull requests. Please respect the following: + +- **Do not** use the issue tracker for personal support requests. Use [Stack Overflow](http://stackoverflow.com) or community forums instead. +- **Do not** derail or troll issues. Keep discussions on topic and respect the opinions of others. +- Search existing issues (both open and closed) before creating a new one to avoid duplicates. + +## Reporting Bugs + +A bug is a demonstrable problem that is caused by the code in the repository. Good bug reports are extremely helpful! + +### Before Submitting a Bug Report + +Please perform the following due diligence: + +1. **Read the documentation** - Check the `README` in the AsBuiltReport.System.Resources repository, including Supported Versions, System Requirements, and Module Installation sections. +2. **Update to the latest version** - Your issue may already be fixed in the most recent release. +3. **Check dependencies** - Try upgrading or downgrading vendor PowerShell modules if applicable. +4. **Use the `-Verbose` parameter** - This may help identify the issue. +5. **Test with InfoLevels** - Set all InfoLevels to 0 in your report config, then gradually increase them to isolate the problem. +6. **Try older versions** - If you're on the latest release, try rolling back to see if the problem exists in earlier versions. +7. **Search existing issues** - Make sure it's not a known issue. + +### What to Include in Bug Reports + +A good bug report should include: + +- A quick summary and/or background of the issue +- Software versions: + - AsBuiltReport module versions (e.g., AsBuiltReport.Core v1.4.3) + - PowerShell version (e.g., Windows PowerShell 5.1 or PowerShell 7.4) + - Operating System (e.g., Windows Server 2022) +- Steps to reproduce: + - Be specific + - Provide the full command line you executed + - Include sample code if applicable + - Upload screenshots if helpful +- What you expected to happen +- What actually happened +- Additional notes (why you think this might be happening, troubleshooting steps you've tried) + +## Feature Requests + +Feature requests are welcome! Please provide as much detail and context as possible about: + +- The problem you're trying to solve +- Why this feature would be valuable +- How you envision it working +- Any examples from other tools or projects + +It's up to you to make a strong case for the merits of this feature. Keep in mind that features should fit within the scope and aims of the project. + +## Pull Requests + +Good pull requests (patches, improvements, new features) are a fantastic help. They should remain focused in scope and avoid containing unrelated commits. + +**Please ask first** before embarking on any significant pull request (e.g., implementing features, refactoring code), otherwise you risk spending time on something that might not be merged. + +### Creating Quality Pull Requests + +A good quality pull request will have: + +- **A meaningful title** describing what change you're making (not just "Fix issue #5") + - Use present tense and imperative mood: "Add support for Server 2022" not "Added support" + - "Fix connection timeout" not "Fixed for connection issue" +- **A clear description** summarizing the changes and their benefits + - Reference related issues (e.g., "Fix #11") + - First sentence should explain the benefit to end users +- **Focused scope** - Avoid PRs with too many changes; split large features into smaller PRs +- **Updated documentation**: + - Update `CHANGELOG.md` with add/remove/fix/change information + - Update `README.md` with new features, instructions, parameters, or examples +- **Well-written commits** that tell the story of the development +- **Code quality** meeting project best practices + +### Submitting Pull Requests + +Always create pull requests against the `dev` branch: + +1. Fork the AsBuiltReport repository + +2. Clone your fork and add the upstream remote: + ```bash + git clone https://github.com//AsBuiltReport.System.Resources + cd AsBuiltReport.System.Resources + git remote add upstream https://github.com/AsBuiltReport/AsBuiltReport.System.Resources + ``` + +3. Create a new feature branch from `dev`: + ```bash + git checkout dev + git pull upstream dev + git checkout -b + ``` + +4. Make your changes and commit with clear messages + +5. Update documentation (`CHANGELOG.md` and `README.md`) + +6. Squash commits into one or two succinct commits if needed: + ```bash + git rebase -i HEAD~n # n being the number of commits to rebase + ``` + +7. Ensure your branch is up to date with upstream: + ```bash + git fetch upstream + git rebase upstream/dev + ``` + +8. Push your branch to your fork: + ```bash + git push --force origin + ``` + +9. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/) against the `dev` branch + +Pull requests will be reviewed as soon as possible. Please follow the PR template provided in the repository. + +## Code Contributions + +### Code Editor + +We highly recommend using [Visual Studio Code](https://code.visualstudio.com/) for development. + +### Coding Standards + +Code contributors should follow the [PowerShell Best Practices and Style Guide](https://github.com/PoshCode/PowerShellPracticeAndStyle) to ensure consistency. + +Use [PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer) to check code quality. + +### DO + +- Use PascalCasing for all public member, type, and namespace names +- Use custom label headers within tables for readability +- Favor readability over brevity +- Use PSCustomObjects to store data for PScribo tables: + ```powershell + $myObject = [PSCustomObject]@{ + Name = 'Value' + Property = 'Value' + } + + $TableParams = @{ + Name = 'Table Name' + List = $true + ColumnWidths = 40, 60 + } + + if ($Report.ShowTableCaptions) { + $TableParams['Caption'] = "- $($TableParams.Name)" + } + + $myObject | Table @TableParams + ``` +- Set ColumnWidths for all tables (list tables typically use 40, 60) +- Sort primary object properties in alphanumeric order +- Perform all safe commands (Get-*, API calls) at the start of scripts +- Use comments in English to explain reasoning, not to describe commands +- Maintain a changelog following [Keep a Changelog](https://keepachangelog.com/) guidelines + +### DO NOT + +- Include functions within report scripts (create separate files in `\Src\Private`) +- Submit unrelated changes in the same pull request + +## Version Control Branching + +- Always create a new branch for your work +- Base your branch off `dev` +- Avoid submitting unrelated changes (bug fixes & new features) in the same branch + +## Questions and Discussion + +If you have questions or want to discuss contributions: + +- Raise an issue in the AsBuiltReport.System.Resources [repository](https://github.com/AsBuiltReport/AsBuiltReport.System.Resources) +- Email us at support@asbuiltreport.com +- Visit our website at [www.asbuiltreport.com](https://www.asbuiltreport.com) + +## License + +By submitting a patch, you agree to allow the project owner to license your work under the [MIT License](https://www.asbuiltreport.com/about/license/). \ No newline at end of file diff --git a/Language/ar-SA/SystemResources.psd1 b/Language/ar-SA/SystemResources.psd1 new file mode 100644 index 0000000..7d85c96 --- /dev/null +++ b/Language/ar-SA/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'ar-SA' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} تم تعيين InfoLevel على {1}. + Collecting = جمع معلومات تاريخ النظام. + ParagraphDetail = تفصل الأقسام التالية تاريخ النظام. + ParagraphSummary = يلخص الجدول التالي تاريخ النظام. + Heading = التاريخ + + Date = التاريخ + Hour = الساعة +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} تم تعيين InfoLevel على {1}. + Collecting = جمع معلومات عمليات النظام. + ParagraphDetail = تفصل الأقسام التالية عمليات النظام. + ParagraphSummary = يلخص الجدول التالي أهم 10 عمليات للنظام. لمزيد من المعلومات التفصيلية، يرجى تعيين قيمة InfoLevel.ProcessInfo على 2 في ملف تكوين التقرير الخاص بك. مرتبة حسب استخدام CPU. + Heading = العمليات + + Name = الاسم + Id = المعرف + CPU = CPU (%) + Memory = الذاكرة (MB) + Company = الشركة + Product = المنتج + Unknown = غير معروف +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} تم تعيين InfoLevel على {1}. + Collecting = جمع معلومات المنطقة الزمنية للنظام. + ParagraphDetail = تفصل الأقسام التالية المنطقة الزمنية للنظام. + ParagraphSummary = يلخص الجدول التالي المنطقة الزمنية للنظام. + Heading = المنطقة الزمنية + + TimeZone = المنطقة الزمنية + Id = المعرف + DisplayName = اسم العرض + CurrentTime = الوقت الحالي + BaseUTCOffset = إزاحة UTC الأساسية + SupportsDaylightSavingTime = يدعم التوقيت الصيفي + Yes = نعم + No = لا + Unknown = غير معروف +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} تم تعيين InfoLevel على {1}. + Collecting = جمع معلومات وقت تشغيل النظام. + ParagraphDetail = تفصل الأقسام التالية وقت تشغيل النظام. + ParagraphSummary = يلخص الجدول التالي وقت تشغيل النظام. + Heading = وقت التشغيل + + Uptime = وقت التشغيل +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} تم تعيين InfoLevel على {1}. + Collecting = جمع معلومات مضيف PowerShell للنظام. + ParagraphDetail = تفصل الأقسام التالية مضيف PowerShell للنظام. + ParagraphSummary = يلخص الجدول التالي مضيف PowerShell للنظام. + Heading = مضيف PowerShell + + Name = الاسم + Version = الإصدار + CurrentCulture = الثقافة الحالية + CurrentUICulture = ثقافة UI الحالية + DebuggerEnabled = المصحح مفعل + Yes = نعم + No = لا + Unknown = غير معروف +'@ +} diff --git a/Language/cs-CZ/SystemResources.psd1 b/Language/cs-CZ/SystemResources.psd1 new file mode 100644 index 0000000..cd0b13b --- /dev/null +++ b/Language/cs-CZ/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'cs-CZ' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel nastaven na {1}. + Collecting = Shromažďování informací o systémovém datu. + ParagraphDetail = Následující části podrobně popisují systémové datum. + ParagraphSummary = Následující tabulka shrnuje systémové datum. + Heading = Datum + + Date = Datum + Hour = Hodina +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel nastaven na {1}. + Collecting = Shromažďování informací o systémových procesech. + ParagraphDetail = Následující části podrobně popisují systémové procesy. + ParagraphSummary = Následující tabulka shrnuje top 10 systémových procesů. Pro podrobnější informace nastavte hodnotu InfoLevel.ProcessInfo na 2 v konfiguračním souboru sestavy. Seřazeno podle využití CPU. + Heading = Procesy + + Name = Název + Id = Id + CPU = CPU (%) + Memory = Paměť (MB) + Company = Společnost + Product = Produkt + Unknown = Neznámý +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel nastaven na {1}. + Collecting = Shromažďování informací o systémovém časovém pásmu. + ParagraphDetail = Následující části podrobně popisují systémové časové pásmo. + ParagraphSummary = Následující tabulka shrnuje systémové časové pásmo. + Heading = Časové pásmo + + TimeZone = Časové pásmo + Id = Id + DisplayName = Zobrazovaný název + CurrentTime = Aktuální čas + BaseUTCOffset = Základní UTC offset + SupportsDaylightSavingTime = Podpora letního času + Yes = Ano + No = Ne + Unknown = Neznámý +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel nastaven na {1}. + Collecting = Shromažďování informací o době provozu systému. + ParagraphDetail = Následující části podrobně popisují dobu provozu systému. + ParagraphSummary = Následující tabulka shrnuje dobu provozu systému. + Heading = Doba provozu + + Uptime = Doba provozu +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel nastaven na {1}. + Collecting = Shromažďování informací o hostiteli PowerShell systému. + ParagraphDetail = Následující části podrobně popisují hostitele PowerShell systému. + ParagraphSummary = Následující tabulka shrnuje hostitele PowerShell systému. + Heading = Hostitel PowerShell + + Name = Název + Version = Verze + CurrentCulture = Aktuální kultura + CurrentUICulture = Aktuální kultura UI + DebuggerEnabled = Debugger povolen + Yes = Ano + No = Ne + Unknown = Neznámý +'@ +} diff --git a/Language/da-DK/SystemResources.psd1 b/Language/da-DK/SystemResources.psd1 new file mode 100644 index 0000000..7580376 --- /dev/null +++ b/Language/da-DK/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'da-DK' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel indstillet til {1}. + Collecting = Indsamler systembeskrivelser for dato. + ParagraphDetail = Følgende afsnit beskriver systemdatoen. + ParagraphSummary = Følgende tabel opsummerer systemdatoen. + Heading = Dato + + Date = Dato + Hour = Time +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel indstillet til {1}. + Collecting = Indsamler information om systemprocesser. + ParagraphDetail = Følgende afsnit beskriver systemprocesserne. + ParagraphSummary = Følgende tabel opsummerer de top 10 systemprocesser. For mere detaljeret information skal du indstille InfoLevel.ProcessInfo værdien til 2 i din rapportkonfigurationsfil. Sorteret efter CPU-brug. + Heading = Processer + + Name = Navn + Id = Id + CPU = CPU (%) + Memory = Hukommelse (MB) + Company = Virksomhed + Product = Produkt + Unknown = Ukendt +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel indstillet til {1}. + Collecting = Indsamler information om systemets tidszone. + ParagraphDetail = Følgende afsnit beskriver systemets tidszone. + ParagraphSummary = Følgende tabel opsummerer systemets tidszone. + Heading = Tidszone + + TimeZone = Tidszone + Id = Id + DisplayName = Visningsnavn + CurrentTime = Aktuel tid + BaseUTCOffset = Basis UTC-forskydning + SupportsDaylightSavingTime = Understøtter sommertid + Yes = Ja + No = Nej + Unknown = Ukendt +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel indstillet til {1}. + Collecting = Indsamler information om systemets oppetid. + ParagraphDetail = Følgende afsnit beskriver systemets oppetid. + ParagraphSummary = Følgende tabel opsummerer systemets oppetid. + Heading = Oppetid + + Uptime = Oppetid +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel indstillet til {1}. + Collecting = Indsamler information om systemets PowerShell Host. + ParagraphDetail = Følgende afsnit beskriver systemets PowerShell Host. + ParagraphSummary = Følgende tabel opsummerer systemets PowerShell Host. + Heading = PowerShell Host + + Name = Navn + Version = Version + CurrentCulture = Aktuel kultur + CurrentUICulture = Aktuel UI-kultur + DebuggerEnabled = Debugger aktiveret + Yes = Ja + No = Nej + Unknown = Ukendt +'@ +} diff --git a/Language/de-DE/SystemResources.psd1 b/Language/de-DE/SystemResources.psd1 new file mode 100644 index 0000000..71f4574 --- /dev/null +++ b/Language/de-DE/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'de-DE' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel auf {1} gesetzt. + Collecting = Sammeln von Systemdatumsinformationen. + ParagraphDetail = Die folgenden Abschnitte beschreiben das Systemdatum. + ParagraphSummary = Die folgende Tabelle fasst das Systemdatum zusammen. + Heading = Datum + + Date = Datum + Hour = Stunde +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel auf {1} gesetzt. + Collecting = Sammeln von Systemprozessinformationen. + ParagraphDetail = Die folgenden Abschnitte beschreiben die Systemprozesse. + ParagraphSummary = Die folgende Tabelle fasst die Top 10 Systemprozesse zusammen. Für detailliertere Informationen setzen Sie bitte den Wert InfoLevel.ProcessInfo in Ihrer Berichtskonfigurationsdatei auf 2. Sortiert nach CPU-Auslastung. + Heading = Prozesse + + Name = Name + Id = Id + CPU = CPU (%) + Memory = Speicher (MB) + Company = Unternehmen + Product = Produkt + Unknown = Unbekannt +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel auf {1} gesetzt. + Collecting = Sammeln von Systemzeitzoneninformationen. + ParagraphDetail = Die folgenden Abschnitte beschreiben die Systemzeitzone. + ParagraphSummary = Die folgende Tabelle fasst die Systemzeitzone zusammen. + Heading = Zeitzone + + TimeZone = Zeitzone + Id = Id + DisplayName = Anzeigename + CurrentTime = Aktuelle Zeit + BaseUTCOffset = Basis UTC-Verschiebung + SupportsDaylightSavingTime = Unterstützt Sommerzeit + Yes = Ja + No = Nein + Unknown = Unbekannt +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel auf {1} gesetzt. + Collecting = Sammeln von Systembetriebszeitinformationen. + ParagraphDetail = Die folgenden Abschnitte beschreiben die Systembetriebszeit. + ParagraphSummary = Die folgende Tabelle fasst die Systembetriebszeit zusammen. + Heading = Betriebszeit + + Uptime = Betriebszeit +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel auf {1} gesetzt. + Collecting = Sammeln von System PowerShell Host-Informationen. + ParagraphDetail = Die folgenden Abschnitte beschreiben den System PowerShell Host. + ParagraphSummary = Die folgende Tabelle fasst den System PowerShell Host zusammen. + Heading = PowerShell Host + + Name = Name + Version = Version + CurrentCulture = Aktuelle Kultur + CurrentUICulture = Aktuelle UI-Kultur + DebuggerEnabled = Debugger aktiviert + Yes = Ja + No = Nein + Unknown = Unbekannt +'@ +} diff --git a/Language/el-GR/SystemResources.psd1 b/Language/el-GR/SystemResources.psd1 new file mode 100644 index 0000000..6568f5b --- /dev/null +++ b/Language/el-GR/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'el-GR' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ορίστηκε σε {1}. + Collecting = Συλλογή πληροφοριών ημερομηνίας συστήματος. + ParagraphDetail = Οι ακόλουθες ενότητες περιγράφουν την ημερομηνία του συστήματος. + ParagraphSummary = Ο παρακάτω πίνακας συνοψίζει την ημερομηνία του συστήματος. + Heading = Ημερομηνία + + Date = Ημερομηνία + Hour = Ώρα +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ορίστηκε σε {1}. + Collecting = Συλλογή πληροφοριών διεργασιών συστήματος. + ParagraphDetail = Οι ακόλουθες ενότητες περιγράφουν τις διεργασίες του συστήματος. + ParagraphSummary = Ο παρακάτω πίνακας συνοψίζει τις κορυφαίες 10 διεργασίες του συστήματος. Για πιο λεπτομερείς πληροφορίες, ορίστε την τιμή InfoLevel.ProcessInfo σε 2 στο αρχείο διαμόρφωσης της αναφοράς σας. Ταξινομημένες κατά χρήση CPU. + Heading = Διεργασίες + + Name = Όνομα + Id = Id + CPU = CPU (%) + Memory = Μνήμη (MB) + Company = Εταιρεία + Product = Προϊόν + Unknown = Άγνωστο +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ορίστηκε σε {1}. + Collecting = Συλλογή πληροφοριών ζώνης ώρας συστήματος. + ParagraphDetail = Οι ακόλουθες ενότητες περιγράφουν τη ζώνη ώρας του συστήματος. + ParagraphSummary = Ο παρακάτω πίνακας συνοψίζει τη ζώνη ώρας του συστήματος. + Heading = Ζώνη ώρας + + TimeZone = Ζώνη ώρας + Id = Id + DisplayName = Όνομα εμφάνισης + CurrentTime = Τρέχουσα ώρα + BaseUTCOffset = Βασική μετατόπιση UTC + SupportsDaylightSavingTime = Υποστηρίζει θερινή ώρα + Yes = Ναι + No = Όχι + Unknown = Άγνωστο +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ορίστηκε σε {1}. + Collecting = Συλλογή πληροφοριών χρόνου λειτουργίας συστήματος. + ParagraphDetail = Οι ακόλουθες ενότητες περιγράφουν τον χρόνο λειτουργίας του συστήματος. + ParagraphSummary = Ο παρακάτω πίνακας συνοψίζει τον χρόνο λειτουργίας του συστήματος. + Heading = Χρόνος λειτουργίας + + Uptime = Χρόνος λειτουργίας +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ορίστηκε σε {1}. + Collecting = Συλλογή πληροφοριών PowerShell Host συστήματος. + ParagraphDetail = Οι ακόλουθες ενότητες περιγράφουν το PowerShell Host του συστήματος. + ParagraphSummary = Ο παρακάτω πίνακας συνοψίζει το PowerShell Host του συστήματος. + Heading = PowerShell Host + + Name = Όνομα + Version = Έκδοση + CurrentCulture = Τρέχουσα κουλτούρα + CurrentUICulture = Τρέχουσα κουλτούρα UI + DebuggerEnabled = Debugger ενεργοποιημένο + Yes = Ναι + No = Όχι + Unknown = Άγνωστο +'@ +} diff --git a/Language/en-GB/SystemResources.psd1 b/Language/en-GB/SystemResources.psd1 new file mode 100644 index 0000000..9f5c208 --- /dev/null +++ b/Language/en-GB/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'en-GB' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel set at {1}. + Collecting = Collecting System Date information. + ParagraphDetail = The following sections detail the system date. + ParagraphSummary = The following table summarises the system date. + Heading = Date + + Date = Date + Hour = Hour +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel set at {1}. + Collecting = Collecting System Process information. + ParagraphDetail = The following sections detail the system process. + ParagraphSummary = The following table summarises the top 10 system process. For more detailed information, please set the InfoLevel.ProcessInfo value to 2 in your report configuration file. Sorted by CPU usage. + Heading = Process + + Name = Name + Id = Id + CPU = CPU (%) + Memory = Memory (MB) + Company = Company + Product = Product + Unknown = Unknown +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel set at {1}. + Collecting = Collecting System TimeZone information. + ParagraphDetail = The following sections detail the system TimeZone. + ParagraphSummary = The following table summarises the system TimeZone. + Heading = TimeZone + + TimeZone = TimeZone + Id = Id + DisplayName = DisplayName + CurrentTime = Current Time + BaseUTCOffset = Base UTC Offset + SupportsDaylightSavingTime = Supports Daylight Saving Time + Yes = Yes + No = No + Unknown = Unknown +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel set at {1}. + Collecting = Collecting System Uptime information. + ParagraphDetail = The following sections detail the system Uptime. + ParagraphSummary = The following table summarises the system Uptime. + Heading = Uptime + + Uptime = Uptime +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel set at {1}. + Collecting = Collecting System PowerShell Host information. + ParagraphDetail = The following sections detail the system PowerShell Host. + ParagraphSummary = The following table summarises the system PowerShell Host. + Heading = PowerShell Host + + Name = Name + Version = Version + CurrentCulture = Current Culture + CurrentUICulture = Current UI Culture + DebuggerEnabled = Debugger Enabled + Yes = Yes + No = No + Unknown = Unknown +'@ +} diff --git a/Language/en-US/SystemResources.psd1 b/Language/en-US/SystemResources.psd1 index af93ff6..f828fc4 100644 --- a/Language/en-US/SystemResources.psd1 +++ b/Language/en-US/SystemResources.psd1 @@ -1,19 +1,6 @@ # culture = 'en-US' @{ - InvokeAsBuiltReportSystemResources = ConvertFrom-StringData @' - Message1 = - Please refer to the AsBuiltReport.System.Resources github website for more detailed information about this project. - Message2 = - Do not forget to update your report configuration file after each new version release: https://www.asbuiltreport.com/user-guide/new-asbuiltreportconfig/ - Message3 = - Documentation: https://github.com/AsBuiltReport/AsBuiltReport.System.Resources - Message4 = - Issues or bug reporting: https://github.com/AsBuiltReport/AsBuiltReport.System.Resources/issues - Message5 = - This project is community maintained and has no sponsorship from Microsoft/*Linux/MacOS, its employees or any of its affiliates. - - - ModuleStatus = - The module {0} {1} is currently installed. - ModuleAvailable = - The module {0} {1} is available. - ModuleUpdateCmd = - Run 'Update-Module -Name {0} -Force' to install the latest version. - -'@ # Get-AbrDate GetAbrDate = ConvertFrom-StringData @' InfoLevel = {0} InfoLevel set at {1}. diff --git a/Language/es-ES/SystemResources.psd1 b/Language/es-ES/SystemResources.psd1 index 46b37d1..e59fc4a 100644 --- a/Language/es-ES/SystemResources.psd1 +++ b/Language/es-ES/SystemResources.psd1 @@ -1,26 +1,14 @@ # culture = 'es-ES' @{ - InvokeAsBuiltReportSystemResources = ConvertFrom-StringData @' - Message1 = - Por favor, consulte el sitio web de GitHub de AsBuiltReport.System.Resources para obtener información más detallada sobre este proyecto. - Message2 = - No olvide actualizar su archivo de configuración del informe después de cada nueva versión: https://www.asbuiltreport.com/user-guide/new-asbuiltreportconfig/ - Message3 = - Documentación: https://github.com/AsBuiltReport/AsBuiltReport.System.Resources - Message4 = - Reporte de problemas o errores: https://github.com/AsBuiltReport/AsBuiltReport.System.Resources/issues - Message5 = - Este proyecto es mantenido por la comunidad y no cuenta con patrocinio de Microsoft/*Linux/MacOS, sus empleados o cualquiera de sus afiliados. - - ModuleStatus = - El módulo {0} {1} está actualmente instalado. - ModuleAvailable = - El módulo {0} {1} está disponible. - ModuleUpdateCmd = - Ejecute 'Update-Module -Name {0} -Force' para instalar la última versión. - -'@ - # Get-AbrDate GetAbrDate = ConvertFrom-StringData @' InfoLevel = {0} InfoLevel configurado en {1}. Collecting = Recopilando información de la fecha del sistema. - ParagraphDetail = Las siguientes sección detalla la fecha del sistema. + ParagraphDetail = Las siguientes secciones detallan la fecha del sistema. ParagraphSummary = La siguiente tabla resume la fecha del sistema. Heading = Fecha + Date = Fecha Hour = Hora '@ @@ -28,9 +16,10 @@ GetAbrProcessInfo = ConvertFrom-StringData @' InfoLevel = {0} InfoLevel configurado en {1}. Collecting = Recopilando información del proceso del sistema. - ParagraphDetail = Las siguientes sección detalla el proceso del sistema. + ParagraphDetail = Las siguientes secciones detallan el proceso del sistema. ParagraphSummary = La siguiente tabla resume los 10 principales procesos del sistema. Para obtener información más detallada, establezca el valor de InfoLevel.ProcessInfo en 2 en su archivo de configuración del informe. Ordenado por uso de CPU. Heading = Procesos + Name = Nombre Id = Id CPU = CPU (%) @@ -42,9 +31,9 @@ # Get-AbrTimeZone GetAbrTimeZone = ConvertFrom-StringData @' - InfoLevel = {0} InfoLevel configurado en {1}. + InfoLevel = {0} InfoLevel configurado en {1}. Collecting = Recopilando información de la zona horaria del sistema. - ParagraphDetail = Las siguientes sección detalla la zona horaria del sistema. + ParagraphDetail = Las siguientes secciones detallan la zona horaria del sistema. ParagraphSummary = La siguiente tabla resume la zona horaria del sistema. Heading = Zona Horaria @@ -61,9 +50,9 @@ # Get-AbrUptime GetAbrUptime = ConvertFrom-StringData @' - InfoLevel = {0} InfoLevel configurado en {1}. - Collecting = Recopilando información del tiempo de actividad del sistema. - ParagraphDetail = Las siguientes sección detalla el tiempo de actividad del sistema. + InfoLevel = {0} InfoLevel configurado en {1}. + Collecting = Recopilando información del tiempo de actividad del sistema. + ParagraphDetail = Las siguientes secciones detallan el tiempo de actividad del sistema. ParagraphSummary = La siguiente tabla resume el tiempo de actividad del sistema. Heading = Tiempo de Actividad @@ -74,7 +63,7 @@ GetAbrPSHost = ConvertFrom-StringData @' InfoLevel = {0} InfoLevel configurado en {1}. Collecting = Recopilando información del PowerShell Host del sistema. - ParagraphDetail = Las siguientes sección detalla el PowerShell Host del sistema. + ParagraphDetail = Las siguientes secciones detallan el PowerShell Host del sistema. ParagraphSummary = La siguiente tabla resume el PowerShell Host del sistema. Heading = PowerShell Host @@ -87,4 +76,4 @@ No = No Unknown = Desconocido '@ -} \ No newline at end of file +} diff --git a/Language/fi-FI/SystemResources.psd1 b/Language/fi-FI/SystemResources.psd1 new file mode 100644 index 0000000..203934e --- /dev/null +++ b/Language/fi-FI/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'fi-FI' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel asetettu arvoon {1}. + Collecting = Kerätään järjestelmän päivämäärätietoja. + ParagraphDetail = Seuraavissa osioissa kuvataan järjestelmän päivämäärä. + ParagraphSummary = Seuraava taulukko tiivistää järjestelmän päivämäärän. + Heading = Päivämäärä + + Date = Päivämäärä + Hour = Tunti +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel asetettu arvoon {1}. + Collecting = Kerätään järjestelmän prosessitietoja. + ParagraphDetail = Seuraavissa osioissa kuvataan järjestelmän prosessit. + ParagraphSummary = Seuraava taulukko tiivistää 10 tärkeintä järjestelmäprosessia. Tarkempia tietoja varten aseta InfoLevel.ProcessInfo-arvo arvoksi 2 raportin asetustiedostossa. Lajiteltu CPU-käytön mukaan. + Heading = Prosessit + + Name = Nimi + Id = Id + CPU = CPU (%) + Memory = Muisti (MB) + Company = Yritys + Product = Tuote + Unknown = Tuntematon +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel asetettu arvoon {1}. + Collecting = Kerätään järjestelmän aikavyöhyketietoja. + ParagraphDetail = Seuraavissa osioissa kuvataan järjestelmän aikavyöhyke. + ParagraphSummary = Seuraava taulukko tiivistää järjestelmän aikavyöhykkeen. + Heading = Aikavyöhyke + + TimeZone = Aikavyöhyke + Id = Id + DisplayName = Näyttönimi + CurrentTime = Nykyinen aika + BaseUTCOffset = Perus UTC-siirtymä + SupportsDaylightSavingTime = Tukee kesäaikaa + Yes = Kyllä + No = Ei + Unknown = Tuntematon +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel asetettu arvoon {1}. + Collecting = Kerätään järjestelmän käyttöaikatietoja. + ParagraphDetail = Seuraavissa osioissa kuvataan järjestelmän käyttöaika. + ParagraphSummary = Seuraava taulukko tiivistää järjestelmän käyttöajan. + Heading = Käyttöaika + + Uptime = Käyttöaika +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel asetettu arvoon {1}. + Collecting = Kerätään järjestelmän PowerShell Host -tietoja. + ParagraphDetail = Seuraavissa osioissa kuvataan järjestelmän PowerShell Host. + ParagraphSummary = Seuraava taulukko tiivistää järjestelmän PowerShell Host -tiedot. + Heading = PowerShell Host + + Name = Nimi + Version = Versio + CurrentCulture = Nykyinen kulttuuri + CurrentUICulture = Nykyinen UI-kulttuuri + DebuggerEnabled = Virheenkorjaus käytössä + Yes = Kyllä + No = Ei + Unknown = Tuntematon +'@ +} diff --git a/Language/fr-FR/SystemResources.psd1 b/Language/fr-FR/SystemResources.psd1 index aa35896..9693f10 100644 --- a/Language/fr-FR/SystemResources.psd1 +++ b/Language/fr-FR/SystemResources.psd1 @@ -1,20 +1,9 @@ # culture = 'fr-FR' @{ - InvokeAsBuiltReportSystemResources = ConvertFrom-StringData @' - Message1 = - Veuillez consulter le site Web GitHub de AsBuiltReport.System.Resources pour plus d'informations sur ce projet. - Message2 = - N'oubliez pas de mettre à jour votre fichier de configuration de rapport après chaque nouvelle version : https://www.asbuiltreport.com/user-guide/new-asbuiltreportconfig/ - Message3 = - Documentation : https://github.com/AsBuiltReport/AsBuiltReport.System.Resources - Message4 = - Signalement de problèmes ou de bogues : https://github.com/AsBuiltReport/AsBuiltReport.System.Resources/issues - Message5 = - Ce projet est maintenu par la communauté et n'a aucun parrainage de Microsoft/*Linux/MacOS, de ses employés ou de l'un de ses affiliés. - - ModuleStatus = - Le module {0} {1} est actuellement installé. - ModuleAvailable = - Le module {0} {1} est disponible. - ModuleUpdateCmd = - Exécutez 'Update-Module -Name {0} -Force' pour installer la dernière version. -'@ # Get-AbrDate GetAbrDate = ConvertFrom-StringData @' - InfoLevel = {0} Niveau d'information défini à {1}. + InfoLevel = {0} InfoLevel défini à {1}. Collecting = Collecte des informations sur la date du système. ParagraphDetail = Les sections suivantes détaillent la date du système. ParagraphSummary = Le tableau suivant résume la date du système. @@ -25,7 +14,7 @@ '@ # Get-AbrProcessInfo GetAbrProcessInfo = ConvertFrom-StringData @' - InfoLevel = {0} Niveau d'information défini à {1}. + InfoLevel = {0} InfoLevel défini à {1}. Collecting = Collecte des informations sur les processus système. ParagraphDetail = Les sections suivantes détaillent les processus système. ParagraphSummary = Le tableau suivant résume les 10 principaux processus système. Pour plus d'informations, veuillez définir la valeur InfoLevel.ProcessInfo à 2 dans votre fichier de configuration du rapport. Trié par utilisation CPU. @@ -34,7 +23,7 @@ Name = Nom Id = Id CPU = CPU (%) - Memory = Mémoire (Mo) + Memory = Mémoire (MB) Company = Société Product = Produit Unknown = Inconnu @@ -42,7 +31,7 @@ # Get-AbrTimeZone GetAbrTimeZone = ConvertFrom-StringData @' - InfoLevel = {0} Niveau d'information défini à {1}. + InfoLevel = {0} InfoLevel défini à {1}. Collecting = Collecte des informations sur le fuseau horaire du système. ParagraphDetail = Les sections suivantes détaillent le fuseau horaire du système. ParagraphSummary = Le tableau suivant résume le fuseau horaire du système. @@ -61,7 +50,7 @@ # Get-AbrUptime GetAbrUptime = ConvertFrom-StringData @' - InfoLevel = {0} Niveau d'information défini à {1}. + InfoLevel = {0} InfoLevel défini à {1}. Collecting = Collecte des informations sur le temps de fonctionnement du système. ParagraphDetail = Les sections suivantes détaillent le temps de fonctionnement du système. ParagraphSummary = Le tableau suivant résume le temps de fonctionnement du système. @@ -72,7 +61,7 @@ # Get-AbrPSHost GetAbrPSHost = ConvertFrom-StringData @' - InfoLevel = {0} Niveau d'information défini à {1}. + InfoLevel = {0} InfoLevel défini à {1}. Collecting = Collecte des informations sur l'hôte PowerShell du système. ParagraphDetail = Les sections suivantes détaillent l'hôte PowerShell du système. ParagraphSummary = Le tableau suivant résume l'hôte PowerShell du système. @@ -87,4 +76,4 @@ No = Non Unknown = Inconnu '@ -} \ No newline at end of file +} diff --git a/Language/he-IL/SystemResources.psd1 b/Language/he-IL/SystemResources.psd1 new file mode 100644 index 0000000..2e041d7 --- /dev/null +++ b/Language/he-IL/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'he-IL' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel הוגדר ל-{1}. + Collecting = איסוף מידע על תאריך המערכת. + ParagraphDetail = הסעיפים הבאים מפרטים את תאריך המערכת. + ParagraphSummary = הטבלה הבאה מסכמת את תאריך המערכת. + Heading = תאריך + + Date = תאריך + Hour = שעה +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel הוגדר ל-{1}. + Collecting = איסוף מידע על תהליכי המערכת. + ParagraphDetail = הסעיפים הבאים מפרטים את תהליכי המערכת. + ParagraphSummary = הטבלה הבאה מסכמת את 10 תהליכי המערכת המובילים. למידע מפורט יותר, הגדר את הערך InfoLevel.ProcessInfo ל-2 בקובץ תצורת הדוח שלך. ממוין לפי שימוש ב-CPU. + Heading = תהליכים + + Name = שם + Id = מזהה + CPU = CPU (%) + Memory = זיכרון (MB) + Company = חברה + Product = מוצר + Unknown = לא ידוע +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel הוגדר ל-{1}. + Collecting = איסוף מידע על אזור הזמן של המערכת. + ParagraphDetail = הסעיפים הבאים מפרטים את אזור הזמן של המערכת. + ParagraphSummary = הטבלה הבאה מסכמת את אזור הזמן של המערכת. + Heading = אזור זמן + + TimeZone = אזור זמן + Id = מזהה + DisplayName = שם תצוגה + CurrentTime = זמן נוכחי + BaseUTCOffset = הסטת UTC בסיסית + SupportsDaylightSavingTime = תומך בשעון קיץ + Yes = כן + No = לא + Unknown = לא ידוע +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel הוגדר ל-{1}. + Collecting = איסוף מידע על זמן פעילות המערכת. + ParagraphDetail = הסעיפים הבאים מפרטים את זמן פעילות המערכת. + ParagraphSummary = הטבלה הבאה מסכמת את זמן פעילות המערכת. + Heading = זמן פעילות + + Uptime = זמן פעילות +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel הוגדר ל-{1}. + Collecting = איסוף מידע על מארח PowerShell של המערכת. + ParagraphDetail = הסעיפים הבאים מפרטים את מארח PowerShell של המערכת. + ParagraphSummary = הטבלה הבאה מסכמת את מארח PowerShell של המערכת. + Heading = מארח PowerShell + + Name = שם + Version = גרסה + CurrentCulture = תרבות נוכחית + CurrentUICulture = תרבות UI נוכחית + DebuggerEnabled = מנפה שגיאות מופעל + Yes = כן + No = לא + Unknown = לא ידוע +'@ +} diff --git a/Language/hi-IN/SystemResources.psd1 b/Language/hi-IN/SystemResources.psd1 new file mode 100644 index 0000000..6d2dd1e --- /dev/null +++ b/Language/hi-IN/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'hi-IN' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel {1} पर सेट किया गया। + Collecting = सिस्टम तिथि जानकारी एकत्र की जा रही है। + ParagraphDetail = निम्नलिखित अनुभाग सिस्टम तिथि का विवरण देते हैं। + ParagraphSummary = निम्नलिखित तालिका सिस्टम तिथि का सारांश प्रस्तुत करती है। + Heading = तिथि + + Date = तिथि + Hour = घंटा +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel {1} पर सेट किया गया। + Collecting = सिस्टम प्रक्रिया जानकारी एकत्र की जा रही है। + ParagraphDetail = निम्नलिखित अनुभाग सिस्टम प्रक्रिया का विवरण देते हैं। + ParagraphSummary = निम्नलिखित तालिका शीर्ष 10 सिस्टम प्रक्रियाओं का सारांश प्रस्तुत करती है। अधिक विस्तृत जानकारी के लिए, कृपया अपनी रिपोर्ट कॉन्फ़िगरेशन फ़ाइल में InfoLevel.ProcessInfo मान को 2 पर सेट करें। CPU उपयोग के अनुसार क्रमबद्ध। + Heading = प्रक्रियाएं + + Name = नाम + Id = आईडी + CPU = CPU (%) + Memory = मेमोरी (MB) + Company = कंपनी + Product = उत्पाद + Unknown = अज्ञात +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel {1} पर सेट किया गया। + Collecting = सिस्टम समय क्षेत्र जानकारी एकत्र की जा रही है। + ParagraphDetail = निम्नलिखित अनुभाग सिस्टम समय क्षेत्र का विवरण देते हैं। + ParagraphSummary = निम्नलिखित तालिका सिस्टम समय क्षेत्र का सारांश प्रस्तुत करती है। + Heading = समय क्षेत्र + + TimeZone = समय क्षेत्र + Id = आईडी + DisplayName = प्रदर्शन नाम + CurrentTime = वर्तमान समय + BaseUTCOffset = आधार UTC ऑफसेट + SupportsDaylightSavingTime = डेलाइट सेविंग समय का समर्थन करता है + Yes = हां + No = नहीं + Unknown = अज्ञात +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel {1} पर सेट किया गया। + Collecting = सिस्टम अपटाइम जानकारी एकत्र की जा रही है। + ParagraphDetail = निम्नलिखित अनुभाग सिस्टम अपटाइम का विवरण देते हैं। + ParagraphSummary = निम्नलिखित तालिका सिस्टम अपटाइम का सारांश प्रस्तुत करती है। + Heading = अपटाइम + + Uptime = अपटाइम +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel {1} पर सेट किया गया। + Collecting = सिस्टम PowerShell Host जानकारी एकत्र की जा रही है। + ParagraphDetail = निम्नलिखित अनुभाग सिस्टम PowerShell Host का विवरण देते हैं। + ParagraphSummary = निम्नलिखित तालिका सिस्टम PowerShell Host का सारांश प्रस्तुत करती है। + Heading = PowerShell Host + + Name = नाम + Version = संस्करण + CurrentCulture = वर्तमान संस्कृति + CurrentUICulture = वर्तमान UI संस्कृति + DebuggerEnabled = डीबगर सक्षम + Yes = हां + No = नहीं + Unknown = अज्ञात +'@ +} diff --git a/Language/hu-HU/SystemResources.psd1 b/Language/hu-HU/SystemResources.psd1 new file mode 100644 index 0000000..fb751e2 --- /dev/null +++ b/Language/hu-HU/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'hu-HU' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel beállítva: {1}. + Collecting = Rendszer dátum információk gyűjtése. + ParagraphDetail = Az alábbi szakaszok részletezik a rendszer dátumát. + ParagraphSummary = Az alábbi táblázat összefoglalja a rendszer dátumát. + Heading = Dátum + + Date = Dátum + Hour = Óra +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel beállítva: {1}. + Collecting = Rendszer folyamat információk gyűjtése. + ParagraphDetail = Az alábbi szakaszok részletezik a rendszer folyamatokat. + ParagraphSummary = Az alábbi táblázat összefoglalja a top 10 rendszer folyamatot. Részletesebb információkért állítsa az InfoLevel.ProcessInfo értéket 2-re a jelentés konfigurációs fájlban. CPU használat szerint rendezve. + Heading = Folyamatok + + Name = Név + Id = Azonosító + CPU = CPU (%) + Memory = Memória (MB) + Company = Cég + Product = Termék + Unknown = Ismeretlen +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel beállítva: {1}. + Collecting = Rendszer időzóna információk gyűjtése. + ParagraphDetail = Az alábbi szakaszok részletezik a rendszer időzónáját. + ParagraphSummary = Az alábbi táblázat összefoglalja a rendszer időzónáját. + Heading = Időzóna + + TimeZone = Időzóna + Id = Azonosító + DisplayName = Megjelenítési név + CurrentTime = Jelenlegi idő + BaseUTCOffset = Alap UTC eltolás + SupportsDaylightSavingTime = Támogatja a nyári időszámítást + Yes = Igen + No = Nem + Unknown = Ismeretlen +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel beállítva: {1}. + Collecting = Rendszer üzemidő információk gyűjtése. + ParagraphDetail = Az alábbi szakaszok részletezik a rendszer üzemidejét. + ParagraphSummary = Az alábbi táblázat összefoglalja a rendszer üzemidejét. + Heading = Üzemidő + + Uptime = Üzemidő +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel beállítva: {1}. + Collecting = Rendszer PowerShell Host információk gyűjtése. + ParagraphDetail = Az alábbi szakaszok részletezik a rendszer PowerShell Host-ját. + ParagraphSummary = Az alábbi táblázat összefoglalja a rendszer PowerShell Host-ját. + Heading = PowerShell Host + + Name = Név + Version = Verzió + CurrentCulture = Jelenlegi kultúra + CurrentUICulture = Jelenlegi UI kultúra + DebuggerEnabled = Hibakereső engedélyezve + Yes = Igen + No = Nem + Unknown = Ismeretlen +'@ +} diff --git a/Language/it-IT/SystemResources.psd1 b/Language/it-IT/SystemResources.psd1 new file mode 100644 index 0000000..d4dd648 --- /dev/null +++ b/Language/it-IT/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'it-IT' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel impostato su {1}. + Collecting = Raccolta informazioni sulla data di sistema. + ParagraphDetail = Le seguenti sezioni descrivono la data di sistema. + ParagraphSummary = La seguente tabella riassume la data di sistema. + Heading = Data + + Date = Data + Hour = Ora +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel impostato su {1}. + Collecting = Raccolta informazioni sui processi di sistema. + ParagraphDetail = Le seguenti sezioni descrivono i processi di sistema. + ParagraphSummary = La seguente tabella riassume i primi 10 processi di sistema. Per informazioni più dettagliate, impostare il valore InfoLevel.ProcessInfo su 2 nel file di configurazione del report. Ordinati per utilizzo CPU. + Heading = Processi + + Name = Nome + Id = Id + CPU = CPU (%) + Memory = Memoria (MB) + Company = Azienda + Product = Prodotto + Unknown = Sconosciuto +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel impostato su {1}. + Collecting = Raccolta informazioni sul fuso orario di sistema. + ParagraphDetail = Le seguenti sezioni descrivono il fuso orario di sistema. + ParagraphSummary = La seguente tabella riassume il fuso orario di sistema. + Heading = Fuso orario + + TimeZone = Fuso orario + Id = Id + DisplayName = Nome visualizzato + CurrentTime = Ora corrente + BaseUTCOffset = Offset UTC di base + SupportsDaylightSavingTime = Supporta l'ora legale + Yes = Sì + No = No + Unknown = Sconosciuto +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel impostato su {1}. + Collecting = Raccolta informazioni sul tempo di attività del sistema. + ParagraphDetail = Le seguenti sezioni descrivono il tempo di attività del sistema. + ParagraphSummary = La seguente tabella riassume il tempo di attività del sistema. + Heading = Tempo di attività + + Uptime = Tempo di attività +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel impostato su {1}. + Collecting = Raccolta informazioni sull'host PowerShell di sistema. + ParagraphDetail = Le seguenti sezioni descrivono l'host PowerShell di sistema. + ParagraphSummary = La seguente tabella riassume l'host PowerShell di sistema. + Heading = Host PowerShell + + Name = Nome + Version = Versione + CurrentCulture = Cultura corrente + CurrentUICulture = Cultura UI corrente + DebuggerEnabled = Debugger abilitato + Yes = Sì + No = No + Unknown = Sconosciuto +'@ +} diff --git a/Language/ja-JP/SystemResources.psd1 b/Language/ja-JP/SystemResources.psd1 new file mode 100644 index 0000000..02e79a6 --- /dev/null +++ b/Language/ja-JP/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'ja-JP' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel が {1} に設定されました。 + Collecting = システム日付情報を収集しています。 + ParagraphDetail = 以下のセクションでは、システム日付について詳しく説明します。 + ParagraphSummary = 以下の表は、システム日付をまとめたものです。 + Heading = 日付 + + Date = 日付 + Hour = 時刻 +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel が {1} に設定されました。 + Collecting = システムプロセス情報を収集しています。 + ParagraphDetail = 以下のセクションでは、システムプロセスについて詳しく説明します。 + ParagraphSummary = 以下の表は、上位10のシステムプロセスをまとめたものです。より詳細な情報については、レポート構成ファイルで InfoLevel.ProcessInfo の値を 2 に設定してください。CPU使用率順に並べ替え。 + Heading = プロセス + + Name = 名前 + Id = ID + CPU = CPU (%) + Memory = メモリ (MB) + Company = 会社 + Product = 製品 + Unknown = 不明 +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel が {1} に設定されました。 + Collecting = システムタイムゾーン情報を収集しています。 + ParagraphDetail = 以下のセクションでは、システムタイムゾーンについて詳しく説明します。 + ParagraphSummary = 以下の表は、システムタイムゾーンをまとめたものです。 + Heading = タイムゾーン + + TimeZone = タイムゾーン + Id = ID + DisplayName = 表示名 + CurrentTime = 現在時刻 + BaseUTCOffset = 基本UTCオフセット + SupportsDaylightSavingTime = 夏時間に対応 + Yes = はい + No = いいえ + Unknown = 不明 +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel が {1} に設定されました。 + Collecting = システム稼働時間情報を収集しています。 + ParagraphDetail = 以下のセクションでは、システム稼働時間について詳しく説明します。 + ParagraphSummary = 以下の表は、システム稼働時間をまとめたものです。 + Heading = 稼働時間 + + Uptime = 稼働時間 +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel が {1} に設定されました。 + Collecting = システム PowerShell Host 情報を収集しています。 + ParagraphDetail = 以下のセクションでは、システム PowerShell Host について詳しく説明します。 + ParagraphSummary = 以下の表は、システム PowerShell Host をまとめたものです。 + Heading = PowerShell Host + + Name = 名前 + Version = バージョン + CurrentCulture = 現在のカルチャ + CurrentUICulture = 現在のUIカルチャ + DebuggerEnabled = デバッガーが有効 + Yes = はい + No = いいえ + Unknown = 不明 +'@ +} diff --git a/Language/ko-KR/SystemResources.psd1 b/Language/ko-KR/SystemResources.psd1 new file mode 100644 index 0000000..faee330 --- /dev/null +++ b/Language/ko-KR/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'ko-KR' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel이 {1}로 설정되었습니다. + Collecting = 시스템 날짜 정보를 수집하고 있습니다. + ParagraphDetail = 다음 섹션에서는 시스템 날짜에 대해 자세히 설명합니다. + ParagraphSummary = 다음 표는 시스템 날짜를 요약한 것입니다. + Heading = 날짜 + + Date = 날짜 + Hour = 시간 +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel이 {1}로 설정되었습니다. + Collecting = 시스템 프로세스 정보를 수집하고 있습니다. + ParagraphDetail = 다음 섹션에서는 시스템 프로세스에 대해 자세히 설명합니다. + ParagraphSummary = 다음 표는 상위 10개의 시스템 프로세스를 요약한 것입니다. 보다 자세한 정보를 보려면 보고서 구성 파일에서 InfoLevel.ProcessInfo 값을 2로 설정하십시오. CPU 사용량별로 정렬됨. + Heading = 프로세스 + + Name = 이름 + Id = ID + CPU = CPU (%) + Memory = 메모리 (MB) + Company = 회사 + Product = 제품 + Unknown = 알 수 없음 +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel이 {1}로 설정되었습니다. + Collecting = 시스템 표준 시간대 정보를 수집하고 있습니다. + ParagraphDetail = 다음 섹션에서는 시스템 표준 시간대에 대해 자세히 설명합니다. + ParagraphSummary = 다음 표는 시스템 표준 시간대를 요약한 것입니다. + Heading = 표준 시간대 + + TimeZone = 표준 시간대 + Id = ID + DisplayName = 표시 이름 + CurrentTime = 현재 시간 + BaseUTCOffset = 기본 UTC 오프셋 + SupportsDaylightSavingTime = 일광 절약 시간 지원 + Yes = 예 + No = 아니요 + Unknown = 알 수 없음 +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel이 {1}로 설정되었습니다. + Collecting = 시스템 가동 시간 정보를 수집하고 있습니다. + ParagraphDetail = 다음 섹션에서는 시스템 가동 시간에 대해 자세히 설명합니다. + ParagraphSummary = 다음 표는 시스템 가동 시간을 요약한 것입니다. + Heading = 가동 시간 + + Uptime = 가동 시간 +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel이 {1}로 설정되었습니다. + Collecting = 시스템 PowerShell Host 정보를 수집하고 있습니다. + ParagraphDetail = 다음 섹션에서는 시스템 PowerShell Host에 대해 자세히 설명합니다. + ParagraphSummary = 다음 표는 시스템 PowerShell Host를 요약한 것입니다. + Heading = PowerShell Host + + Name = 이름 + Version = 버전 + CurrentCulture = 현재 문화권 + CurrentUICulture = 현재 UI 문화권 + DebuggerEnabled = 디버거 활성화됨 + Yes = 예 + No = 아니요 + Unknown = 알 수 없음 +'@ +} diff --git a/Language/nb-NO/SystemResources.psd1 b/Language/nb-NO/SystemResources.psd1 new file mode 100644 index 0000000..7fc0308 --- /dev/null +++ b/Language/nb-NO/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'nb-NO' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel satt til {1}. + Collecting = Samler informasjon om systemdato. + ParagraphDetail = Følgende avsnitt beskriver systemdatoen. + ParagraphSummary = Følgende tabell oppsummerer systemdatoen. + Heading = Dato + + Date = Dato + Hour = Time +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel satt til {1}. + Collecting = Samler informasjon om systemprosesser. + ParagraphDetail = Følgende avsnitt beskriver systemprosessene. + ParagraphSummary = Følgende tabell oppsummerer de 10 viktigste systemprosessene. For mer detaljert informasjon, sett InfoLevel.ProcessInfo-verdien til 2 i rapportkonfigurasjonsfilen din. Sortert etter CPU-bruk. + Heading = Prosesser + + Name = Navn + Id = Id + CPU = CPU (%) + Memory = Minne (MB) + Company = Selskap + Product = Produkt + Unknown = Ukjent +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel satt til {1}. + Collecting = Samler informasjon om systemets tidssone. + ParagraphDetail = Følgende avsnitt beskriver systemets tidssone. + ParagraphSummary = Følgende tabell oppsummerer systemets tidssone. + Heading = Tidssone + + TimeZone = Tidssone + Id = Id + DisplayName = Visningsnavn + CurrentTime = Nåværende tid + BaseUTCOffset = Basis UTC-forskyvning + SupportsDaylightSavingTime = Støtter sommertid + Yes = Ja + No = Nei + Unknown = Ukjent +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel satt til {1}. + Collecting = Samler informasjon om systemets oppetid. + ParagraphDetail = Følgende avsnitt beskriver systemets oppetid. + ParagraphSummary = Følgende tabell oppsummerer systemets oppetid. + Heading = Oppetid + + Uptime = Oppetid +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel satt til {1}. + Collecting = Samler informasjon om systemets PowerShell Host. + ParagraphDetail = Følgende avsnitt beskriver systemets PowerShell Host. + ParagraphSummary = Følgende tabell oppsummerer systemets PowerShell Host. + Heading = PowerShell Host + + Name = Navn + Version = Versjon + CurrentCulture = Gjeldende kultur + CurrentUICulture = Gjeldende UI-kultur + DebuggerEnabled = Feilsøker aktivert + Yes = Ja + No = Nei + Unknown = Ukjent +'@ +} diff --git a/Language/nl-NL/SystemResources.psd1 b/Language/nl-NL/SystemResources.psd1 new file mode 100644 index 0000000..1bfd2d8 --- /dev/null +++ b/Language/nl-NL/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'nl-NL' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ingesteld op {1}. + Collecting = Verzamelen van systeemdatuminformatie. + ParagraphDetail = De volgende secties beschrijven de systeemdatum. + ParagraphSummary = De volgende tabel geeft een overzicht van de systeemdatum. + Heading = Datum + + Date = Datum + Hour = Uur +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ingesteld op {1}. + Collecting = Verzamelen van systeemprocesinformatie. + ParagraphDetail = De volgende secties beschrijven de systeemprocessen. + ParagraphSummary = De volgende tabel geeft een overzicht van de top 10 systeemprocessen. Voor meer gedetailleerde informatie stelt u de waarde InfoLevel.ProcessInfo in op 2 in uw rapportconfiguratiebestand. Gesorteerd op CPU-gebruik. + Heading = Processen + + Name = Naam + Id = Id + CPU = CPU (%) + Memory = Geheugen (MB) + Company = Bedrijf + Product = Product + Unknown = Onbekend +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ingesteld op {1}. + Collecting = Verzamelen van systeemtijdzone-informatie. + ParagraphDetail = De volgende secties beschrijven de systeemtijdzone. + ParagraphSummary = De volgende tabel geeft een overzicht van de systeemtijdzone. + Heading = Tijdzone + + TimeZone = Tijdzone + Id = Id + DisplayName = Weergavenaam + CurrentTime = Huidige tijd + BaseUTCOffset = Basis UTC-verschuiving + SupportsDaylightSavingTime = Ondersteunt zomertijd + Yes = Ja + No = Nee + Unknown = Onbekend +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ingesteld op {1}. + Collecting = Verzamelen van systeembedrijfstijdinformatie. + ParagraphDetail = De volgende secties beschrijven de systeembedrijfstijd. + ParagraphSummary = De volgende tabel geeft een overzicht van de systeembedrijfstijd. + Heading = Bedrijfstijd + + Uptime = Bedrijfstijd +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ingesteld op {1}. + Collecting = Verzamelen van systeem PowerShell Host-informatie. + ParagraphDetail = De volgende secties beschrijven de systeem PowerShell Host. + ParagraphSummary = De volgende tabel geeft een overzicht van de systeem PowerShell Host. + Heading = PowerShell Host + + Name = Naam + Version = Versie + CurrentCulture = Huidige cultuur + CurrentUICulture = Huidige UI-cultuur + DebuggerEnabled = Debugger ingeschakeld + Yes = Ja + No = Nee + Unknown = Onbekend +'@ +} diff --git a/Language/pl-PL/SystemResources.psd1 b/Language/pl-PL/SystemResources.psd1 new file mode 100644 index 0000000..f1222b7 --- /dev/null +++ b/Language/pl-PL/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'pl-PL' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ustawiony na {1}. + Collecting = Zbieranie informacji o dacie systemowej. + ParagraphDetail = Poniższe sekcje szczegółowo opisują datę systemową. + ParagraphSummary = Poniższa tabela podsumowuje datę systemową. + Heading = Data + + Date = Data + Hour = Godzina +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ustawiony na {1}. + Collecting = Zbieranie informacji o procesach systemowych. + ParagraphDetail = Poniższe sekcje szczegółowo opisują procesy systemowe. + ParagraphSummary = Poniższa tabela podsumowuje 10 najważniejszych procesów systemowych. Aby uzyskać bardziej szczegółowe informacje, ustaw wartość InfoLevel.ProcessInfo na 2 w pliku konfiguracji raportu. Posortowane według użycia CPU. + Heading = Procesy + + Name = Nazwa + Id = Id + CPU = CPU (%) + Memory = Pamięć (MB) + Company = Firma + Product = Produkt + Unknown = Nieznany +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ustawiony na {1}. + Collecting = Zbieranie informacji o strefie czasowej systemu. + ParagraphDetail = Poniższe sekcje szczegółowo opisują strefę czasową systemu. + ParagraphSummary = Poniższa tabela podsumowuje strefę czasową systemu. + Heading = Strefa czasowa + + TimeZone = Strefa czasowa + Id = Id + DisplayName = Nazwa wyświetlana + CurrentTime = Bieżący czas + BaseUTCOffset = Podstawowe przesunięcie UTC + SupportsDaylightSavingTime = Obsługuje czas letni + Yes = Tak + No = Nie + Unknown = Nieznany +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ustawiony na {1}. + Collecting = Zbieranie informacji o czasie pracy systemu. + ParagraphDetail = Poniższe sekcje szczegółowo opisują czas pracy systemu. + ParagraphSummary = Poniższa tabela podsumowuje czas pracy systemu. + Heading = Czas pracy + + Uptime = Czas pracy +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ustawiony na {1}. + Collecting = Zbieranie informacji o hoście PowerShell systemu. + ParagraphDetail = Poniższe sekcje szczegółowo opisują hosta PowerShell systemu. + ParagraphSummary = Poniższa tabela podsumowuje hosta PowerShell systemu. + Heading = Host PowerShell + + Name = Nazwa + Version = Wersja + CurrentCulture = Bieżąca kultura + CurrentUICulture = Bieżąca kultura UI + DebuggerEnabled = Debuger włączony + Yes = Tak + No = Nie + Unknown = Nieznany +'@ +} diff --git a/Language/pt-PT/SystemResources.psd1 b/Language/pt-PT/SystemResources.psd1 new file mode 100644 index 0000000..693ed34 --- /dev/null +++ b/Language/pt-PT/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'pt-PT' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel definido para {1}. + Collecting = Recolhendo informações de data do sistema. + ParagraphDetail = As seguintes secções detalham a data do sistema. + ParagraphSummary = A seguinte tabela resume a data do sistema. + Heading = Data + + Date = Data + Hour = Hora +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel definido para {1}. + Collecting = Recolhendo informações de processos do sistema. + ParagraphDetail = As seguintes secções detalham os processos do sistema. + ParagraphSummary = A seguinte tabela resume os 10 principais processos do sistema. Para informações mais detalhadas, defina o valor InfoLevel.ProcessInfo para 2 no ficheiro de configuração do relatório. Ordenado por utilização de CPU. + Heading = Processos + + Name = Nome + Id = Id + CPU = CPU (%) + Memory = Memória (MB) + Company = Empresa + Product = Produto + Unknown = Desconhecido +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel definido para {1}. + Collecting = Recolhendo informações de fuso horário do sistema. + ParagraphDetail = As seguintes secções detalham o fuso horário do sistema. + ParagraphSummary = A seguinte tabela resume o fuso horário do sistema. + Heading = Fuso horário + + TimeZone = Fuso horário + Id = Id + DisplayName = Nome de exibição + CurrentTime = Hora atual + BaseUTCOffset = Desvio UTC base + SupportsDaylightSavingTime = Suporta horário de verão + Yes = Sim + No = Não + Unknown = Desconhecido +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel definido para {1}. + Collecting = Recolhendo informações de tempo de atividade do sistema. + ParagraphDetail = As seguintes secções detalham o tempo de atividade do sistema. + ParagraphSummary = A seguinte tabela resume o tempo de atividade do sistema. + Heading = Tempo de atividade + + Uptime = Tempo de atividade +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel definido para {1}. + Collecting = Recolhendo informações do PowerShell Host do sistema. + ParagraphDetail = As seguintes secções detalham o PowerShell Host do sistema. + ParagraphSummary = A seguinte tabela resume o PowerShell Host do sistema. + Heading = PowerShell Host + + Name = Nome + Version = Versão + CurrentCulture = Cultura atual + CurrentUICulture = Cultura UI atual + DebuggerEnabled = Depurador ativado + Yes = Sim + No = Não + Unknown = Desconhecido +'@ +} diff --git a/Language/ru-RU/SystemResources.psd1 b/Language/ru-RU/SystemResources.psd1 new file mode 100644 index 0000000..57fd1a2 --- /dev/null +++ b/Language/ru-RU/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'ru-RU' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel установлен на {1}. + Collecting = Сбор информации о дате системы. + ParagraphDetail = В следующих разделах подробно описывается дата системы. + ParagraphSummary = В следующей таблице представлена сводка по дате системы. + Heading = Дата + + Date = Дата + Hour = Час +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel установлен на {1}. + Collecting = Сбор информации о процессах системы. + ParagraphDetail = В следующих разделах подробно описываются процессы системы. + ParagraphSummary = В следующей таблице представлены топ-10 процессов системы. Для получения более подробной информации установите значение InfoLevel.ProcessInfo равным 2 в файле конфигурации отчета. Отсортировано по использованию CPU. + Heading = Процессы + + Name = Имя + Id = Id + CPU = CPU (%) + Memory = Память (МБ) + Company = Компания + Product = Продукт + Unknown = Неизвестно +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel установлен на {1}. + Collecting = Сбор информации о часовом поясе системы. + ParagraphDetail = В следующих разделах подробно описывается часовой пояс системы. + ParagraphSummary = В следующей таблице представлена сводка по часовому поясу системы. + Heading = Часовой пояс + + TimeZone = Часовой пояс + Id = Id + DisplayName = Отображаемое имя + CurrentTime = Текущее время + BaseUTCOffset = Базовое смещение UTC + SupportsDaylightSavingTime = Поддерживает летнее время + Yes = Да + No = Нет + Unknown = Неизвестно +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel установлен на {1}. + Collecting = Сбор информации о времени работы системы. + ParagraphDetail = В следующих разделах подробно описывается время работы системы. + ParagraphSummary = В следующей таблице представлена сводка по времени работы системы. + Heading = Время работы + + Uptime = Время работы +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel установлен на {1}. + Collecting = Сбор информации о PowerShell Host системы. + ParagraphDetail = В следующих разделах подробно описывается PowerShell Host системы. + ParagraphSummary = В следующей таблице представлена сводка по PowerShell Host системы. + Heading = PowerShell Host + + Name = Имя + Version = Версия + CurrentCulture = Текущая культура + CurrentUICulture = Текущая культура UI + DebuggerEnabled = Отладчик включен + Yes = Да + No = Нет + Unknown = Неизвестно +'@ +} diff --git a/Language/sv-SE/SystemResources.psd1 b/Language/sv-SE/SystemResources.psd1 new file mode 100644 index 0000000..1516a34 --- /dev/null +++ b/Language/sv-SE/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'sv-SE' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel inställd på {1}. + Collecting = Samlar information om systemdatum. + ParagraphDetail = Följande avsnitt beskriver systemdatumet. + ParagraphSummary = Följande tabell sammanfattar systemdatumet. + Heading = Datum + + Date = Datum + Hour = Timme +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel inställd på {1}. + Collecting = Samlar information om systemprocesser. + ParagraphDetail = Följande avsnitt beskriver systemprocesserna. + ParagraphSummary = Följande tabell sammanfattar de 10 viktigaste systemprocesserna. För mer detaljerad information, ställ in värdet InfoLevel.ProcessInfo till 2 i din rapportkonfigurationsfil. Sorterad efter CPU-användning. + Heading = Processer + + Name = Namn + Id = Id + CPU = CPU (%) + Memory = Minne (MB) + Company = Företag + Product = Produkt + Unknown = Okänd +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel inställd på {1}. + Collecting = Samlar information om systemets tidszon. + ParagraphDetail = Följande avsnitt beskriver systemets tidszon. + ParagraphSummary = Följande tabell sammanfattar systemets tidszon. + Heading = Tidszon + + TimeZone = Tidszon + Id = Id + DisplayName = Visningsnamn + CurrentTime = Aktuell tid + BaseUTCOffset = UTC-basförskjutning + SupportsDaylightSavingTime = Stöder sommartid + Yes = Ja + No = Nej + Unknown = Okänd +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel inställd på {1}. + Collecting = Samlar information om systemets drifttid. + ParagraphDetail = Följande avsnitt beskriver systemets drifttid. + ParagraphSummary = Följande tabell sammanfattar systemets drifttid. + Heading = Drifttid + + Uptime = Drifttid +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel inställd på {1}. + Collecting = Samlar information om systemets PowerShell Host. + ParagraphDetail = Följande avsnitt beskriver systemets PowerShell Host. + ParagraphSummary = Följande tabell sammanfattar systemets PowerShell Host. + Heading = PowerShell Host + + Name = Namn + Version = Version + CurrentCulture = Aktuell kultur + CurrentUICulture = Aktuell UI-kultur + DebuggerEnabled = Felsökare aktiverad + Yes = Ja + No = Nej + Unknown = Okänd +'@ +} diff --git a/Language/th-TH/SystemResources.psd1 b/Language/th-TH/SystemResources.psd1 new file mode 100644 index 0000000..23e4c19 --- /dev/null +++ b/Language/th-TH/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'th-TH' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ตั้งค่าที่ {1} + Collecting = กำลังรวบรวมข้อมูลวันที่ของระบบ + ParagraphDetail = ส่วนต่อไปนี้อธิบายรายละเอียดวันที่ของระบบ + ParagraphSummary = ตารางต่อไปนี้สรุปวันที่ของระบบ + Heading = วันที่ + + Date = วันที่ + Hour = ชั่วโมง +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ตั้งค่าที่ {1} + Collecting = กำลังรวบรวมข้อมูลกระบวนการของระบบ + ParagraphDetail = ส่วนต่อไปนี้อธิบายรายละเอียดกระบวนการของระบบ + ParagraphSummary = ตารางต่อไปนี้สรุปกระบวนการของระบบ 10 อันดับแรก สำหรับข้อมูลโดยละเอียดเพิ่มเติม โปรดตั้งค่า InfoLevel.ProcessInfo เป็น 2 ในไฟล์การกำหนดค่ารายงานของคุณ เรียงลำดับตามการใช้งาน CPU + Heading = กระบวนการ + + Name = ชื่อ + Id = Id + CPU = CPU (%) + Memory = หน่วยความจำ (MB) + Company = บริษัท + Product = ผลิตภัณฑ์ + Unknown = ไม่ทราบ +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ตั้งค่าที่ {1} + Collecting = กำลังรวบรวมข้อมูลเขตเวลาของระบบ + ParagraphDetail = ส่วนต่อไปนี้อธิบายรายละเอียดเขตเวลาของระบบ + ParagraphSummary = ตารางต่อไปนี้สรุปเขตเวลาของระบบ + Heading = เขตเวลา + + TimeZone = เขตเวลา + Id = Id + DisplayName = ชื่อที่แสดง + CurrentTime = เวลาปัจจุบัน + BaseUTCOffset = ค่าชดเชย UTC พื้นฐาน + SupportsDaylightSavingTime = รองรับเวลาออมแสง + Yes = ใช่ + No = ไม่ใช่ + Unknown = ไม่ทราบ +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ตั้งค่าที่ {1} + Collecting = กำลังรวบรวมข้อมูลเวลาทำงานของระบบ + ParagraphDetail = ส่วนต่อไปนี้อธิบายรายละเอียดเวลาทำงานของระบบ + ParagraphSummary = ตารางต่อไปนี้สรุปเวลาทำงานของระบบ + Heading = เวลาทำงาน + + Uptime = เวลาทำงาน +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel ตั้งค่าที่ {1} + Collecting = กำลังรวบรวมข้อมูล PowerShell Host ของระบบ + ParagraphDetail = ส่วนต่อไปนี้อธิบายรายละเอียด PowerShell Host ของระบบ + ParagraphSummary = ตารางต่อไปนี้สรุป PowerShell Host ของระบบ + Heading = PowerShell Host + + Name = ชื่อ + Version = เวอร์ชัน + CurrentCulture = วัฒนธรรมปัจจุบัน + CurrentUICulture = วัฒนธรรม UI ปัจจุบัน + DebuggerEnabled = เปิดใช้งานตัวดีบั๊ก + Yes = ใช่ + No = ไม่ใช่ + Unknown = ไม่ทราบ +'@ +} diff --git a/Language/tr-TR/SystemResources.psd1 b/Language/tr-TR/SystemResources.psd1 new file mode 100644 index 0000000..ffbdeb2 --- /dev/null +++ b/Language/tr-TR/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'tr-TR' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel {1} olarak ayarlandı. + Collecting = Sistem tarih bilgileri toplanıyor. + ParagraphDetail = Aşağıdaki bölümler sistem tarihini detaylandırır. + ParagraphSummary = Aşağıdaki tablo sistem tarihini özetler. + Heading = Tarih + + Date = Tarih + Hour = Saat +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel {1} olarak ayarlandı. + Collecting = Sistem işlem bilgileri toplanıyor. + ParagraphDetail = Aşağıdaki bölümler sistem işlemlerini detaylandırır. + ParagraphSummary = Aşağıdaki tablo en iyi 10 sistem işlemini özetler. Daha ayrıntılı bilgi için, rapor yapılandırma dosyanızda InfoLevel.ProcessInfo değerini 2 olarak ayarlayın. CPU kullanımına göre sıralanmıştır. + Heading = İşlemler + + Name = Ad + Id = Id + CPU = CPU (%) + Memory = Bellek (MB) + Company = Şirket + Product = Ürün + Unknown = Bilinmiyor +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel {1} olarak ayarlandı. + Collecting = Sistem saat dilimi bilgileri toplanıyor. + ParagraphDetail = Aşağıdaki bölümler sistem saat dilimini detaylandırır. + ParagraphSummary = Aşağıdaki tablo sistem saat dilimini özetler. + Heading = Saat Dilimi + + TimeZone = Saat Dilimi + Id = Id + DisplayName = Görünen Ad + CurrentTime = Geçerli Saat + BaseUTCOffset = Temel UTC Farkı + SupportsDaylightSavingTime = Yaz Saati Uygulamasını Destekler + Yes = Evet + No = Hayır + Unknown = Bilinmiyor +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel {1} olarak ayarlandı. + Collecting = Sistem çalışma süresi bilgileri toplanıyor. + ParagraphDetail = Aşağıdaki bölümler sistem çalışma süresini detaylandırır. + ParagraphSummary = Aşağıdaki tablo sistem çalışma süresini özetler. + Heading = Çalışma Süresi + + Uptime = Çalışma Süresi +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel {1} olarak ayarlandı. + Collecting = Sistem PowerShell Host bilgileri toplanıyor. + ParagraphDetail = Aşağıdaki bölümler sistem PowerShell Host'unu detaylandırır. + ParagraphSummary = Aşağıdaki tablo sistem PowerShell Host'unu özetler. + Heading = PowerShell Host + + Name = Ad + Version = Sürüm + CurrentCulture = Geçerli Kültür + CurrentUICulture = Geçerli UI Kültürü + DebuggerEnabled = Hata Ayıklayıcı Etkin + Yes = Evet + No = Hayır + Unknown = Bilinmiyor +'@ +} diff --git a/Language/vi-VN/SystemResources.psd1 b/Language/vi-VN/SystemResources.psd1 new file mode 100644 index 0000000..b9e64e0 --- /dev/null +++ b/Language/vi-VN/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'vi-VN' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel được đặt ở {1}. + Collecting = Đang thu thập thông tin ngày hệ thống. + ParagraphDetail = Các phần sau mô tả chi tiết ngày hệ thống. + ParagraphSummary = Bảng sau tóm tắt ngày hệ thống. + Heading = Ngày + + Date = Ngày + Hour = Giờ +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel được đặt ở {1}. + Collecting = Đang thu thập thông tin tiến trình hệ thống. + ParagraphDetail = Các phần sau mô tả chi tiết các tiến trình hệ thống. + ParagraphSummary = Bảng sau tóm tắt 10 tiến trình hệ thống hàng đầu. Để biết thông tin chi tiết hơn, vui lòng đặt giá trị InfoLevel.ProcessInfo thành 2 trong tệp cấu hình báo cáo của bạn. Được sắp xếp theo mức sử dụng CPU. + Heading = Tiến trình + + Name = Tên + Id = Id + CPU = CPU (%) + Memory = Bộ nhớ (MB) + Company = Công ty + Product = Sản phẩm + Unknown = Không rõ +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel được đặt ở {1}. + Collecting = Đang thu thập thông tin múi giờ hệ thống. + ParagraphDetail = Các phần sau mô tả chi tiết múi giờ hệ thống. + ParagraphSummary = Bảng sau tóm tắt múi giờ hệ thống. + Heading = Múi giờ + + TimeZone = Múi giờ + Id = Id + DisplayName = Tên hiển thị + CurrentTime = Giờ hiện tại + BaseUTCOffset = Độ lệch UTC cơ bản + SupportsDaylightSavingTime = Hỗ trợ giờ tiết kiệm ánh sáng ban ngày + Yes = Có + No = Không + Unknown = Không rõ +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel được đặt ở {1}. + Collecting = Đang thu thập thông tin thời gian hoạt động của hệ thống. + ParagraphDetail = Các phần sau mô tả chi tiết thời gian hoạt động của hệ thống. + ParagraphSummary = Bảng sau tóm tắt thời gian hoạt động của hệ thống. + Heading = Thời gian hoạt động + + Uptime = Thời gian hoạt động +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel được đặt ở {1}. + Collecting = Đang thu thập thông tin PowerShell Host của hệ thống. + ParagraphDetail = Các phần sau mô tả chi tiết PowerShell Host của hệ thống. + ParagraphSummary = Bảng sau tóm tắt PowerShell Host của hệ thống. + Heading = PowerShell Host + + Name = Tên + Version = Phiên bản + CurrentCulture = Văn hóa hiện tại + CurrentUICulture = Văn hóa UI hiện tại + DebuggerEnabled = Trình gỡ lỗi đã bật + Yes = Có + No = Không + Unknown = Không rõ +'@ +} diff --git a/Language/zh-CN/SystemResources.psd1 b/Language/zh-CN/SystemResources.psd1 new file mode 100644 index 0000000..d186f49 --- /dev/null +++ b/Language/zh-CN/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'zh-CN' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel 设置为 {1}。 + Collecting = 正在收集系统日期信息。 + ParagraphDetail = 以下各节详细说明了系统日期。 + ParagraphSummary = 下表汇总了系统日期。 + Heading = 日期 + + Date = 日期 + Hour = 小时 +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel 设置为 {1}。 + Collecting = 正在收集系统进程信息。 + ParagraphDetail = 以下各节详细说明了系统进程。 + ParagraphSummary = 下表汇总了前10个系统进程。有关更详细的信息,请在报告配置文件中将 InfoLevel.ProcessInfo 值设置为 2。按 CPU 使用率排序。 + Heading = 进程 + + Name = 名称 + Id = ID + CPU = CPU (%) + Memory = 内存 (MB) + Company = 公司 + Product = 产品 + Unknown = 未知 +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel 设置为 {1}。 + Collecting = 正在收集系统时区信息。 + ParagraphDetail = 以下各节详细说明了系统时区。 + ParagraphSummary = 下表汇总了系统时区。 + Heading = 时区 + + TimeZone = 时区 + Id = ID + DisplayName = 显示名称 + CurrentTime = 当前时间 + BaseUTCOffset = 基准UTC偏移量 + SupportsDaylightSavingTime = 支持夏令时 + Yes = 是 + No = 否 + Unknown = 未知 +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel 设置为 {1}。 + Collecting = 正在收集系统运行时间信息。 + ParagraphDetail = 以下各节详细说明了系统运行时间。 + ParagraphSummary = 下表汇总了系统运行时间。 + Heading = 运行时间 + + Uptime = 运行时间 +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel 设置为 {1}。 + Collecting = 正在收集系统 PowerShell Host 信息。 + ParagraphDetail = 以下各节详细说明了系统 PowerShell Host。 + ParagraphSummary = 下表汇总了系统 PowerShell Host。 + Heading = PowerShell Host + + Name = 名称 + Version = 版本 + CurrentCulture = 当前区域性 + CurrentUICulture = 当前UI区域性 + DebuggerEnabled = 已启用调试器 + Yes = 是 + No = 否 + Unknown = 未知 +'@ +} diff --git a/Language/zh-Hans/SystemResources.psd1 b/Language/zh-Hans/SystemResources.psd1 new file mode 100644 index 0000000..eae6ed1 --- /dev/null +++ b/Language/zh-Hans/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'zh-Hans' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel 设置为 {1}。 + Collecting = 正在收集系统日期信息。 + ParagraphDetail = 以下各节详细说明系统日期。 + ParagraphSummary = 下表总结了系统日期。 + Heading = 日期 + + Date = 日期 + Hour = 小时 +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel 设置为 {1}。 + Collecting = 正在收集系统进程信息。 + ParagraphDetail = 以下各节详细说明系统进程。 + ParagraphSummary = 下表总结了前 10 个系统进程。如需更详细的信息,请在报告配置文件中将 InfoLevel.ProcessInfo 值设置为 2。按 CPU 使用率排序。 + Heading = 进程 + + Name = 名称 + Id = Id + CPU = CPU (%) + Memory = 内存 (MB) + Company = 公司 + Product = 产品 + Unknown = 未知 +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel 设置为 {1}。 + Collecting = 正在收集系统时区信息。 + ParagraphDetail = 以下各节详细说明系统时区。 + ParagraphSummary = 下表总结了系统时区。 + Heading = 时区 + + TimeZone = 时区 + Id = Id + DisplayName = 显示名称 + CurrentTime = 当前时间 + BaseUTCOffset = 基准 UTC 偏移 + SupportsDaylightSavingTime = 支持夏令时 + Yes = 是 + No = 否 + Unknown = 未知 +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel 设置为 {1}。 + Collecting = 正在收集系统正常运行时间信息。 + ParagraphDetail = 以下各节详细说明系统正常运行时间。 + ParagraphSummary = 下表总结了系统正常运行时间。 + Heading = 正常运行时间 + + Uptime = 正常运行时间 +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel 设置为 {1}。 + Collecting = 正在收集系统 PowerShell 主机信息。 + ParagraphDetail = 以下各节详细说明系统 PowerShell 主机。 + ParagraphSummary = 下表总结了系统 PowerShell 主机。 + Heading = PowerShell 主机 + + Name = 名称 + Version = 版本 + CurrentCulture = 当前区域性 + CurrentUICulture = 当前 UI 区域性 + DebuggerEnabled = 调试器已启用 + Yes = 是 + No = 否 + Unknown = 未知 +'@ +} diff --git a/Language/zh-Hant/SystemResources.psd1 b/Language/zh-Hant/SystemResources.psd1 new file mode 100644 index 0000000..c8bfa2b --- /dev/null +++ b/Language/zh-Hant/SystemResources.psd1 @@ -0,0 +1,79 @@ +# culture = 'zh-Hant' +@{ + + # Get-AbrDate + GetAbrDate = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel 設定為 {1}。 + Collecting = 正在收集系統日期資訊。 + ParagraphDetail = 以下各節詳細說明了系統日期。 + ParagraphSummary = 下表匯總了系統日期。 + Heading = 日期 + + Date = 日期 + Hour = 小時 +'@ + # Get-AbrProcessInfo + GetAbrProcessInfo = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel 設定為 {1}。 + Collecting = 正在收集系統處理程序資訊。 + ParagraphDetail = 以下各節詳細說明了系統處理程序。 + ParagraphSummary = 下表匯總了前10個系統處理程序。有關更詳細的資訊,請在報告設定檔中將 InfoLevel.ProcessInfo 值設定為 2。按 CPU 使用率排序。 + Heading = 處理程序 + + Name = 名稱 + Id = ID + CPU = CPU (%) + Memory = 記憶體 (MB) + Company = 公司 + Product = 產品 + Unknown = 未知 +'@ + + # Get-AbrTimeZone + GetAbrTimeZone = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel 設定為 {1}。 + Collecting = 正在收集系統時區資訊。 + ParagraphDetail = 以下各節詳細說明了系統時區。 + ParagraphSummary = 下表匯總了系統時區。 + Heading = 時區 + + TimeZone = 時區 + Id = ID + DisplayName = 顯示名稱 + CurrentTime = 目前時間 + BaseUTCOffset = 基準UTC位移 + SupportsDaylightSavingTime = 支援日光節約時間 + Yes = 是 + No = 否 + Unknown = 未知 +'@ + + # Get-AbrUptime + GetAbrUptime = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel 設定為 {1}。 + Collecting = 正在收集系統執行時間資訊。 + ParagraphDetail = 以下各節詳細說明了系統執行時間。 + ParagraphSummary = 下表匯總了系統執行時間。 + Heading = 執行時間 + + Uptime = 執行時間 +'@ + + # Get-AbrPSHost + GetAbrPSHost = ConvertFrom-StringData @' + InfoLevel = {0} InfoLevel 設定為 {1}。 + Collecting = 正在收集系統 PowerShell Host 資訊。 + ParagraphDetail = 以下各節詳細說明了系統 PowerShell Host。 + ParagraphSummary = 下表匯總了系統 PowerShell Host。 + Heading = PowerShell Host + + Name = 名稱 + Version = 版本 + CurrentCulture = 目前文化特性 + CurrentUICulture = 目前UI文化特性 + DebuggerEnabled = 已啟用偵錯工具 + Yes = 是 + No = 否 + Unknown = 未知 +'@ +} diff --git a/README.md b/README.md index 38f6dcb..69f0edb 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@

- Buy Me a Coffee at ko-fi.com + Buy Me a Coffee at ko-fi.com

@@ -54,6 +54,37 @@ This report is compatible with the following PowerShell versions; | Windows PowerShell 5.1 | PowerShell 7 | |:----------------------:|:--------------------:| | :white_check_mark: | :white_check_mark: | + +## 🗺️ Language Support +### Supported Languages +- English (US) (Default) +- English (GB) +- Arabic (SA) +- Czech (CZ) +- Danish (DK) +- Dutch (NL) +- Finnish (FI) +- French (FR) +- German (DE) +- Greek (GR) +- Hebrew (IL) +- Hindi (HI) +- Hungarian (HU) +- Italian (IT) +- Japanese (JP) +- Korean (KR) +- Norwegian (NO) +- Polish (PL) +- Portuguese (PT) +- Russian (RU) +- Simplified Chinese +- Spanish (ES) +- Swedish (SE) +- Thai (TH) +- Traditional Chinese +- Turkish (TR) +- Vietnamese (VN) + ## :wrench: System Requirements PowerShell 5.1 or PowerShell 7, and the following PowerShell modules are required for generating a System Resources As Built Report. diff --git a/README.md.bak b/README.md.bak deleted file mode 100644 index ec03ac3..0000000 --- a/README.md.bak +++ /dev/null @@ -1 +0,0 @@ -# AsBuiltReport.System.Resources \ No newline at end of file diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..49fed73 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,57 @@ +# Security Policy + +Thanks for helping make AsBuiltReport safe for everyone. + +## Security + +AsBuiltReport takes the security of our software products and services seriously, including all of the open source code repositories managed through our GitHub organizations, such as [AsBuiltReport](https://github.com/AsBuiltReport). + +While AsBuiltReport is an open source project without a formal bug bounty program, we are committed to addressing security vulnerabilities promptly and will ensure that your findings are passed along to the appropriate maintainers for remediation. + +## Reporting Security Issues + +If you believe you have found a security vulnerability in any AsBuiltReport repository, please report it to us through coordinated disclosure. + +**Please do not report security vulnerabilities through public GitHub issues, discussions, or pull requests.** + +Instead, please send an email to support@asbuiltreport.com with the subject line "SECURITY: [Brief Description]". + +Please include as much of the information listed below as you can to help us better understand and resolve the issue: + + * The type of issue (e.g., code injection, credential exposure, or privilege escalation) + * Full paths of source file(s) related to the manifestation of the issue + * The location of the affected source code (tag/branch/commit or direct URL) + * Any special configuration required to reproduce the issue + * Step-by-step instructions to reproduce the issue + * Proof-of-concept or exploit code (if possible) + * Impact of the issue, including how an attacker might exploit the issue + * Affected versions of AsBuiltReport modules + +This information will help us triage your report more quickly. + +## Response Timeline + +We aim to: + * Acknowledge receipt of your report within 72 hours + * Provide an initial assessment within 7-10 days + * Keep you informed of our progress throughout the remediation process + +## Disclosure Policy + +We follow coordinated disclosure principles: + * Security issues will be addressed in a timely manner + * We will coordinate with you on the disclosure timeline + * Public disclosure will occur after a fix is available and deployed + * We will credit reporters (unless anonymity is requested) + +## Supported Versions + +Please refer to individual module repositories for information on which versions are currently supported with security updates. + +## Security Best Practices + +When using AsBuiltReport: + * Store credentials securely using appropriate credential management solutions + * Review generated reports before sharing to ensure no sensitive information is exposed + * Keep AsBuiltReport modules updated to the latest versions + * Follow the principle of least privilege when providing credentials to AsBuiltReport \ No newline at end of file diff --git a/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 b/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 index 5f2072f..e039c08 100644 --- a/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 +++ b/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 @@ -20,37 +20,13 @@ function Invoke-AsBuiltReport.System.Resources { # Do not remove or add to these parameters + [CmdletBinding()] param ( [String[]] $Target, [PSCredential] $Credential ) - Write-Host $reportTranslate.InvokeAsBuiltReportSystemResources.Message1 - Write-Host $reportTranslate.InvokeAsBuiltReportSystemResources.Message2 - Write-Host $reportTranslate.InvokeAsBuiltReportSystemResources.Message3 - Write-Host $reportTranslate.InvokeAsBuiltReportSystemResources.Message4 - Write-Host $reportTranslate.InvokeAsBuiltReportSystemResources.Message5 - - # Check the version of the dependency modules - $ModuleArray = @('AsBuiltReport.System.Resources', 'Diagrammer.Core') - - foreach ($Module in $ModuleArray) { - try { - $InstalledVersion = Get-Module -ListAvailable -Name $Module -ErrorAction SilentlyContinue | Sort-Object -Property Version -Descending | Select-Object -First 1 -ExpandProperty Version - - if ($InstalledVersion) { - Write-Host ($reportTranslate.InvokeAsBuiltReportSystemResources.ModuleStatus -f $Module, "v$($InstalledVersion.ToString())") - $LatestVersion = Find-Module -Name $Module -Repository PSGallery -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Version - if ($InstalledVersion -lt $LatestVersion) { - Write-Host -ForegroundColor Red ($reportTranslate.InvokeAsBuiltReportSystemResources.ModuleAvailable -f $Module, "v$($LatestVersion.ToString())") - - Write-Host -ForegroundColor Red ($reportTranslate.InvokeAsBuiltReportSystemResources.ModuleUpdateCmd -f $Module) - } - } - } catch { - Write-PScriboMessage -IsWarning $_.Exception.Message - } - } + Write-ReportModuleInfo -ModuleName 'System.Resources' # Import Report Configuration $Report = $ReportConfig.Report From 249c521b7d5358cacba527fc118cfe905a0349e6 Mon Sep 17 00:00:00 2001 From: Jonathan Colon Date: Fri, 10 Oct 2025 11:59:39 -0400 Subject: [PATCH 5/9] Update author information to 'AsBuiltReport Community' and upgrade workflow actions --- .github/workflows/Release.yml | 6 ++-- AsBuiltReport.System.Resources.psd1 | 4 +-- Src/Private/Get-AbrDate.ps1 | 2 +- Src/Private/Get-AbrPSHost.ps1 | 2 +- Src/Private/Get-AbrProcessInfo.ps1 | 2 +- Src/Private/Get-AbrTimeZone.ps1 | 2 +- Src/Private/Get-AbrUptime.ps1 | 2 +- Src/Private/Get-SystemUptime.ps1 | 32 +++++++++++++++++-- .../Invoke-AsBuiltReport.System.Resources.ps1 | 2 +- 9 files changed, 40 insertions(+), 14 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index faa9803..3d6cc40 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -6,9 +6,9 @@ on: jobs: publish-to-gallery: - runs-on: windows-2019 + runs-on: windows-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set PSRepository to Trusted for PowerShell Gallery shell: pwsh run: | @@ -45,7 +45,7 @@ jobs: needs: publish-to-gallery runs-on: ubuntu-latest steps: - - uses: zentered/bluesky-post-action@v0.2.0 + - uses: zentered/bluesky-post-action@v0.3.0 with: post: "[New Release] ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}! Check out what's new! ${{ github.event.release.html_url }} #System #Resources #AsBuiltReport #PowerShell" env: diff --git a/AsBuiltReport.System.Resources.psd1 b/AsBuiltReport.System.Resources.psd1 index 42717d8..8642e8e 100644 --- a/AsBuiltReport.System.Resources.psd1 +++ b/AsBuiltReport.System.Resources.psd1 @@ -21,13 +21,13 @@ GUID = 'f930270b-607d-422b-bd94-b6665bcc5b96' # Author of this module - Author = 'Jonathan Colon' + Author = 'AsBuiltReport Community' # Company or vendor of this module # CompanyName = 'Unknown' # Copyright statement for this module - Copyright = '(c) 2025 Jonathan Colon. All rights reserved.' + Copyright = '(c) 2025 AsBuiltReport. All rights reserved.' # Description of the functionality provided by this module Description = 'A PowerShell module to generate an as built report on the configuration of System Resources.' diff --git a/Src/Private/Get-AbrDate.ps1 b/Src/Private/Get-AbrDate.ps1 index 1f23457..c5c96e5 100644 --- a/Src/Private/Get-AbrDate.ps1 +++ b/Src/Private/Get-AbrDate.ps1 @@ -6,7 +6,7 @@ function Get-AbrDate { .NOTES Version: 0.1.1 - Author: AsBuiltReport Organization + Author: AsBuiltReport Community Twitter: @AsBuiltReport Github: AsBuiltReport .EXAMPLE diff --git a/Src/Private/Get-AbrPSHost.ps1 b/Src/Private/Get-AbrPSHost.ps1 index 0f41feb..9c1c65e 100644 --- a/Src/Private/Get-AbrPSHost.ps1 +++ b/Src/Private/Get-AbrPSHost.ps1 @@ -7,7 +7,7 @@ function Get-AbrPSHost { .NOTES Version: 0.1.1 - Author: AsBuiltReport Organization + Author: AsBuiltReport Community Twitter: @AsBuiltReport Github: AsBuiltReport .EXAMPLE diff --git a/Src/Private/Get-AbrProcessInfo.ps1 b/Src/Private/Get-AbrProcessInfo.ps1 index 1cb3b9f..dedbe80 100644 --- a/Src/Private/Get-AbrProcessInfo.ps1 +++ b/Src/Private/Get-AbrProcessInfo.ps1 @@ -7,7 +7,7 @@ function Get-AbrProcessInfo { .NOTES Version: 0.1.1 - Author: AsBuiltReport Organization + Author: AsBuiltReport Community Twitter: @AsBuiltReport Github: AsBuiltReport .EXAMPLE diff --git a/Src/Private/Get-AbrTimeZone.ps1 b/Src/Private/Get-AbrTimeZone.ps1 index 710e0cf..c8ab060 100644 --- a/Src/Private/Get-AbrTimeZone.ps1 +++ b/Src/Private/Get-AbrTimeZone.ps1 @@ -6,7 +6,7 @@ function Get-AbrTimeZone { .NOTES Version: 0.1.1 - Author: AsBuiltReport Organization + Author: AsBuiltReport Community Twitter: @AsBuiltReport Github: AsBuiltReport .EXAMPLE diff --git a/Src/Private/Get-AbrUptime.ps1 b/Src/Private/Get-AbrUptime.ps1 index ad1e63b..60219df 100644 --- a/Src/Private/Get-AbrUptime.ps1 +++ b/Src/Private/Get-AbrUptime.ps1 @@ -7,7 +7,7 @@ function Get-AbrUptime { .NOTES Version: 0.1.1 - Author: AsBuiltReport Organization + Author: AsBuiltReport Community Twitter: @AsBuiltReport Github: AsBuiltReport .EXAMPLE diff --git a/Src/Private/Get-SystemUptime.ps1 b/Src/Private/Get-SystemUptime.ps1 index 74cc25d..e12e2c6 100644 --- a/Src/Private/Get-SystemUptime.ps1 +++ b/Src/Private/Get-SystemUptime.ps1 @@ -1,5 +1,31 @@ function Get-SystemUptime { - $operatingSystem = Get-CimInstance -ClassName Win32_OperatingSystem | Select-Object LastBootUpTime - $Uptime = "$((Get-Date) - ($operatingSystem.LastBootUpTime))" - return [TimeSpan]$Uptime + <# + .SYNOPSIS + Used by As Built Report to retrieve last boot uptime information + .DESCRIPTION + + .NOTES + Version: 0.1.1 + Author: AsBuiltReport Community + Twitter: @AsBuiltReport + Github: AsBuiltReport + .EXAMPLE + + .LINK + + #> + [CmdletBinding()] + [OutputType([TimeSpan])] + param ( + ) + + begin {} + + process { + $operatingSystem = Get-CimInstance -ClassName Win32_OperatingSystem | Select-Object LastBootUpTime + $Uptime = "$((Get-Date) - ($operatingSystem.LastBootUpTime))" + return [TimeSpan]$Uptime + } + + end {} } \ No newline at end of file diff --git a/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 b/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 index e039c08..4b26f63 100644 --- a/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 +++ b/Src/Public/Invoke-AsBuiltReport.System.Resources.ps1 @@ -6,7 +6,7 @@ function Invoke-AsBuiltReport.System.Resources { Documents the configuration of System Resources in Word/HTML/Text formats using PScribo. .NOTES Version: 0.1.1 - Author: AsBuiltReport Organization + Author: AsBuiltReport Community Twitter: @AsBuiltReport Github: AsBuiltReport Credits: Iain Brighton (@iainbrighton) - PScribo module From 94e3ee01df26c7fc675a53cc6024b66308508d67 Mon Sep 17 00:00:00 2001 From: Jonathan Colon Date: Sat, 11 Oct 2025 21:01:55 -0400 Subject: [PATCH 6/9] Update module version to 1.5.0 and enhance README with multi-language support details --- AsBuiltReport.System.Resources.psd1 | 2 +- CHANGELOG.md | 17 ++----- README.md | 75 ++++++++++++++++++++--------- 3 files changed, 57 insertions(+), 37 deletions(-) diff --git a/AsBuiltReport.System.Resources.psd1 b/AsBuiltReport.System.Resources.psd1 index 8642e8e..9ba503a 100644 --- a/AsBuiltReport.System.Resources.psd1 +++ b/AsBuiltReport.System.Resources.psd1 @@ -55,7 +55,7 @@ RequiredModules = @( @{ ModuleName = 'AsBuiltReport.Core'; - ModuleVersion = '1.4.3' + ModuleVersion = '1.5.0' } ) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c87c7d..07bc154 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,20 +5,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.1.1] - 2025-09-?? +## [0.1.1] - 2025-10-11 ### Added -- Introduced English and Spanish translations for date-related messages. -- Updated System Resources report to include language and status fields. -- Enhanced date collection messages for clarity and consistency. -- Removed outdated translation files for Get-AbrDate. -- Created a new Todo.md file for future enhancements. - -### Changed - -### Fixed - -### Removed - - +- Introduce multi-language support. +- Add sections for Date, TimeZone, Uptime, PowerShell Host, and Process. \ No newline at end of file diff --git a/README.md b/README.md index 69f0edb..143e381 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,8 @@ The System Resources As Built Report supports the following Resources versions; This report is compatible with the following PowerShell versions; -| Windows PowerShell 5.1 | PowerShell 7 | -|:----------------------:|:--------------------:| +| Windows PowerShell 5.1 | PowerShell 7 | +| :--------------------: | :----------------: | | :white_check_mark: | :white_check_mark: | ## 🗺️ Language Support @@ -92,8 +92,11 @@ PowerShell 5.1 or PowerShell 7, and the following PowerShell modules are require - [AsBuiltReport.System.Resources Module](https://www.powershellgallery.com/packages/AsBuiltReport.System.Resources/) ### :closed_lock_with_key: Required Privileges - - + +Local user privileges are required to run this report. + +> [!IMPORTANT] +> The intention of this report is to demonstrate the multi-language capabilities of the AsBuiltReport project. Therefore, this report does not require any special privileges to run. ## :package: Module Installation @@ -143,15 +146,16 @@ The following provides information of how to configure each schema within the re ### Report The **Report** schema provides configuration of the System Resources report information. -| Sub-Schema | Setting | Default | Description | -|---------------------|--------------|--------------------------------|--------------------------------------------------------------| +| Sub-Schema | Setting | Default | Description | +| ------------------- | ------------ | -------------------------------- | ------------------------------------------------------------ | | Name | User defined | System Resources As Built Report | The name of the As Built Report | -| Version | User defined | 1.0 | The report version | -| Status | User defined | Released | The report release status | -| ShowCoverPageImage | true / false | true | Toggle to enable/disable the display of the cover page image | -| ShowTableOfContents | true / false | true | Toggle to enable/disable table of contents | -| ShowHeaderFooter | true / false | true | Toggle to enable/disable document headers & footers | -| ShowTableCaptions | true / false | true | Toggle to enable/disable table captions/numbering | +| Version | User defined | 1.0 | The report version | +| Status | User defined | Released | The report release status | +| Language | User defined | en-US | The language / locale of the report | +| ShowCoverPageImage | true / false | true | Toggle to enable/disable the display of the cover page image | +| ShowTableOfContents | true / false | true | Toggle to enable/disable table of contents | +| ShowHeaderFooter | true / false | true | Toggle to enable/disable document headers & footers | +| ShowTableCaptions | true / false | true | Toggle to enable/disable table captions/numbering | ### Options The **Options** schema allows certain options within the report to be toggled on or off. @@ -160,19 +164,46 @@ The **Options** schema allows certain options within the report to be toggled on ### InfoLevel The **InfoLevel** schema allows configuration of each section of the report at a granular level. The following sections can be set. -There are 6 levels (0-5) of detail granularity for each section as follows; +There are 3 levels (0-2) of detail granularity for each section as follows; + +| Setting | InfoLevel | Description | +| :-----: | ----------------- | -------------------------------------------------------------------- | +| 0 | Disabled | Does not collect or display any information | +| 1 | Enabled / Summary | Provides summarised information for a collection of objects | +| 2 | Adv Summary | Provides condensed, detailed information for a collection of objects | -| Setting | InfoLevel | Description | -|:-------:|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------| -| 0 | Disabled | Does not collect or display any information | -| 1 | Enabled / Summary | Provides summarised information for a collection of objects | -| 2 | Adv Summary | Provides condensed, detailed information for a collection of objects | -| 3 | Detailed | Provides detailed information for individual objects | -| 4 | Adv Detailed | Provides detailed information for individual objects, as well as information for associated objects | -| 5 | Comprehensive | Provides comprehensive information for individual objects, such as advanced configuration settings | +The table below outlines the default and maximum **InfoLevel** settings for each section. + +| Sub-Schema | Default Setting | Maximum Setting | +| ---------- | :-------------: | :-------------: | +| Date | 1 | 2 | +| TimeZone | 2 | 2 | +| Uptime | 2 | 2 | +| PSHost | 2 | 2 | +| Process | 1 | 2 | ### Healthcheck The **Healthcheck** schema is used to toggle health checks on or off. +No health checks are currently available for this report. + ## :computer: Examples - + +The following examples demonstrate how to generate a System Resources As Built Report. + +Below are a few examples of running the AsBuiltReport script. Refer to the `README.md` file in the main AsBuiltReport project repository for more examples. + +```powershell +# Generate a System Resources As Built Report for 'localhost'. Export report to HTML & DOCX formats. Use default report style. Append timestamp to report filename. Save reports to 'C:\Users\Jon\Documents' +PS C:\> New-AsBuiltReport -Report System.Resources -Target localhost -Username 'User' -Password 'P@ssw0rd' -Format Html,Word -OutputFolderPath 'C:\Users\Jon\Documents' -Timestamp + +# Generate a System Resources As Built Report for 'localhost' using specified credentials and report configuration file. Export report to Text, HTML & DOCX formats. Use default report style. Save reports to 'C:\Users\Jon\Documents'. Display verbose messages to the console. +PS C:\> New-AsBuiltReport -Report System.Resources -Target localhost -Username 'User' -Password 'P@ssw0rd' -Format Text,Html,Word -OutputFolderPath 'C:\Users\Jon\Documents' -ReportConfigFilePath 'C:\Users\Jon\AsBuiltReport\AsBuiltReport.System.Resources.json' -Verbose + +# Generate a System Resources As Built Report for 'localhost' using stored credentials. Export report to HTML & Text formats. Use default report style. Highlight environment issues within the report. Save reports to 'C:\Users\Jon\Documents'. +PS C:\> $Creds = Get-Credential +PS C:\> New-AsBuiltReport -Report System.Resources -Target localhost -Credential $Creds -Format Html,Text -OutputFolderPath 'C:\Users\Jon\Documents' -EnableHealthCheck + +# Generate a System Resources As Built Report for Backup Server localhost using stored credentials. Export report to HTML & DOCX formats. Use default report style. Reports are saved to the user profile folder by default. Attach and send reports via e-mail. +PS C:\> New-AsBuiltReport -Report System.Resources -Target localhost -Username 'User' -Password 'P@ssw0rd' -Format Html,Word -OutputFolderPath 'C:\Users\Jon\Documents' -SendEmail +``` \ No newline at end of file From a2ca39bfa3456690948380e92673e57f3f9ac15f Mon Sep 17 00:00:00 2001 From: Jonathan Colon Date: Sat, 11 Oct 2025 21:05:13 -0400 Subject: [PATCH 7/9] Add example for generating report in Spanish to README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 143e381..0471dbd 100644 --- a/README.md +++ b/README.md @@ -206,4 +206,7 @@ PS C:\> New-AsBuiltReport -Report System.Resources -Target localhost -Credential # Generate a System Resources As Built Report for Backup Server localhost using stored credentials. Export report to HTML & DOCX formats. Use default report style. Reports are saved to the user profile folder by default. Attach and send reports via e-mail. PS C:\> New-AsBuiltReport -Report System.Resources -Target localhost -Username 'User' -Password 'P@ssw0rd' -Format Html,Word -OutputFolderPath 'C:\Users\Jon\Documents' -SendEmail + +# Generate a System Resources As Built Report for 'localhost'. Export report to HTML & DOCX formats. Use default report style. Save reports to 'C:\Users\Jon\Documents' and set the report language to Spanish. +PS C:\> New-AsBuiltReport -Report System.Resources -Target localhost -Username 'User' -Password 'P@ssw0rd' -Format Html,Word -OutputFolderPath 'C:\Users\Jon\Documents' -ReportLanguage es-ES ``` \ No newline at end of file From 8bd4a9fd7220f745a9923d8a0f70f60ac1be1cf9 Mon Sep 17 00:00:00 2001 From: Jonathan Colon Date: Sat, 11 Oct 2025 21:15:46 -0400 Subject: [PATCH 8/9] Update Todo.md to reflect current tasks and progress --- Todo.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Todo.md b/Todo.md index e69de29..7e5917b 100644 --- a/Todo.md +++ b/Todo.md @@ -0,0 +1,8 @@ +- [x] Update README.md with usage examples +- [ ] Add HealthCheck support + - [ ] Test multi-language in HealthChecks +- [ ] Add support for charts + - [ ] CPU usage charts + - [ ] Memory usage charts +- [ ] Add support for diagrams + - [ ] Process diagrams \ No newline at end of file From 56453a901443341143106ce2c5e491344057050c Mon Sep 17 00:00:00 2001 From: Jonathan Colon Date: Sat, 11 Oct 2025 21:21:23 -0400 Subject: [PATCH 9/9] Add note on AsBuiltReport.Core version requirement for report functionality --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 0471dbd..6b74745 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,9 @@ PowerShell 5.1 or PowerShell 7, and the following PowerShell modules are require - [AsBuiltReport.System.Resources Module](https://www.powershellgallery.com/packages/AsBuiltReport.System.Resources/) +> [!IMPORTANT] +> This report requires AsBuiltReport.Core version 1.5.0 or later to be installed. [Multilingual-support](https://www.asbuiltreport.com/blog/2025/09/05/Multilingual-support/) + ### :closed_lock_with_key: Required Privileges Local user privileges are required to run this report.