Jul 01 2021 12:31 PM
Powershell newbie here......looking to run the following but want to send the output to a text file.
Get-SPOSite -Template REDIRECTSITE#0
I tried adding | Out-File -FilePath C:\somefilename.txt
But that didn't work. Tells me access to the file path is denied.
Any help would be much appreciated! Thank you!
Jul 01 2021 12:43 PM
SolutionJul 01 2021 12:53 PM