Profile Examples from Presentation May 11, 2010 Here are some of the scripts that I used during the demonstration in VA Beach. Profiles: Example #1 [ps] function prompt { “Xenophane " + $(get-location) + “>” } [/ps] ...
Gotten back from Minasi conference May 11, 2010 I got back from Virgina Beach this past Saturday, after attending a very good conference, where I learned a lot of new an exciting stuff… And of course it was very good to meet up with the “gang” again. ...
Powershell as a webservice Jan 24, 2010 Seems as if Quest has been doing some really cool things with Powershell, from what I can read, they have “rolled” it up as a webservice, meaning that you can now run your Powershell scripts over HTTPS from either you local machine, your phone, anything that supports a newer web browser. ...
MSTSC Util update Dec 14, 2009 I was asked to update my MSTSC util, so here goes.. It will now check for the configuration file and display a message if it is not there, instead of just erroring out. ...
Finding Powershell V2 Nov 30, 2009 Joel Bennet made a good point about it can be difficult to find Powershell V2 on the MS site. I am not going to rewrite Joels post, so I will just “quote” it. ...
Windows Management Framework has arrived Oct 28, 2009 Today Windows Management Framework was released in its final version for Windows XP, and Server 2003, Windows Vista and Server 2008. Windows Management Framework contains Powershell v2, WinRM 2.0 and BITS 4. ...
Finding out how many active sessions are on a Server 2008 TS Sep 25, 2009 DisconnectedSessions Win32_TerminalService TotalSessions Win32_TerminalService ActiveSessions Win32_PerfFormattedData_LocalSessionManager_TerminalServices InactiveSessions Win32_PerfFormattedData_LocalSessionManager_TerminalServices TotalSessions Win32_PerfFormattedData_LocalSessionManager_TerminalServices ActiveSessions Win32_PerfRawData_LocalSessionManager_TerminalServices InactiveSessions Win32_PerfRawData_LocalSessionManager_TerminalServices TotalSessions Win32_PerfRawData_LocalSessionManager_TerminalServices Of course to be able to do this, I had to know/guess that the class contained “term” and that the property would be named something with “session”
Set-ExecutionPolicy Sep 23, 2009 I was just playing with the Set-ExecutionPolicy cmdlet today, when I noticed that in V2, it is possible to change the execution policy for different scopes, even though you are not running your session using the “Run as administrator”. ...
ADMGS (Active Directory Management Gateway Service) Sep 20, 2009 There has been some speculation on the web regarding the ADMGS for Server 2008 and 2003, if it would be possible to use it, in an environment without at least one Server 2008 R2. ...
Finding that Hyper-V machine Sep 19, 2009 [ps] Get-QADObject -Name ‘Microsoft Hyper-V’ -Type serviceConnectionPoint | Get-QADComputer -Identity {$_.ParentContainerDN} [/ps]