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

  • dir is an alias for Get-ChildItem

    Get-Alias dir

    One of the options for Get-ChildItem is -Exclude which accepts a pattern.

    help Get-ChildItem -Detailed

    If you devise the repl proc pattern and provide that to Get-ChildItem as an exclusion option in -Exclude you should be able to get only what you need.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato