Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions .github/workflows/test-powershell.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
name: Test PowerShell Module (All)
name: Test PowerShell

# This workflow is disabled but ready for use
on:
workflow_dispatch:
push:
branches:
- master
paths-ignore:
- '*.md'
- 'Docs/**'
- 'Examples/**'
- '.gitignore'
pull_request:
branches:
- master

env:
DOTNET_VERSION: '8.x'
Expand All @@ -12,10 +21,12 @@ jobs:
refresh-psd1:
name: 'Refresh PSD1'
runs-on: windows-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref }}

- name: Setup PowerShell modules
run: |
Expand Down Expand Up @@ -47,10 +58,10 @@ jobs:
path: PSWriteOffice.psd1

test-windows-ps5:
if: false # Temporarily disabled
needs: refresh-psd1
name: 'Windows PowerShell 5.1'
runs-on: windows-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -86,7 +97,6 @@ jobs:
needs: refresh-psd1
name: 'Windows PowerShell 7'
runs-on: windows-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -122,7 +132,6 @@ jobs:
needs: refresh-psd1
name: 'Ubuntu PowerShell 7'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -165,7 +174,6 @@ jobs:
needs: refresh-psd1
name: 'macOS PowerShell 7'
runs-on: macos-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
18 changes: 6 additions & 12 deletions PSWriteOffice.psd1
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@{
AliasesToExport = @()
Author = 'Przemyslaw Klys'
CmdletsToExport = @('Get-OfficeWord', 'New-OfficeWord', 'Close-OfficeWord', 'Save-OfficeWord', 'Remove-OfficeWordFooter', 'Remove-OfficeWordHeader', 'New-OfficeWordText', 'New-OfficeWordList', 'New-OfficeWordListItem', 'New-OfficeWordTable', 'ConvertFrom-HTMLtoWord', 'Get-OfficeExcel', 'New-OfficeExcel', 'New-OfficeExcelWorkSheet', 'Get-OfficeExcelWorkSheet', 'Get-OfficeExcelValue', 'New-OfficeExcelValue', 'Get-OfficeExcelWorkSheetData', 'Close-OfficeExcel', 'Save-OfficeExcel', 'Export-OfficeExcel', 'Import-OfficeExcel', 'Get-OfficePowerPoint', 'New-OfficePowerPoint', 'Save-OfficePowerPoint', 'Add-OfficePowerPointSlide', 'Remove-OfficePowerPointSlide', 'Merge-OfficePowerPoint', 'Get-OfficePowerPointSlide', 'Add-OfficePowerPointTextBox', 'Set-OfficePowerPointSlideTitle', 'New-OfficeExcelTable', 'Set-OfficeExcelCellStyle', 'Set-OfficeExcelWorkSheetStyle')
CmdletsToExport = @('Close-OfficeWord', 'ConvertFrom-HTMLtoWord', 'Get-OfficeWord', 'New-OfficeWord', 'New-OfficeWordList', 'New-OfficeWordListItem', 'New-OfficeWordTable', 'New-OfficeWordText', 'Remove-OfficeWordFooter', 'Remove-OfficeWordHeader', 'Save-OfficeWord', 'Add-OfficePowerPointSlide', 'Add-OfficePowerPointTextBox', 'Get-OfficePowerPoint', 'Get-OfficePowerPointSlide', 'Merge-OfficePowerPoint', 'New-OfficePowerPoint', 'Remove-OfficePowerPointSlide', 'Save-OfficePowerPoint', 'Set-OfficePowerPointSlideTitle', 'Close-OfficeExcel', 'Export-OfficeExcel', 'Get-OfficeExcel', 'Get-OfficeExcelValue', 'Get-OfficeExcelWorkSheet', 'Get-OfficeExcelWorkSheetData', 'Import-OfficeExcel', 'New-OfficeExcel', 'New-OfficeExcelTable', 'New-OfficeExcelValue', 'New-OfficeExcelWorkSheet', 'Save-OfficeExcel', 'Set-OfficeExcelCellStyle', 'Set-OfficeExcelWorkSheetStyle')
CompanyName = 'Evotec'
CompatiblePSEditions = @('Desktop', 'Core')
Copyright = '(c) 2011 - 2024 Przemyslaw Klys @ Evotec. All rights reserved.'
Copyright = '(c) 2011 - 2025 Przemyslaw Klys @ Evotec. All rights reserved.'
Description = 'Experimental PowerShell Module to create and edit Microsoft Word, Microsoft Excel, and Microsoft PowerPoint documents without having Microsoft Office installed.'
DotNetFrameworkVersion = '4.7.2'
FunctionsToExport = @()
Expand All @@ -13,17 +13,11 @@
PowerShellVersion = '5.1'
PrivateData = @{
PSData = @{
ExternalModuleDependencies = @('Microsoft.PowerShell.Utility', 'Microsoft.PowerShell.Management')
IconUri = 'https://evotec.xyz/wp-content/uploads/2018/10/PSWriteWord.png'
LicenseUri = 'https://github.com/EvotecIT/PSWriteOffice/blob/master/License'
ProjectUri = 'https://github.com/EvotecIT/PSWriteOffice'
Tags = @('word', 'docx', 'write', 'PSWord', 'office', 'windows', 'doc', 'pswriteword', 'linux', 'macos')
IconUri = 'https://evotec.xyz/wp-content/uploads/2018/10/PSWriteWord.png'
LicenseUri = 'https://github.com/EvotecIT/PSWriteOffice/blob/master/License'
ProjectUri = 'https://github.com/EvotecIT/PSWriteOffice'
Tags = @('word', 'docx', 'write', 'PSWord', 'office', 'windows', 'doc', 'pswriteword', 'linux', 'macos')
}
}
RequiredModules = @(@{
Guid = 'ee272aa8-baaa-4edf-9f45-b6d6f7d844fe'
ModuleName = 'PSSharedGoods'
ModuleVersion = '0.0.297'
}, 'Microsoft.PowerShell.Utility', 'Microsoft.PowerShell.Management')
RootModule = 'PSWriteOffice.psm1'
}