Browse by Tags

Related Posts
  • Blog Post: PowerTip: Use PowerShell to Display Date, Time, and Hour

    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...
  • Blog Post: Weekend Scripter: Understanding PowerShell in Windows 7

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about understanding Windows PowerShell in Windows 7. Microsoft Scripting Guy, Ed Wilson, is here. This morning I am sipping a cup of English Breakfast tea, with goji berries , lemon grass, and cinnamon. The taste is quite nice, and because the goji...
  • Blog Post: PowerTip: Use PowerShell to Display Help for Module Cmdlets

    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...
  • Blog Post: Use PowerShell to Create New Printer Ports

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell 3.0 to create new printer ports in Windows 8. Microsoft Scripting Guy, Ed Wilson, is here. One of the exciting things that is happening around the Scripting House is the appearance of new Windows PowerShell Saturday...
  • Blog Post: PowerTip: Use PowerShell to Verify Secure Boot Policy

    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
  • Blog Post: PowerTip: Use PowerShell to Get DHCP Server Database Info

    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...
  • Blog Post: PowerShell Workflow for Mere Mortals: Part 4

    Summary : Microsoft Scripting Guy, Ed Wilson, continues his five-part series about Windows PowerShell Workflow. Hey, Scripting Guy! Yesterday you talked about Windows PowerShell Workflow activities. But you only demonstrated the Parallel activity. Is there something you can share with me about some...
  • Blog Post: PowerTip: Use PowerShell to Show Approved Verbs Group

    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...
  • Blog Post: PowerTip: Use PowerShell to See Network Adapters Bound to TCP/IP

    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...
  • Blog Post: PowerTip: Use PowerShell to Display Locale-Specific Date

    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
  • Blog Post: Weekend Scripter: Install Free PowerShell Remote Server Admin Tools

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about installing the free Remote Server Administration Tools for Windows PowerShell 3.0 in Windows 8. Microsoft Scripting Guy, Ed Wilson, is here. This morning is an awesome morning. Our friends from Hamburg, Germany have been hanging out all weekend...
  • Blog Post: Running PowerShell Scripts from a Remote File Share

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about running Windows PowerShell scripts from a remote file share. Microsoft Scripting Guy, Ed Wilson, is here. It is sort of official… There are at least three Windows PowerShell Saturday events coming up. They are listed on the PowerShell...
  • Blog Post: Weekend Scripter: Run PowerShell Scripts from Remote File Share: Part 3

    Summary : Microsoft Scripting Guy, Ed Wilson, continues his discussion about running scripts from a remote file share. Microsoft Scripting Guy, Ed Wilson, is here. Some things should just be easier. For example, I should have access to client-side cmdlets to work with SharePoint. Many times, as a...
  • Blog Post: PowerShell Workflow for Mere Mortals: Part 3

    Summary : Microsoft Scripting Guy Ed Wilson continues his five-part series about Windows PowerShell Workflow. Hey, Scripting Guy! So what’s up with Windows PowerShell workflows and activities? I do not know what an activity is. Can you help me? —CJ Hello CJ, Microsoft Scripting...
  • Blog Post: PowerTip: Use PowerShell to Get BitLocker Recovery Key

    Use Windows PowerShell to get the BitLocker recovery key. ...( read more )
  • Blog Post: Use PowerShell to Change Sign-in Script and Profile Path

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to modify the sign-in script and profile path in Active Directory. Hey, Scripting Guy! We are in the middle of an Active Directory migration (primarily moving our client computers from Windows XP to Windows 8). We are...
  • Blog Post: Adding Office Locations in AD DS with PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to add office locations in Active Directory Domain Services. Hey, Scripting Guy! We are in the midst of a domain migration at work, and I need to clean up a number of attributes in Active Directory prior to our migration...
  • Blog Post: PowerShell Workflow for Mere Mortals: Part 1

    Summary : Microsoft Scripting Guy, Ed Wilson, begins a five-part series about Windows PowerShell Workflow. Hey, Scripting Guy! What is up with Windows PowerShell Workflow? Everyone acts like it is some deep, dark mystery—similar to trying to understand neutrinos . So come on…it is Windows...
  • Blog Post: PowerTip: Use PowerShell to Get DHCP Stats

    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
  • Blog Post: Use PowerShell to Test Remote Printers

    Summary : Learn how to use Windows PowerShell to test remote printers. Hey, Scripting Guy! I don’t know what it is, but for some reason printing still seems to be a pain. I mean, we have been using the network for a long time, and something as basic as printing still seems to be a problem. Whatever...
  • Blog Post: PowerTip: Display All PowerShell Modules and Cmdlets

    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...
  • Blog Post: PowerShell Workflow for Mere Mortals: Part 2

    Summary : Microsoft Scripting Guy, Ed Wilson, continues a five-part series about Windows PowerShell Workflow. Hey, Scripting Guy! So Windows PowerShell Workflow seems pretty cool. But I am wondering if it is possible to use it to easily provide workflow types of things for remote computers? Is this...
  • Blog Post: Weekend Scripter: Run PowerShell Scripts from Remote File Share: Part 2

    Weekend Scripter: Run PowerShell Scripts from Remote File Share: Part 2 Summary : Microsoft Scripting Guy, Ed Wilson, continues his discussion about running scripts on a remote file share. Microsoft Scripting Guy, Ed Wilson, is here. This week has been absolutely bizarre. I have been really busy...
  • Blog Post: PowerTip: Change PowerShell Script Execution Policy

    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...
  • Blog Post: PowerTip: Use PowerShell to Report Network Adapter Binding

    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: ...