The set-item command sets the value of a pathname within a provider to the specified value.
Snap-In: Microsoft.PowerShell.Management
Syntax:
Set-Item
[-Path] <String[]> [ [-Value] <Object>] [-Force] [-PassThru] [-Filter <String>] [-Include <String[]>] [-Exclude <String[]>] [-Credential <PSCredential>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] [-WhatIf] [-Confirm]
Description:
Sets data into the provider specific item. The cmdlet has many uses including set data in a file, assign a value in a provider, or create a registry key.