API Reference
Command
Add-OfficeWordPageNumber
Adds a PAGE field to the current header/footer.
Remarks
Adds a PAGE field to the current header/footer.
Examples
Footer page numbering.
PS>WordFooter { Add-OfficeWordPageNumber -IncludeTotalPages }
Outputs “Page # of #” in the footer.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Add-OfficeWordPageNumber [-IncludeTotalPages] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- IncludeTotalPages SwitchParameter
- Include “of N” when true.
Outputs
System.Object