Home Forums Programming Powershell How to exclude replication stored procedures from a script? RE: How to exclude replication stored procedures from a script?

  • This will exclude all non-user objects. I assume they're probably not required anyway.

    Get-ChildItem | where {$_.IsSystemObject -eq $false}