This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Lists the pages which are not published yet (in the current version or any version at all). | |
.NOTES | |
Manuel Fischer | |
#> | |
function Get-AllUnpublishedPages { | |
Get-ChildItem -Path $homeFolder -Recurse | IsPage | IsPublished |