Skip to main content
$fr.Files -> $f.Files
Source Link
Arsalan Adam Khatri
  • 14.5k
  • 3
  • 37
  • 59

Try the following in powershell to see whether your CSS file is customized: .........

$web = get-spweb http://yourweb
$f = $web.GetFolder("Style Library/folder/css")
$f.Files |? {$_.CustomizedPageStatus.ToString() -eq "Customized"} |% {$_.Name}

If it's customized, use the following to revert back to unghosted mode:

$f.RevertContentStream()      

Reference here.

Try the following in powershell to see whether your CSS file is customized: .........

$web = get-spweb http://yourweb
$f = $web.GetFolder("Style Library/folder/css")
$f.Files |? {$_.CustomizedPageStatus.ToString() -eq "Customized"} |% {$_.Name}

If it's customized, use the following to revert back to unghosted mode:

$f.RevertContentStream()      

Reference here.

Try the following in powershell to see whether your CSS file is customized:

$web = get-spweb http://yourweb
$f = $web.GetFolder("Style Library/folder/css")
$f.Files |? {$_.CustomizedPageStatus.ToString() -eq "Customized"} |% {$_.Name}

If it's customized, use the following to revert back to unghosted mode:

$f.RevertContentStream()      

Reference here.

Try the following in powershell to see whether your CSS file is customized: .........

$web = get-spweb http://yourweb
$f = $web.GetFolder("Style Library/folder/css")
$fr$f.Files |? {$_.CustomizedPageStatus.ToString() -eq "Customized"} |% {$_.Name}

If it's customized, use the following to revert back to unghosted mode:

$fr$f.RevertContentStream()      

Reference here.

Try the following in powershell to see whether your CSS file is customized:

$web = get-spweb http://yourweb
$f = $web.GetFolder("Style Library/folder/css")
$fr.Files |? {$_.CustomizedPageStatus.ToString() -eq "Customized"} |% {$_.Name}

If it's customized, use the following to revert back to unghosted mode:

$fr.RevertContentStream()

Reference here.

Try the following in powershell to see whether your CSS file is customized: .........

$web = get-spweb http://yourweb
$f = $web.GetFolder("Style Library/folder/css")
$f.Files |? {$_.CustomizedPageStatus.ToString() -eq "Customized"} |% {$_.Name}

If it's customized, use the following to revert back to unghosted mode:

$f.RevertContentStream()      

Reference here.

Source Link
Phil Greer
  • 2.3k
  • 9
  • 21
  • 23

Try the following in powershell to see whether your CSS file is customized:

$web = get-spweb http://yourweb
$f = $web.GetFolder("Style Library/folder/css")
$fr.Files |? {$_.CustomizedPageStatus.ToString() -eq "Customized"} |% {$_.Name}

If it's customized, use the following to revert back to unghosted mode:

$fr.RevertContentStream()

Reference here.