PowerShell v2 is available already in Windows 7 (and shortly in Win 2008 R2). A Release Candidate is now available for Vista\Windows 2008 https://connect.microsoft.com/windowsmanagement/Downloads As explained http://blogs.msdn.com/powershell/archive/2009/08/14/powershell-2-0-for-windows-vista-and-windows-server-2008-release-candidate.aspx it is a combined packages contain PowerShell v2, WinRM 2.0 and BITS 4.0 All you need except .NET. You will need .NET 3.5 if you want to use […]
Archive for August, 2009
PowerShell v2
Posted by: | August 14, 2009 | No Comment |Blind Search
Posted by: | August 14, 2009 | No Comment |This is an interesting experiment – http://blindsearch.fejus.com/ Enter your search and get results back from bing, yahoo and google. But you don’t know which is which. Then choose which you think returned the best results. Interesting results. Technorati Tags: Search Engine Comparisons
System Up Time
Posted by: | August 12, 2009 | 3 Comments |The PowerShell team have just posted about obtaining system up time using a .NET class to convert the WMI date format to something thats readable http://blogs.msdn.com/powershell/archive/2009/08/12/get-systemuptime-and-working-with-the-wmi-date-format.aspx There is a WMI only way of doing this $os = Get-WmiObject -Class Win32_OperatingSystem $os.ConvertToDateTime($os.LastBootUpTime) But this gives the date and time the system was last booted. If you […]
PowerShell 2 on Windows 7 – Remoting
Posted by: | August 11, 2009 | No Comment |One thing I noticed was that remoting appears to be switched on by default. I did a clean install to the extent of deleting and resizing the install partition so it shouldn’t have picked up any remnants of previous installs. The execution policy still defaults to restricted. Technorati Tags: Windows 7 RTM,PowerShell,v2
Windows 7 RTM first impressions
Posted by: | August 7, 2009 | No Comment |The machine is rebuilt and all applications re-installed. I said after installing the RC as an upgrade that I felt some of the Vista feel had come across. This install feels much better – like the beta that impressed me so much at the beginning of the year. I recommend a clean install for Windows […]
Windows 7 and PowerGUI 1.9
Posted by: | August 7, 2009 | No Comment |Currently rebuilding the laptop. Downloaded Windows 7 RTM from TechNet last night and did a complete refresh. PowerGUI is one of the first installs on any new machine. The latest version installs great. Notice the opportunity to prevent the association of the editor with PowerShell files has been moved and is much more visible and […]
Service loading
Posted by: | August 6, 2009 | No Comment |This isn’t quite finished but there is enough useful stuff to share. I was wondering what order things are loaded – especially services and found that this information can be found in the registry – only difficulty is reading it. 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 […]
AD User Group
Posted by: | August 4, 2009 | No Comment |September 16th I will be presenting to the AD User Group: An "Introduction to Powershell" Windows 2008 R2 brings PowerShell v2 installed by default. It also brings a raft of PowerShell functionality including a provider and cmdlets for Active Directory. This session will introduce PowerShell for those new to it and show you how to […]
Service Startup type
Posted by: | August 4, 2009 | No Comment |We can modify the service startup type by using WMI or with PowerShell v2 we can use set-service. This has a number of other useful functions. Its just a matter of testing the type we want to change the startup to and applying it to the service. This becomes another function in my services module. […]
If we need to look at the startup history of a service we can find the information in the event log 001002003004005006 function Get-ServiceStartupHistory {param ([string]$name ) Get-EventLog -LogName System | where {(($_.EventId -eq 7035) -or ($_.EventId -eq 7036)) -and $_.Message -like “The $($name)*”} } I’ve done this as a function as I’m moving all my service based scripts into a module. Eventually, all my scripts will be in modules Technorati Tags: […]
Categories
- .NET
- Active Directory
- Architecture
- Azure
- Bash
- BITS
- Books
- CDXML
- CIM
- Cloud
- COM
- Containers
- Deep Dive
- Desired State Configuration
- DevOps
- DHCP
- DNS
- DSC
- European Summit
- Events
- Exchange
- File System
- Firewall
- General
- General IT Matters
- Hyper-V
- IIS
- Infrastructure
- IT Community
- IT Security
- Learning PowerShell
- Linux
- Math
- Microsoft
- Modules
- Nano Server
- Networking
- Office 2010
- Office 2013
- Open Source
- Opinion
- Outlook
- Philosophy
- PowerShell
- PowerShell 7
- PowerShell and .NET
- PowerShell and Active Directory
- PowerShell and CIM
- PowerShell and Exchange 2007
- PowerShell and IIS
- PowerShell and SQL Server
- PowerShell and WMI
- PowerShell Basics
- PowerShell original
- PowerShell Summit
- PowerShell User Group
- PowerShell User Group 2
- PowerShell v2
- PowerShell V3
- PowerShell v4
- PowerShell v5
- PowerShell v6
- PowerShell.org
- PowerShellGet
- PowerShellV2
- PSAM
- Rant
- Registry
- Scripting
- Scripting Games
- Scripting Games 2104
- Security
- SQL Server
- Storage
- Strings
- Summit
- Technology
- Uncategorized
- Virtualization
- Windows 10
- Windows 2012 R2
- Windows 7
- Windows 8
- Windows 8 Server
- Windows 8.1
- Windows Server
- Windows server 1709
- Windows Server 2008
- Windows Server 2008 R2
- Windows Server 2012
- Windows Server 2012 R2
- Windows Server 2016
- Windows Server 2019
- WMFv5
- WPF
- WSUS