TechNet
Products
IT Resources
Downloads
Training
Support
Products
Windows
Windows Server
System Center
Internet Explorer
Office
Office 365
Exchange Server
SQL Server
SharePoint Products
Lync
See all products »
Resources
Curah! curation service
Evaluation Center
Learning Resources
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Script Center
Server and Tools Blogs
TechNet Blogs
TechNet Flash Newsletter
TechNet Gallery
TechNet Library
TechNet Magazine
TechNet Subscriptions
TechNet Video
TechNet Wiki
Windows Sysinternals
Virtual Labs
Solutions
Networking
Cloud and Datacenter
Security
Virtualization
Updates
Service Packs
Security Bulletins
Microsoft Update
Trials
Windows Server 2012 R2
System Center 2012 R2
Microsoft SQL Server 2012 SP1
Windows 8.1 Enterprise
See all trials »
Related Sites
Microsoft Download Center
TechNet Evaluation Center
Drivers
Windows Sysinternals
TechNet Gallery
Training
Training Catalog
Class Locator
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
e-Learning overview
Certifications
Certification overview
MCSA: Windows 8
Windows Server Certification (MCSE)
Private Cloud Certification (MCSE)
SQL Server Certification (MCSE)
Other resources
TechNet Events
Second shot for certification
Born To Learn blog
Find technical communities in your area
Support options
For small and midsize businesses
For enterprises
For developers
For IT professionals
From partners
For technical support
Support offerings
For home users
More support
Microsoft Premier Online
Microsoft Fix It Center
TechNet Forums
MSDN Forums
Security Bulletins & Advisories
International support solutions
Log a support ticket
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Sign in
LeoPonti Blog
Tags
2003
2008
2008R2
Active Directory
ADDS
AdExplorer
Administracion
adsiedit
Backup
Best Practices
Booteable
client-side printing
computer
Controllador de Dominio
DC
DCPROMO
Desktop Mgmt
Directory Services
Disaster
DNS
domain
domain controller
dsa
ES
Forest
Functional
getting started
Guest
Jason Walker
LATAM
latamtechnology
ldp
LeoPonti
level
Management
Microsoft
MVP
operating system
Powershell
PowerShell 3
PowerTip
Print
Printing
R2
Recovery
redircmp
redirusr
Registry
Remoting
restore
Rolf Masuch
RSAT
Schema
script
Scripting Guy!
Scripting Guy! Blog
scripting techniques
Security
Server
servers
service
site
Site&Services
subnet
subredes
Technet
Tecnologia
tool
USB
user accounts
VBS
Weekend Scripter
wiki
Wikininjas
Windows
Windows 8
Windows PowerShell
Windows Server
Windows Server 2012
Windows Server 2012 R2
WORKFLOW
Browse by Tags
TechNet Blogs
»
LeoPonti Blog
»
All Tags
»
powertip
Related Posts
Blog Post:
PowerTip: Use PowerShell to Display Date, Time, and Hour
LeoPonti
Summary : Use Windows PowerShell to display date, time, and hour in 24-hour format. How can I use Windows PowerShell to get the hour of the day in 24-hour format? Use the Get-Date cmdlet and specify the “%H” pattern to the UFormat parameter ( H is case sensitive): get-date -UFormat...
on
21 Aug 2013
Blog Post:
PowerTip: Use PowerShell to Display Help for Module Cmdlets
LeoPonti
Summary : Use Windows PowerShell to display all Help for all cmdlets in a module. How can I see all of the Help examples for cmdlets from a specific module? After you have updated your Help in Windows PowerShell 3.0, use the Get-Command cmdlet to retrieve all cmdlets from a specific module, pipe...
on
7 Aug 2013
Blog Post:
PowerTip: Use PowerShell to Verify Secure Boot Policy
LeoPonti
Summary : Use Windows PowerShell to verify your Secure Boot policy in Windows 8. How can I verify that the Secure Boot policy is enabled in my computers running Windows 8? Use the Get-SecureBootPolicy cmdlet: Get-SecureBootPolicy
on
5 Aug 2013
Blog Post:
PowerTip: Use PowerShell to Get DHCP Server Database Info
LeoPonti
Summary : Learn how to use Windows PowerShell to get the DHCP Server database information. How can I use Windows PowerShell to get the database information for a DHCP server if I do not know the name of the server? Use the ServerName property from the object returned by Get-DHCPServer to get the...
on
13 Aug 2013
Blog Post:
PowerTip: Use PowerShell to Show Approved Verbs Group
LeoPonti
Summary : Use Windows PowerShell to show the group of approved Windows PowerShell verbs. How can I find the grouping information for a couple of approved verbs that I want to use to name my advanced functions? Use the Get-Verb function, and supply an array of verbs to the function: get-verb...
on
15 Aug 2013
Blog Post:
PowerTip: Use PowerShell to See Network Adapters Bound to TCP/IP
LeoPonti
Summary : Use Windows PowerShell 3.0 in Windows 8 to see network adapters that are bound to TCP/IP. How can I find all network adapters that are bound to TCP/IPv4 by using Windows PowerShell 3.0 in Windows 8? Use the Get-NetAdapterBinding function, pipe the results to a Where-Object cmdlet, and...
on
12 Aug 2013
Blog Post:
PowerTip: Use PowerShell to Display Locale-Specific Date
LeoPonti
Summary : Learn how to use Windows PowerShell to display the date in locale-specific format. How can I use Windows PowerShell to display the day, month, and two-digit year in locale specific format? Use the Get-Date cmdlet and the –uformat parameter: get-date -UFormat %x
on
19 Aug 2013
Blog Post:
PowerTip: Use PowerShell to Get BitLocker Recovery Key
LeoPonti
Use Windows PowerShell to get the BitLocker recovery key. ...( read more )
on
24 Aug 2013
Blog Post:
PowerTip: Use PowerShell to Get DHCP Stats
LeoPonti
Summary : Learn how to use Windows PowerShell 3.0 in Windows Server 2012 to get DHCP statistics. How can I get an overview from my DHCP server running on Windows Server 2012? Use the Get-DHCPServerv4Statistics function: Get-DhcpServerv4Statistics -ComputerName DHCP1
on
9 Aug 2013
Blog Post:
PowerTip: Display All PowerShell Modules and Cmdlets
LeoPonti
Summary : Learn how to display all Windows PowerShell modules and cmdlet names. How can I get output that shows Windows PowerShell module names and the cmdlets or functions that are contained inside the modules? Use the Get-Module cmdlet, and then for each module, display the name and use Get-Command...
on
18 Aug 2013
Blog Post:
PowerTip: Change PowerShell Script Execution Policy
LeoPonti
Summary : Learn how a user can change the Windows PowerShell script execution policy. How can I change the Windows PowerShell script execution policy as simply an ordinary user? Use the –Scope parameter with the Set-ExecutionPolicy cmdlet and specify CurrentUser (the –Force parameter...
on
10 Aug 2013
Blog Post:
PowerTip: Use PowerShell to Report Network Adapter Binding
LeoPonti
Summary : Use Windows PowerShell 3.0 in Windows 8 to view network adapter binding information. How can I use Windows PowerShell 3.0 in Windows 8 to review network adapter binding information? Use the Get-NetAdapterBinding function and pipe the resulting information to the Format-List cmdlet: ...
on
11 Aug 2013
Blog Post:
PowerTip: View PowerShell Console Host Information
LeoPonti
Summary : View Windows PowerShell console host information. How can I easily find information about the Windows PowerShell console host? Use the Get-Host cmdlet, and select the RawUI property from the InterhostUserInterface object: (get-host).ui.RawUI
on
22 Aug 2013
Blog Post:
PowerTip: Find Case-Specific Strings by Using PowerShell
LeoPonti
Summary : Use Windows PowerShell to find case-specific strings. How can I find a particular, case-sensitive word in a string? Use Select-String and specify the –CaseSensitive switch: "Hey Scripting Guy","hey scripting guy" | Select-String -Pattern 'hey' -CaseSensitive
on
16 Aug 2013
Blog Post:
PowerTip: Use PowerShell to Rename Printers
LeoPonti
Summary : Learn how to use Windows PowerShell 3.0 in Windows 8 to rename a printer. How can I use Windows PowerShell 3.0 in Windows 8 to rename a printer? Use the Get-Printer function to retrieve the printer, and pipe it to the Rename-Printer function: Get-Printer -Name 'mynewlaser' | Rename...
on
8 Aug 2013
Blog Post:
PowerTip: Use PowerShell to Write BitLocker Recovery Key to Text File
LeoPonti
Summary : Use Windows PowerShell to write your BitLocker recovery key to a text file. If I forgot to save my BitLocker recovery key when I enabled BitLocker on my laptop, how can I use Windows PowerShell to write it to a text file so I can copy it to a USB key for safe keeping? From an elevated...
on
17 Aug 2013
Blog Post:
PowerTip: Find PowerShell Logging Info
LeoPonti
Summary : Use a Windows PowerShell cmdlet to retrieve logged information about Windows PowerShell. How can I easily find logged information about Windows PowerShell? Use the Get-WinEvent cmdlet and look for a LogName with powershell in the name: Get-WinEvent -LogName *powershell*
on
23 Aug 2013
Blog Post:
PowerTip: Use PowerShell to Display Replications in AD DS
LeoPonti
Summary : Use Windows PowerShell to display replication connections in Active Directory Domain Services. How can I use a cmdlet from the Active Directory module to display replication connections in AD DS? Use the Get-ADReplicationConnection cmdlet and select the ReplicateFromDirectoryServer property...
on
14 Aug 2013
Blog Post:
PowerTip: Customize How PowerShell Displays a Date
LeoPonti
Summary : Easily customize the way Windows PowerShell displays a date. How can I use Windows PowerShell to easily display the date as day-dash-month-dash-four-digit year? Use the Get-Date cmdlet,specify a custom format by using the Format parameter, and use dd for the date, M for the month and...
on
20 Aug 2013
Blog Post:
PowerTip: Use PowerShell to Get Printer Configuration
LeoPonti
Summary : Use Windows PowerShell in Windows 8 to find your printer configurations. How can I use Windows PowerShell in Windows 8 to get the printer configuration of all printers? Use the Get-Printer function, and pipe it to Foreach-Object and the Get-PrinterConfiguration cmdlet: Get-Printer...
on
6 Aug 2013