Set-ItemProperty


Sets a property at the specified location to a specified value.

Snap-In: Microsoft.PowerShell.Management

Syntax:

Set-ItemProperty

 [-Path] <String[]> -InputObject <PSObject> [-PassThru] [-Force] [-Filter <String>] [-Include <String[]>] [-Exclude <String[]>] [-Credential <PSCredential>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] [-WhatIf] [-Confirm] 

Set-ItemProperty

 [-Path] <String[]> [-Name] <String> [-Value] <Object> [-PassThru] [-Force] [-Filter <String>] [-Include <String[]>] [-Exclude <String[]>] [-Credential <PSCredential>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] [-WhatIf] [-Confirm] 

Description:

There can be many different properties in many different locations. For example , there may be a specialized cursor program on the machine and it might have a list of properties available in the registry location HKLM:\Software\Vizsoft. You can access that list by setting a new location (set-location HKLM:\Software) and then calling the property list (get-property HKLM:\Software\Vizsoft). You can set some of those properties such as version number.



Windows PowerShell. TFM
Internet Forensics
ISBN: 982131445
EAN: 2147483647
Year: 2004
Pages: 289

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net