Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory.When SPWeb, SPSite, or SPSite Administration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.When the Global parameter is used, all objects are contained in the global store.
Updates the instance of Notifications, and all of its applications, with changes made to Instance and Application properties. For more information, review the documentation for the properties you are updating.
For example you cannot change the instance and application database definitions.
Not all of the instance and application properties can be updated.
This cmdlet supports the common parameters: -Verbose, -Debug, -Error Action, -Error Variable, -Out Buffer, and -Out Variable.
For more information, see about_Common Parameters (
If you update an event or notification classes, the underlying tables are deleted and recreated.
If you update a subscription class, the underlying tables are renamed by appending Old to the table name. Instance class to update the instance of Notification Services.
The following procedure assumes you are configuring the instance of Notification Services using an instance configuration file (ICF) and application definition files (ADFs).
If you are using Notification Services Management Objects (NMO), use methods of the Microsoft.
Manages objects for the purpose of proper disposal.
Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows Power Shell scripts requires proper memory management.