Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Set-ItemProperty

Set-ItemProperty - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Set-ItemProperty

Short description
Creates or changes the value of a property of an item.

Syntax
Set-ItemProperty [-Path] <String[]> [-Name] <String> [-Value] <Object> [-Credential <PSCredential>] [-Exclude <String[]
>] [-Filter <String>] [-Force] [-Include <String[]>] [-PassThru] [-Confirm] [-WhatIf] [-UseTransaction [<SwitchParamete
r>]] [<CommonParameters>]
Set-ItemProperty [-Credential <PSCredential>] [-Exclude <String[]>] [-Filter <String>] [-Force] [-Include <String[]>] [
-PassThru] -InputObject <PSObject> -LiteralPath <String[]> [-Confirm] [-WhatIf] [-UseTransaction [<SwitchParameter>]] [
<CommonParameters>]
Set-ItemProperty [-Path] <String[]> [-Credential <PSCredential>] [-Exclude <String[]>] [-Filter <String>] [-Force] [-In
clude <String[]>] [-PassThru] -InputObject <PSObject> [-Confirm] [-WhatIf] [-UseTransaction [<SwitchParameter>]] [<Comm
onParameters>]
Set-ItemProperty [-Name] <String> [-Value] <Object> [-Credential <PSCredential>] [-Exclude <String[]>] [-Filter <String
>] [-Force] [-Include <String[]>] [-PassThru] -LiteralPath <String[]> [-Confirm] [-WhatIf] [-UseTransaction [<SwitchPar
ameter>]] [<CommonParameters>]





Description
The Set-ItemProperty cmdlet changes the value of the property of the specified item. You can use the cmdlet to establis
h or change the properties of items. For example, you can use Set-ItemProperty to set the value of the IsReadOnly prope
rty of a file object to true.


You also use Set-ItemProperty to create and change registry values and data. For example, you can add a new registry en
try to a key and establish or change its value.