{"id":551,"date":"2010-01-23T06:07:00","date_gmt":"2010-01-23T06:07:00","guid":{"rendered":"http:\/\/atumvirtwordpress.azurewebsites.net\/?p=551"},"modified":"2010-01-23T06:07:00","modified_gmt":"2010-01-23T06:07:00","slug":"windows-management-framework","status":"publish","type":"post","link":"https:\/\/avtempwp.azurewebsites.net\/2010\/01\/windows-management-framework\/","title":{"rendered":"Windows Management Framework"},"content":{"rendered":"

Recently we were able to approve Windows Management Framework<\/a> for distribution using WSUS.\u00a0 If you haven\u2019t heard, the WMF is a package of tools that enables administrators to do some great things.\u00a0 Included in the Windows Management framework is Powershell 2.0, BITS 4.0, and WinRM 2.0.<\/p>\n

The downloads come as two packages for Server 2008 and Vista, where BITS 4.0 is a separate installation.\u00a0 The great news is however that Powershell 2.0 and WinRM 2.0 can be easily deployed.\u00a0 With the help of Group Policy, servers enterprise wide can be enabled for Powershell remoting<\/a>.\u00a0 If you\u2019re looking for the Windows 7 and Windows 2008 R2 links, don\u2019t worry \u2013 though it isn\u2019t apparent at first the \u201cWindows Management Framework\u201d simply combines features that are already available in Windows 7 and Windows Server 2008 R2 and makes them available to Windows Vista, Windows Server 2008, Windows Server 2003 and Windows XP.\u00a0 I am quite excited to be able to use a single Powershell platform to manage servers.\u00a0 Already we\u2019ve been making great use of the new cmdlets in Powershell 2.0 such as Write-Eventlog to log our relevant information related to functions of servers, which we can then subscribe to or act upon using the built in tools in Vista, Server 2008, Windows 7, and Server 2008 R2.<\/p>\n

*Update*<\/strong><\/p>\n

Jeffrey Snover [MSFT] asks<\/p>\n

\u201c<\/p>\n

I would love to know
1) What sort of events you write to the log.
2) Are you using remoting? If so, how is that working for you.
3) What things would you like to see in the next version?\u201d<\/p>\n

Currently, we write the script results to the event log.\u00a0 For example, the one script I\u2019ve done so far queries hard disk space.\u00a0 In the event it is too low, it will stop a service, delete some files that grow without releasing space automatically, then write the result of that action as well as the filenames to the custom event log.<\/p>\n

2.\u00a0 I used remoting for the first time today, just as a test.\u00a0 I enabled the listeners via Group Policy for our ServersOU as well as the firewall rule for WS-Management 5895.\u00a0 Haven\u2019t had a chance to use this power a lot yet!<\/p>\n

3.\u00a0 Standard operators.\u00a0 Although I\u2019m getting used to \u201c-eq\u201d and \u201c-lt\u201d, years of \u201c==\u201d and \u201c>\u201d or \u201c<\u201d will be hard to break.\u00a0 It is especially hard to transition when I go to the C# level to make a command line app or something that I\u2019m not yet familiar enough with Powershell syntax to accomplish.\u00a0 If there is a place to leave the suggestions please comment \u2013 I know my colleagues who use Powershell quite a bit more than me (800+ line identity management script at one point that has since been redone in C# as a service) will have more than a few suggestions.<\/p>\n","protected":false},"excerpt":{"rendered":"

Recently we were able to approve Windows Management Framework for distribution using WSUS.\u00a0 If you haven\u2019t heard, the WMF is a package of tools that enables administrators to do some great things.\u00a0 Included in the Windows Management framework is Powershell 2.0, BITS 4.0, and WinRM 2.0. The downloads come as two packages for Server 2008 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[34,40,50,71],"tags":[],"_links":{"self":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/posts\/551"}],"collection":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/comments?post=551"}],"version-history":[{"count":0,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/posts\/551\/revisions"}],"wp:attachment":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/media?parent=551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/categories?post=551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/tags?post=551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}