April 2009 - Posts

 

Windows XP Mode is specifically designed to help small-business users to run their Windows XP applications on their Windows 7 desktop.

  • Windows XP Mode is available for Windows 7 Professional, Windows 7 Ultimate and Windows 7 Enterprise customers.
  • Windows XP Mode combines Windows Virtual PC and a pre-installed virtual Windows XP environment to allow users run many older applications.
  • Windows Virtual PC will enable users to launch virtual applications seamlessly from the Windows 7 Start menu.
  • Windows Virtual PC includes support for USB devices and is based on a new core that includes multi-threading support.

The part in red above is the MOST Awesome…

How MED-V v2 Helps You Manage Windows XP Mode - Windows for your Business - The Windows Blog

Posted by Richard | with no comments
Filed under: ,

While PowerShell does not have direct commandlets for working with SNMP, it does work with WMI which can incorporate SNMP.

Posted by Richard | with no comments
Filed under: ,

My Omina I just got was not using my Wi-Fi at all. working through the issues I found this news forum entry. The key was setting both settings to use my work network instead of the ISP.

That finally kicked that pig for me.

Wifi network problems with Samsung Omnia

Posted by Richard | with no comments
Filed under: ,

I was asked in a PowerShell class if you could change the machine account password.

While yes you can, the real question is why would you want to? By the way, this is not a PowerShell specific thing, but a command line tool.

Usage: nltest [/OPTIONS]

    /SERVER:<ServerName> - Specify <ServerName>

    /QUERY - Query <ServerName> netlogon service

    /REPL - Force partial sync on <ServerName> BDC

    /SYNC - Force full sync on <ServerName> BDC

    /PDC_REPL - Force UAS change message from <ServerName> PDC

    /SC_QUERY:<DomainName> - Query secure channel for <Domain> on <ServerName>

    /SC_RESET:<DomainName>[\<DcName>] - Reset secure channel for <Domain> on <ServerName> to <DcName>

    /SC_VERIFY:<DomainName> - Verify secure channel for <Domain> on <ServerName>

/SC_CHANGE_PWD:<DomainName> - Change a secure channel  password for <Domain> on <ServerName>

    /DCLIST:<DomainName> - Get list of DC's for <DomainName>

    /DCNAME:<DomainName> - Get the PDC name for <DomainName>

    /DSGETDC:<DomainName> - Call DsGetDcName /PDC /DS /DSP /GC /KDC

        /TIMESERV /GTIMESERV /WS /NETBIOS /DNS /IP /FORCE /WRITABLE /AVOIDSELF /LDAPONLY /BACKG /DS_6

        /TRY_NEXT_CLOSEST_SITE /SITE:<SiteName> /ACCOUNT:<AccountName> /RET_DNS /RET_NETBIOS

    /DNSGETDC:<DomainName> - Call DsGetDcOpen/Next/Close /PDC /GC

        /KDC /WRITABLE /LDAPONLY /FORCE /SITESPEC

    /DSGETFTI:<DomainName> - Call DsGetForestTrustInformation

        /UPDATE_TDO

    /DSGETSITE - Call DsGetSiteName

    /DSGETSITECOV - Call DsGetDcSiteCoverage

    /DSADDRESSTOSITE:[MachineName] - Call DsAddressToSiteNamesEx

        /ADDRESSES:<Address1,Address2,...>

    /PARENTDOMAIN - Get the name of the parent domain of this machine

    /WHOWILL:<Domain>* <User> [<Iteration>] - See if <Domain> will log on <User>

    /FINDUSER:<User> - See which trusted domain will log on <User>

    /TRANSPORT_NOTIFY - Notify netlogon of new transport

    /DBFLAG:<HexFlags> - New debug flag

    /USER:<UserName> - Query User info on <ServerName>

    /TIME:<Hex LSL> <Hex MSL> - Convert NT GMT time to ascii

    /LOGON_QUERY - Query number of cumulative logon attempts

    /DOMAIN_TRUSTS - Query domain trusts on <ServerName>

        /PRIMARY /FOREST /DIRECT_OUT /DIRECT_IN /ALL_TRUSTS /V

    /DSREGDNS - Force registration of all DC-specific DNS records

    /DSDEREGDNS:<DnsHostName> - Deregister DC-specific DNS records for specified DC

        /DOM:<DnsDomainName> /DOMGUID:<DomainGuid> /DSAGUID:<DsaGuid>

    /DSQUERYDNS - Query the status of the last update for all DC-specific DNS records

    /BDC_QUERY:<DomainName> - Query replication status of BDCs for <DomainName>

    /LIST_DELTAS:<FileName> - display the content of given change log file

    /CDIGEST:<Message> /DOMAIN:<DomainName> - Get client digest

    /SDIGEST:<Message> /RID:<RID in hex> - Get server digest

    /SHUTDOWN:<Reason> [<Seconds>] - Shutdown <ServerName> for <Reason>

    /SHUTDOWN_ABORT - Abort a system shutdown

Ask the Directory Services Team : Machine Account Password Process

Posted by Richard | with no comments
Filed under:

If you need a web editing tool, this is an awesome one. And it works with SharePoint Technology as well if you have that software (which is also free; check out WSS).

SharePoint Designer is Free! | Sarah In Tampa | Channel 10

Posted by Richard | with no comments

In powershell you can call this same method to erase a value in Active Directory.

Hey, Scripting Guy! How Can I Set an Active Directory Attribute Value to NULL?

Posted by Richard | with no comments
Filed under: ,

Using these methods you can create these objects in PowerShell and provide alternate credentials for connecting to the domain.

Using System.DirectoryServices to Search the Active Directory

Posted by Richard | with no comments
Filed under: ,

Well in WMI I did not find a method to do this [yet] but I did find a command line to do this…

PS > qwinsta /?
Display information about Remote Desktop Sessions.

QUERY SESSION [sessionname | username | sessionid]
              [/SERVER:servername] [/MODE] [/FLOW] [/CONNECT] [/COUNTER] [/VM]

  sessionname         Identifies the session named sessionname.
  username            Identifies the session with user username.
  sessionid           Identifies the session with ID sessionid.
  /SERVER:servername  The server to be queried (default is current).
  /MODE               Display current line settings.
  /FLOW               Display current flow control settings.
  /CONNECT            Display current connect settings.
  /COUNTER            Display current Remote Desktop Services counters information.
  /VM                 Display information about sessions within virtual machines.

PS > rwinsta /?
Reset the session subsytem hardware and software to known initial values.

RESET SESSION {sessionname | sessionid} [/SERVER:servername] [/V]

  sessionname         Identifies the session with name sessionname.
  sessionid           Identifies the session with ID sessionid.
  /SERVER:servername  The server containing the session (default is current).
  /V                  Display additional information.

PS >

 

So unless I missed something, this should work regardless of which machine you are on.

http://ts.veranoest.net/ts_faq_administration.htm#remotekill

Posted by Richard | with no comments
Filed under: ,

Now this is a really nice article on how you can use SharePoint technology and in particular WSS/MOSS to enable advanced experiences and collaboration.

Microsoft SharePoint Team Blog : How We Did It: LearningPoint for SharePoint

Posted by Richard | with no comments

This is a awesome tool for managing Active Directory on the next version of the Windows Server management tools.

The other thing about this is that according to the Active Directory PowerShell Blog, the UI is built on top of the PowerShell commandlets for Active Directory being built by the Active Directory team.
Just like Exchange. Now that is how you change the world

Active Directory Administrative Center: Getting Started

Posted by Richard | with no comments