File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ Write-Host "$Username Groups exported"
84
84
Get-ADPrincipalGroupMembership - Identity $Username | where {$_.Name -notlike " Domain Users" } | % {Remove-ADPrincipalGroupMembership - Identity $Username - MemberOf $_ - Confirm:$false }
85
85
Write-Host " $Username removed from groups"
86
86
87
- # Archive folders onto MJNAS
87
+ # Archive folders to FileServer
88
88
Move-Item - path " \\FileServer\Users\$Username " - Destination " \\FileServer\EmployeeArchive\$Username " - force
89
89
Write-Host " $Username Home Drive archived to \\FileServer\EmployeeArchive\$Username "
90
90
Move-Item - path " \\AppServer\Users\$Username " - Destination " \\FileServer\EmployeeArchive\$Username \AppName" - force
@@ -154,4 +154,4 @@ Write-Host "##############################################"
154
154
Write-Host " "
155
155
156
156
Write-Host " Press any key to continue ..."
157
- $x = $host.UI.RawUI.ReadKey (" NoEcho,IncludeKeyDown" )
157
+ $x = $host.UI.RawUI.ReadKey (" NoEcho,IncludeKeyDown" )
You can’t perform that action at this time.
0 commit comments