Article: More PowerShell modules than you know what to do with

More PowerShell modules than you know what to do with – Richard Siddaway’s Blog.

More PowerShell modules than you know what to do with

After building a PowerShell Windows 8 server I naturally started to look at PowerShell

Click the icon and it loads

PS C:\Users\Administrator> $psversiontable

Name                           Value
—-                           —–
PSVersion                      3.0
PSCompatibleVersions           {1.0, 2.0, 3.0}
BuildVersion                   6.2.8102.0
CLRVersion                     4.0.30319.17020
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.103
SerializationVersion           1.1.0.1

Compare with current details from PowerShell v2

PS> $psversiontable

Name                           Value
—-                           —–
CLRVersion                     2.0.50727.5446
BuildVersion                   6.1.7601.17514
PSVersion                      2.0
WSManStackVersion              2.0
PSCompatibleVersions           {1.0, 2.0}
SerializationVersion           1.1.0.1
PSRemotingProtocolVersion      2.1

 

The biggest change is that PowerShell 3 uses .NET 4.0 and WSMan has moved on a version.

Without loading any features or roles the following 56 modules are available

ADDeploymentWF                           AppLocker
Appx                                     BestPractices
BitsTransfer                             BranchCache
CimCmdlets                               ClusterAwareUpdating
DirectAccessClientComponents             Dism
DnsClient                                DnsConfig
DnsLookup                                DnsNrpt
FailoverClusters                         FileServer
iSCSI                                    KdsCmdlets
Microsoft.PowerShell.Core                Microsoft.PowerShell.Diagnostics
Microsoft.PowerShell.Host                Microsoft.PowerShell.Management
Microsoft.PowerShell.Security            Microsoft.PowerShell.Utility
Microsoft.WSMan.Management               MicrosoftiSCSITarget
MsDtc                                    NetAdapter
NetLbfo                                  NetQos
NetSwitchTeam                            NetTCPIP
netwnv                                   NetworkConnectivityStatus
NetworkSecurity                          NetworkTransition
PKIClient                                PrintManagement
PS_MMAgent                               PSDiagnostics
PSScheduledJob                           PSWorkflow
RDManagement                             ScheduledTasks
SecureBoot                               ServerManager
ServerManagerShell                       SmbShare
SmbWitness                               Storage
TelemetryManagement                      TroubleshootingPack
TrustedPlatformModule                    UserAccessLogging
Wdac                                     Whea

These modules are auto loaded when PowerShell starts

                                          ADDeploymentWF
AppLocker                                Appx
BestPractices                            BitsTransfer
BranchCache                              CimCmdlets
ClusterAwareUpdating                     DirectAccessClientComponents
Dism                                     DnsClient
DnsConfig                                DnsLookup
DnsNrpt                                  FailoverClusters
FileServer                               iSCSI
KdsCmdlets                               Microsoft.PowerShell.Core Microsoft.PowerShell.Diagnostics         Microsoft.PowerShell.Host
Microsoft.PowerShell.Management          Microsoft.PowerShell.Security
Microsoft.PowerShell.Utility             Microsoft.WSMan.Management
MicrosoftiSCSITarget                     MsDtc
NetAdapter                               NetLbfo
NetQos                                   NetSwitchTeam
NetTCPIP                                 netwnv
NetworkConnectivityStatus                NetworkSecurity
NetworkTransition                        PKIClient
PrintManagement                          PS_MMAgent
PSDiagnostics                            PSScheduledJob
PSWorkflow                               RDManagement
ScheduledTasks                           SecureBoot
ServerManager                            ServerManagerShell
SmbShare                                 SmbWitness
Storage                                  TelemetryManagement
TroubleshootingPack                      TrustedPlatformModule
UserAccessLogging                        Wdac
Whea

Thats all of them!

To paraphrase a slogan from a well known software company – what do you want to automate today?

Remember – thats before we add any roles or features.

This going to be fun

Published Thu, Sep 15 2011 20:09 by RichardSiddaway

Advertisements

Article: First Glimpse at PowerShell v3

First Glimpse at PowerShell v3

Dmitry Sotnikov | September 14, 2011 at 2:29 am | Categories: PowerShell, PowerShell v3, Windows 8 | URL: http://wp.me/p3DDX-C3

I finally got a hold of Windows 8 laptop (thank you Microsoft!), connected a keyboard, launched PowerShell and here are the first few results before I run to the dinner. First off, let’s check the version: PS C:\> $host.Version Major Minor Build Revision

Article: Recommended Operating System Patches for Provisioned Windows Targets

http://support.citrix.com/article/CTX128058

Summary

 

This document lists recommended Operating System patches from Microsoft which have been known to resolve issues within provisioned XenApp and other target environments. Customers who experience any of the issues listed here should install these patches. The possible issues include:

 

  • Gray or Black screens at boot time

 

  • Event ID 7011 in the event logs of the XenApp server, resulting in problems starting the network services at boot time

 

  • XenApp servers very slow to start up

 

  • XenApp servers slow to shut down or restart

 

  • Target device crashing or hangs

 

Make sure you keep your vDisk updated with the latest Microsoft updates and check the Microsoft support website for the latest versions of the following drivers for your Operating System: rdbss.sys, mrxsmb.sys, ntfs.sys, refer to List of currently available hotfixes for the File Services technologies in Windows Server 2008 and in Windows Server 2008 R2 (http://support.microsoft.com/kb/2473205) for the latest list.

 

Recommended patches by operating system

 

Windows XP

 

 

 

 

If you have UPHClean.exe on your system please make sure it is the latest, Microsoft’s download for the latest is http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=6676

 

Windows 2003

 

 

 

 

 

 

Windows Server 2003 Service Pack 1 (SP1)

 

 

 

Windows Server 2003 Service Pack 2 (SP2)

 

 

 

 

 

  • You receive a Stop error message on a Windows Server 2003 SP1 or Windows Server 2003 SP2-based computer when a device is suddenly disconnected from a host bus adapter

 

 

  • STOP: 0x00000048 CANCEL_STATE_IN_COMPLETED_IRP” error message in Windows Server 2003 Service Pack 2

 

 

Windows Vista

 

 

 

http://support.microsoft.com/default.aspx?scid=kb;EN-US;2488754
A computer that is running Windows Server 2008 or Windows Vista may crash randomly

 

Windows Vista Service Pack 1 (SP1)

 

 

 

Windows Vista Service Pack 2 (SP2)

 

 

 

Windows Server 2008

 

 

 

 

 

 

http://support.microsoft.com/default.aspx?scid=kb;EN-US;2488754
A computer that is running Windows Server 2008 or Windows Vista may crash randomly

 

Windows Server 2008 Service Pack 2 (SP2)

 

 

 

Windows 7

 

 

 

 

 

 

 

 

Windows Server 2008 R2

 

 

 

 

 

 

  • http://support.microsoft.com/kb/2383928
    Remote desktop sessions do not completely exit, and you cannot establish new remote desktop sessions to a computer that is running Windows Server 2008 R2

 

 

 

 

If running Microsoft Application Virtualization 4.6 RTM

 

 

If streaming XenApp 6 servers refer to the recommended Citrix and Microsoft Hotfixes for XenApp 6 and Windows Server 2008 R2

 

http://support.citrix.com/article/CTX129229

 

See Also

 

CTX125761 – XenApp Target Device Freeze and Gray Screen Issues

 

CTX116627 – Errors in Event Viewer after Building a Presentation Server 4.5 Image