-
Notifications
You must be signed in to change notification settings - Fork 16
Error while executing the script #2
Description
Hello,
I edited the following parameters on the config file:
Tenant
DocumentName
ExportPath
applePushNotificationCertificate: True
Then executed the PS and got the below errors:
Format-PSTable : A parameter cannot be found that matches parameter name 'NoAliasOrScriptProperties'.
At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\0.5.8\Public\PSWordTable.ps1:65 char:81
- ... -ExcludeProperty $ExcludeProperty -NoAliasOrScriptProperties:$NoAlias ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidArgument: (:) [Format-PSTable], ParameterBindingException
- FullyQualifiedErrorId : NamedParameterNotFound,Format-PSTable
Cannot index into a null array.
At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\0.5.8\Public\PSWordTable.ps1:66 char:13
-
$WorksheetHeaders = $Data[0] # Saving Header information ... -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidOperation: (:) [], RuntimeException
- FullyQualifiedErrorId : NullArray
Cannot index into a null array.
At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\0.5.8\Public\PSWordTable.ps1:68 char:34
- ... $NumberColumns = if ($Data[0].Count -ge $MaximumColumns) { $Max ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidOperation: (:) [], RuntimeException
- FullyQualifiedErrorId : NullArray
Exception calling "InsertTable" with "2" argument(s): "Specified argument was out of the range of valid
values.
Parameter name: Row and Column count must be greater than zero."
At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\0.5.8\Public\PSWordTable.ps1:365 char:9
-
$WordTable = $WordDocument.InsertTable($NrRows, $NrColumns) -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : NotSpecified: (:) [], MethodInvocationException
- FullyQualifiedErrorId : ArgumentOutOfRangeException
Format-PSTable : A parameter cannot be found that matches parameter name 'NoAliasOrScriptProperties'.
At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\0.5.8\Public\PSWordTable.ps1:65 char:81
- ... -ExcludeProperty $ExcludeProperty -NoAliasOrScriptProperties:$NoAlias ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidArgument: (:) [Format-PSTable], ParameterBindingException
- FullyQualifiedErrorId : NamedParameterNotFound,Format-PSTable
Cannot index into a null array.
At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\0.5.8\Public\PSWordTable.ps1:66 char:13
-
$WorksheetHeaders = $Data[0] # Saving Header information ... -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidOperation: (:) [], RuntimeException
- FullyQualifiedErrorId : NullArray
Cannot index into a null array.
At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\0.5.8\Public\PSWordTable.ps1:68 char:34
- ... $NumberColumns = if ($Data[0].Count -ge $MaximumColumns) { $Max ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidOperation: (:) [], RuntimeException
- FullyQualifiedErrorId : NullArray
Exception calling "InsertTable" with "2" argument(s): "Specified argument was out of the range of valid
values.
Parameter name: Row and Column count must be greater than zero."
At C:\Program Files\WindowsPowerShell\Modules\PSWriteWord\0.5.8\Public\PSWordTable.ps1:365 char:9
-
$WordTable = $WordDocument.InsertTable($NrRows, $NrColumns) -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : NotSpecified: (:) [], MethodInvocationException
- FullyQualifiedErrorId : ArgumentOutOfRangeException