-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Description
Thank you for the code.
I am trying to set versioning on for a a few sites and I am reading them from a text file.
All is well, but how to add so it will run on the sub-sites of those site collection as well.
foreach ($line in Get-Content c:\sites.txt) {
$sitecollection=Get-SPosite $line
set-Versioning -Url $sitecollection.url -Username $Username -Password $Password -Versioning $Versioning
}
thanks!
Effy.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels