Private/Get-FSMDefaultExclusion.ps1
|
function Get-FSMDefaultExclusion { <# .SYNOPSIS Returns the default list of share names to exclude from migration. .DESCRIPTION Centralises the exclusion list so it is defined once and reused as the default for every function, rather than being copy-pasted. These are administrative and system shares that should never be recreated on a target file server. #> [CmdletBinding()] [OutputType([string[]])] param() return @('ADMIN$', 'C$', 'D$', 'E$', 'F$', 'IPC$', 'NETLOGON', 'SYSVOL', 'print$', 'FAX$') } |