Sign in
TechNet Blogs
Technet Blog Images
More ...
Browse by Tags
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
All Tags
>
powertip
Server & Tools Blogs
>
Server & Management Blogs
>
Hey, Scripting Guy! Blog
All About Windows Server
Windows Server
Windows Server Essentials Blog
Building Clouds
Partner & Customer Solutions
Server & Cloud
Ask The
Performance Team
Ask Premier Field Engineering
Ask the Core Team
Cloud & Datacenter Management
The System Center Team Blog
System Center Virtual Machine Manager
System Center Service Manager
System Center Operations Manager
System Center Data Protection Manager
System Center Orchestrator
Partner & Customer Solutions
Client Management
System Center Configuration Manager
System Center Service Manager
MDOP
Malware Protection Center
Windows Intune
SUS
Partner and Customer Solutions
Virtualization, VDI & Remote Desktop
Virtualization Team Blog
Ben Armstrong’s Virtualization Blog
Jose Barreto Blog on Hyper-V
Partner & Customer Solutions
Remote Desktop Services
Windows Multipoint Server
Ask the Core Team on Hyper-V
File & Storage & High Availability
File & Storage
Jose Barreto
Partner & Customer Solutions
Ask the Core Team on Failover Cluster
Clustering & High Availability
Windows Server Management
PowerShell
Hey Scripting Guy (PowerShell)
Server Manager
Group Policy
Networking
Identity & Access
Ask Directory Services
Active Directory
Microsoft Leadership
Brad Anderson - In the Cloud
Hey, Scripting Guy! Blog
Learn about Windows PowerShell
Live Now on Server & Tools Blogs
Subscribe
Comments
Contact
Menu
Blog Home
Atom
Translate this page
Powered by
Microsoft® Translator
Twitter Feed
Recent Posts
PowerTip: Create an XML Representation of a Registry Key with PowerShell
Posted
7 hours ago
by
The Scripting Guys
0
Comments
Use PowerShell to Copy Only Folders that Contain Files
Posted
19 hours ago
by
The Scripting Guys
1
Comments
PowerTip: Toggle Outline View in the Windows PowerShell ISE
Posted
1 day ago
by
The Scripting Guys
0
Comments
Weekend Scripter: Add Power and Functionality to the PowerShell ISE Part 2
Posted
1 day ago
by
The Scripting Guys
0
Comments
Tags
Active Directory
Brian Wilhite
CIM
event logs
files
firewall
getting started
guest blogger
Hyper-V
Internet Search
Logs and monitoring
PowerShell 3
PowerTips
RSS
Scripting Guy!
scripting techniques
Sean Kearney
security
servers
storage
using the Internet
Windows 8
Windows PowerShell
Windows Server 2012
WMI
Related Resources
Script Center Home
Scripting Library
Learn to Script
Script Repository
Scripting Forum
2012 Scripting Games
Archives
Archives
May 2013
(43)
April 2013
(61)
March 2013
(62)
February 2013
(56)
January 2013
(62)
December 2012
(62)
November 2012
(68)
October 2012
(62)
September 2012
(62)
August 2012
(63)
July 2012
(32)
June 2012
(39)
May 2012
(33)
April 2012
(97)
March 2012
(44)
February 2012
(31)
January 2012
(31)
December 2011
(31)
November 2011
(30)
October 2011
(31)
September 2011
(30)
August 2011
(31)
July 2011
(31)
June 2011
(30)
May 2011
(31)
April 2011
(97)
March 2011
(41)
February 2011
(28)
January 2011
(31)
December 2010
(31)
November 2010
(30)
October 2010
(31)
September 2010
(30)
August 2010
(33)
July 2010
(31)
June 2010
(30)
May 2010
(67)
April 2010
(65)
March 2010
(34)
February 2010
(29)
January 2010
(23)
December 2009
(23)
November 2009
(22)
October 2009
(23)
September 2009
(22)
August 2009
(25)
July 2009
(24)
June 2009
(38)
May 2009
(22)
April 2009
(22)
March 2009
(22)
February 2009
(20)
January 2009
(22)
December 2008
(8)
November 2008
(17)
October 2008
(9)
September 2008
(8)
August 2008
(6)
July 2008
(5)
June 2008
(21)
May 2008
(21)
April 2008
(22)
March 2008
(21)
February 2008
(21)
January 2008
(22)
December 2007
(10)
November 2007
(20)
October 2007
(23)
September 2007
(19)
August 2007
(23)
July 2007
(21)
June 2007
(21)
May 2007
(22)
April 2007
(21)
March 2007
(22)
February 2007
(21)
January 2007
(21)
December 2006
(11)
November 2006
(20)
October 2006
(22)
September 2006
(20)
August 2006
(23)
July 2006
(20)
June 2006
(22)
May 2006
(22)
April 2006
(20)
March 2006
(23)
February 2006
(20)
January 2006
(21)
December 2005
(16)
November 2005
(20)
October 2005
(21)
September 2005
(21)
August 2005
(23)
July 2005
(20)
June 2005
(22)
May 2005
(21)
April 2005
(21)
March 2005
(22)
February 2005
(20)
January 2005
(21)
December 2004
(16)
November 2004
(20)
October 2004
(21)
September 2004
(21)
August 2004
(22)
More
▼
Less
▲
Tagged Content List
Blog Post:
PowerTip: Create an XML Representation of a Registry Key with PowerShell
The Scripting Guys
Summary : Use Windows PowerShell to create an XML representation of a registry key. How can I easily create an XML representation of a registry key by using Windows PowerShell? Use the Get-ChildItem cmdllet and the registry provider to get the registry key, and pipe the results to the Export-CliXML...
on
20 May 2013
Blog Post:
PowerTip: Toggle Outline View in the Windows PowerShell ISE
The Scripting Guys
Summary : Toggle the Outline view in the Windows PowerShell ISE. How can I easily toggle the Outline view in the Windows PowerShell ISE? Use the ToggleOutlineExpansion method from the editor object of the CurrentFile object from $psise : $psise.CurrentFile.Editor.ToggleOutliningExpansion()
on
19 May 2013
Blog Post:
PowerTip: Find the Path to a PowerShell Module
The Scripting Guys
Summary : Easily find the path to a Windows PowerShell module. How can I easily find the path to a Windows PowerShell module? Use the Get-Module cmdlet and a wildcard character for the name, and select the Path property. The following script finds the PowerShellISEModule (an optional module in...
on
18 May 2013
Blog Post:
PowerTip: Use PowerShell to Get Virtual Machine Start Mode
The Scripting Guys
Summary : Sean Kearney shows how to determine virtual machine start mode by using Windows PowerShell. How can I tell which virtual machines will start automatically? Use the Get-VM cmdlet, and check the AutomaticStartAction property: Get-VM | Format-Table Name,AutomaticStartAction -autosize
on
17 May 2013
Blog Post:
Scripting Wife Comments on Beginner Event 4
The Scripting Guys
Summary : The Scripting Wife reveals her impressions of 2013 Scripting Games Beginner Event 4. When I first read this, I thought, “Dude, this is going to take an entire script.” But as I began to read the Help information for the Get-Random cmdlet, it dawned on me that I could do this...
on
16 May 2013
Blog Post:
PowerTip: Find All Required Assemblies for PowerShell Modules
The Scripting Guys
Summary : Find required assemblies for your Windows PowerShell modules. How can I use Windows PowerShell to show required assemblies for my Windows PowerShell modules? Use the ExpandProperty parameter of Select-Object and choose the RequiredAssemblies property from the Get-Module cmdlet after you...
on
15 May 2013
Blog Post:
PowerTip: Use PowerShell to Show Screensaver Info for Logged-on User
The Scripting Guys
Summary : Use Windows PowerShell to show screensaver info for a user who is logged on. How can I easily use Windows PowerShell to show screensaver information for the currently logged-on interactive user? Use WMI to query the Win32_Desktop class, and filter on the logged-on user’s name: ...
on
14 May 2013
Blog Post:
PowerTip: Use Set-Variable to Create a ReadOnly PowerShell Variable
The Scripting Guys
Summary : Use the Set-Variable cmdlet to create a ReadOnly Windows PowerShell variable. How can I create a ReadOnly variable in Windows PowerShell? Use the Set-Variable cmdlet to create a ReadOnly variable, and specify ReadOnly for the Option parameter, and you can specify a description for the...
on
13 May 2013
Blog Post:
PowerTip: Use PowerShell to List Top-Level WMI Namespaces
The Scripting Guys
Summary : Use Windows PowerShell to list top-level WMI namespaces. How can I use Windows PowerShell to list the top-level WMI namespaces? Use the Get-WmiObject cmdlet or the Get-CImInstance cmdlet and query for __NameSpace : Windows PowerShell 2.0 syntax: Get-WmiObject __NameSpace | select...
on
12 May 2013
Blog Post:
PowerTip: Use PowerShell to Find Changed Directories
The Scripting Guys
Summary : Use Windows PowerShell to identify directories that changed since a specific date. How can I use Windows PowerShell to find directories that have changed since a specific date? Use the Get-ChildItem cmdlet and specify only directories. Pipe the results to Where-Object and evaluate the...
on
11 May 2013
Blog Post:
PowerTip: Use PowerShell to Find Running Virtual Machines
The Scripting Guys
Summary : Sean Kearney explains how to use Windows PowerShell to find running virtual machines. How can I find a list of virtual machines on my computer that is running Windows Server 2012 with Hyper-V? Use the Get-VM cmdlet and filter on the State property: Get-VM | Where { $_.State -eq 'Running...
on
10 May 2013
Blog Post:
PowerTip: Use PowerShell to Display Video Configuration
The Scripting Guys
Summary : Use Windows PowerShell to display the current video configuration on your computer. How can I use Windows PowerShell to display the current video configuration for my computer? Use WMI to query the Win32_VideoController class. Select the Name , CurrentHorizontalResolution , and CurrentVerticalResolution...
on
8 May 2013
Blog Post:
PowerTip: Use PowerShell to Find Security Hotfixes
The Scripting Guys
Summary : Use Windows PowerShell to quickly find all installed security hotfixes. How can I use Windows PowerShell to identify installed security hotfixes? Use the Get-Hotfix cmdlet and use a wildcard pattern for the description parameter: Get-HotFix -Description *security*
on
7 May 2013
Blog Post:
PowerTip: Use PowerShell to Find Status of Optional Features in Windows
The Scripting Guys
Summary : Use Windows PowerShell 3.0 in Windows 8 to identify the status of optional features in Windows. How can I use Windows PowerShell 3.0 in Windows 8 to identify the status of optional features in Windows? Use the Get-WindowsOptionalFeature cmdlet from the DISM module and s ort by S tate...
on
6 May 2013
Blog Post:
PowerTip: Use PowerShell to Troubleshoot PowerShell
The Scripting Guys
Summary : Use Windows PowerShell to troubleshoot errors with Windows PowerShell. How can I use Windows PowerShell to troubleshoot issues with Windows PowerShell? Use the Get-WinEvent cmdlet to parse the Windows PowerShell log. For example, to find all errors in a Windows PowerShell log: In Windows...
on
5 May 2013
Blog Post:
PowerTip: Use PowerShell to Find Network Adapter Power State
The Scripting Guys
Summary : Use Windows PowerShell to find network adapter power states. How can I use Windows PowerShell 3.0 in Windows 8 to identify network adapter power states? Use the Get-NetAdapterPowerManagement function.
on
4 May 2013
Blog Post:
PowerTip: Use PowerShell to Find Reserved System Volumes
The Scripting Guys
Summary : Use Windows PowerShell 3.0 in Windows 8 to find information about the system reserved volume. How can I use Windows PowerShell 3.0 in Windows 8 to return information about my system reserved volume? Use the Get-Volume function and specify the FileSystemLabel of “System Reserved”...
on
3 May 2013
Blog Post:
PowerTip: Use PowerShell to Show Remaining Battery Time
The Scripting Guys
Summary : Use Windows PowerShell to show the percentage of remaining battery time. How can I use Windows PowerShell to show the percentage of remaining battery time on my laptop or on my Windows Surface? Use the Get-WmiObject cmdlet and query the Win32_Battery WMI class: (Get-WmiObject win32_battery...
on
1 May 2013
Blog Post:
PowerTip: Use PowerShell to Check DHCP Status
The Scripting Guys
Summary : Use Windows PowerShell to check on DHCP status. How can I use Windows PowerShell to check on my DHCP status? Use the Get-Service cmdlet and search for services that have DHCP in the name. You can do this remotely if the firewall has exceptions and if you have rights. PS C:\> gsv...
on
30 Apr 2013
Blog Post:
PowerTip: Find Printer Configuration in Windows 8
The Scripting Guys
Summary : Use Windows PowerShell 3.0 in Windows to easily find printer configuration settings. How can I use Windows PowerShell to easily find printer configuration settings on my Windows 8 computer? Use the Get-Printer function to retrieve all printer objects, and pipe the results to the Get-PrintConfiguration...
on
29 Apr 2013
Blog Post:
PowerTip: Use PowerShell to Find Total CPU Time
The Scripting Guys
Summary : Use Windows PowerShell to find the total CPU time of a process. How can I return a timespan that represents the total CPU time of a process? Use the Get-Process cmdlet and select the TotalProcessorTime property: PS C:\> (gps excel).totalprocessortime Days : 0 Hours : 0...
on
28 Apr 2013
Blog Post:
PowerTip: Add Two PowerShell Arrays Together
The Scripting Guys
Summary : Easily add two Windows PowerShell arrays together. If I have an array stored in one variable, and another array stored in another variable, how can I add them together? Use the + operator to add to arrays together: PS C:\> $a = 2,3,4 PS C:\> $b = 5,6,7 PS C:\> $c = ...
on
27 Apr 2013
Blog Post:
PowerTip: Use PowerShell to Display the Desktop
The Scripting Guys
Summary : Use Windows PowerShell to change the display to the Desktop. How can I use Windows PowerShell to switch to displaying the Desktop on my computer? Use the ToggleDesktop method from the Shell.Application COM object: (New-Object -ComObject shell.application).toggleDesktop()
on
26 Apr 2013
Blog Post:
PowerTip: Use PowerShell to Find Virtual Machine DVD Info
ScriptingGuy1
Summary : Use Windows PowerShell to find Hyper-V DVD information in Windows 8 or Windows Server 2012. How can I use Windows PowerShell in Windows 8 or Windows Server 2012 to find Hyper-V virtual machine DVD disk information? Use the Get-VM cmdlet and pipe the output to the Get-VMDvdDrive cmdlet...
on
24 Apr 2013
Blog Post:
PowerTip: Use PowerShell to Find WMI Classes Related to Disks
The Scripting Guys
Summary : Use Windows PowerShell 3.0 to help find WMI classes related to disks. How can I find WMI classes that will return information about disks on my local computer? Use the Get-CimClass cmdlet in Windows PowerShell 3.0. Use a wildcard character for the class name, and use the QualifierName...
on
23 Apr 2013
Page 1 of 12 (281 items)
1
2
3
4
5
»