Sign in
|
Join
|
Help
Home
Blogs
WordPress Blogs
Media
All Tags
»
Registry
»
PowerShell V2
(
RSS
)
MVP WordPress Blogs
Loading...
Tags
.NET
Advisories / Bulletins
ASP.NET
C#
Community
ConfigMgr 2007
Digital Media
Events
Exchange
General
General Security News
Media Center
Microsoft
News
Rants
Security
Sharepoint
SPPS03_Tips
SQL Server
System Center
Tools
VB
Vista
Windows 7
Windows Server
Browse Blog Posts by Tags
Showing related tags and posts for the
Blogs
application. See
all tags in the site
.NET
Registry 7
One other aspect we need to cover is deleting individual values 001 002 003 $reg = [Microsoft.Win32.Registry] :: LocalMachine $key = $reg . OpenSubKey ( "Software\PSAM PSAdmins\Test" , $true ) $key . DeleteValue ( "oops" ) Open the key for writing...
Posted to
Richard Siddaway's Blog
by
RichardSiddaway
on Sat, Jul 24 2010
Filed under:
Filed under:
PowerShell V2
,
Registry
,
.NET
Registry 6
Having created some keys lets add some values 001 002 003 004 005 006 007 008 009 010 011 $reg = [Microsoft.Win32.Registry] :: LocalMachine $key = $reg . OpenSubKey ( "Software\ITKE PSAdmins" , $true ) $key . SetValue ( "Dword Entry" , 567...
Posted to
Richard Siddaway's Blog
by
RichardSiddaway
on Sat, Jul 24 2010
Filed under:
Filed under:
PowerShell V2
,
Registry
,
.NET
Registry 5
Having seen how to read, change and delete keys – lets add some 001 002 003 $reg = [Microsoft.Win32.Registry] :: LocalMachine $key = $reg . CreateSubKey ( "Software\ITKE PSAdmins" ) $key2 = $reg . CreateSubKey ( "Software\PSAM PSAdmins\Test"...
Posted to
Richard Siddaway's Blog
by
RichardSiddaway
on Sat, Jul 24 2010
Filed under:
Filed under:
PowerShell V2
,
Registry
,
.NET
Registry 4
Now is the time to delete a registry key 001 002 $reg = [Microsoft.Win32.Registry] :: LocalMachine $key = $reg . DeleteSubKey ( "Software\ITKE PSAdmins" ) If there is a tree of subkeys then we can use the DeleteSubKeyTree() method
Posted to
Richard Siddaway's Blog
by
RichardSiddaway
on Wed, Jul 21 2010
Filed under:
Filed under:
PowerShell V2
,
Registry
,
.NET
Registry 3
Lets look at changing registry values. In http://msmvps.com/blogs/richardsiddaway/archive/2010/07/16/registry-1.aspx I showed how to read the registry. We’ll change the 4 values we found in that post 001 002 003 004 005 006 007 008 $reg = [Microsoft.Win32.Registry] :: LocalMachine...
Posted to
Richard Siddaway's Blog
by
RichardSiddaway
on Tue, Jul 20 2010
Filed under:
Filed under:
PowerShell V2
,
Registry
,
.NET
Registry 1
In this http://itknowledgeexchange.techtarget.com/powershell/wmi-and-the-registry/ and subsequent posts I looked at using WMI to work with the Registry. As part of a series examining .NET classes that are useful to admins I thought it would be interesting to look at the Registry first. We start...
Posted to
Richard Siddaway's Blog
by
RichardSiddaway
on Fri, Jul 16 2010
Filed under:
Filed under:
PowerShell V2
,
Registry
,
.NET
Page 1 of 1 (6 items)