Posts Tagged ‘Powershell: Start-SPAssignment -Global’
Powershell: Start-SPAssignment -Global
September 24, 2013
Leave a comment
Powershell: Start-SPAssignment -Global
It allows you to assign a variable to a list of objects and provides you the ability dispose of those objects at any time in the script. You can assign a list of objects, like your SPSite, SPWeb objects and dispose of them when you no longer need them. It is very useful in memory intensive powerhsell applications.
Categories: PoweShell
Powershell: Start-SPAssignment -Global