Add-MSModuleItemNotes

Add a Note to multiple Module Items (Applications, Users, Devices etc)

Syntax


Add-MSModuleItemNotes -Module (String) -Ids (Int32[]) -NoteText (String) [-ProcessId (Int32)] [-SubProcessId (Int32)] [-ImpersonateUser (String)]

Add-MSModuleItemNotes -Module (String) -Notes (NewNote[])

Examples


## Add a Note containing text "Testing" to Device Ids 3925, 4144, 8901
Add-MSModuleItemNotes -Module Devices -Ids @(3925, 4144, 8901) -NoteText "Testing"

## Add a Note containing text "No longer required", ProcessId 8 ('Retired' in this example) & SubProcessId 32 ('Replaced by a new version' in this example) to Application Ids 3523, 3533 
Add-MSModuleItemNotes -Notes @{'InstanceIds' = 3523,3533; 'NoteText' = "No longer required"; 'ProcessId' = 8; 'SubProcessId' = 32} -Module Applications