Browse by Tags

Tagged Content List
  • Blog Post: Windows 8.1 and the Land of Forgotten Modules: Part 3

    Summary : Explore and discover the additional Windows PowerShell modules in Windows 8.1. Honorary Scripting Guy, Sean Kearney, is here this week unwrapping more of these little modules I have found in my shiny new Windows 8.1 operating system. You also might enjoy reading: Windows 8.1 and the...
  • Blog Post: PowerTip: Use PowerShell to Audit Shares

    Summary : Use Windows PowerShell in Windows 8.1 to audit shares on a workstation. Is there an easy way to use Windows PowerShell to identify shares on a workstation and who has access to them? Use a combination of the Get-SMBShare and Get-SMBShareAccess cmdlets: Get-SMBShare | Get-SMBShareAccess
  • Blog Post: Windows 8.1 and the Land of Forgotten Modules: Part 2

    Summary : Explore and discover the additional Windows PowerShell modules in Windows 8.1. Honorary Scripting Guy, Sean Kearney, is here this week to go where no Scripter has boldly gone before! Into the modules that are often overlooked in Windows 8.1! “Dude! No!” “Dude, yes...
  • Blog Post: PowerTip: Enable IIS in Windows 8.1 with PowerShell

    Summary : Use the DISM cmdlets to enable the built-in IIS component in Windows 8.1. Is there a quick and easy way to enable IIS in Windows 8.1on my developer laptops? With Windows 8.1, you only need to enter one line in Windows PowerShell: Enable-WindowsOptionalFeature –online –featurename...
  • Blog Post: Windows 8.1 and the Land of Forgotten Modules: Part 1

    Summary : Explore and discover the additional Windows PowerShell modules in Windows 8.1. Honorary Scripting Guy, Sean Kearney, is here this week to have a little interesting fun. We’re going to dive undercover and take a look at some of the additional modules that are built-in to Windows 8.1...
  • Blog Post: PowerTip: Update Windows Defender with PowerShell

    Summary : Use Windows PowerShell cmdlets in Windows 8.1 to update the antivirus definitions. How can I use Windows PowerShell, rather than navigating the GUI, to force updates for Windows Defender? In Windows 8.1, you can execute the following cmdlet and bring the Windows Defender up to date: ...
  • Blog Post: Windows Server 2012 R2 Network Cmdlets: Part 7

    Summary : Manage DNS server settings with Windows PowerShell in Windows Server 2012 R2. Honorary Scripting Guy, Sean Kearney, is here. Our final part of the Windows PowerShell Network Week series has arrived. You also might enjoy reading: Windows Server 2012 R2 Network Cmdlets: Part 1 Windows...
  • Blog Post: PowerTip: List Contents of DNS Zone with PowerShell

    Summary : Use the DNS server cmdlets in Windows Server 2012 R2 to show contents of a zone. I used to take screenshots and print screens to document my DNS server zones. Can I do this with Windows PowerShell? To list all zones in a DNS server, in Windows Server 2012 R2 use the Get-DNSServerZone...
  • Blog Post: Windows Server 2012 R2 Network Cmdlets: Part 6

    Summary : Manage DHCP server settings in Windows Server 2012 R2 with Windows PowerShell. Honorary Scripting Guy, Sean Kearney, is here. This weekend, I’m getting a little geeky. I’m going to continue with more of Windows PowerShell and the network cmdlets. This is the sixth part in a series...
  • Blog Post: PowerTip: List DHCP Server Clients with PowerShell

    Summary : Use the DHCP server cmdlets in Windows Server 2012 R2 to show current clients. How can I use Windows PowerShell to show my current DHCP server clients? Use the Get-DHCPServerv4scope and Get-DHCPServerv4Lease cmdlets piped together: Get-DHCPServerv4scope | Get-DHCPServerv4Lease
  • Blog Post: Windows Server 2012 R2 Network Cmdlets: Part 5

    Summary : Use Windows PowerShell to work with IP addresses and DNS. Hey, Scripting Guy! How can I add the DNS settings to the network adapter in Windows Server 2012 R2? I’m a little lost on this one. —RJ Hello RJ, Honorary Scripting Guy, Sean Kearney, is here today to pour...
  • Blog Post: PowerTip: Use PowerShell to Get DNS Settings

    Summary : Use Windows PowerShell to retrieve local DNS server addresses. With IPconfig, I used to pipe output to the FIND command to filter only DNS information. Is there a better way to do this in Windows Server 2012 R2? Use the Get-DnsClientServerAddress cmdlet: Get-DnsClientServerAddress...
  • Blog Post: Windows Server 2012 R2 Network Cmdlets: Part 4

    Summary : Use Windows PowerShell to work with IP addresses in Windows Server 2012 R2. Hey, Scripting Guy! Now that we have Windows PowerShell cmdlets to use throughout Windows Server 2012 R2, is there any easier way to assign IP addresses to network adapters? —EL Hello EL, Honorary...
  • Blog Post: PowerTip: Use PowerShell to Get IP Addresses

    Summary : Use Windows PowerShell to retrieve IP addresses. Is there a way to use Windows PowerShell to check IP addresses without use IPconfig ? In Windows Server 2012 R2, use the new Get-NetIPAddress cmdlet: Get-NetIPAddress If you like the output in a table, use: Get-NetIPAddress | Format...
  • Blog Post: Windows Server 2012 R2 Network Cmdlets: Part 3

    Summary : Use PowerShell to identify and disable network adapters in Windows Server 2012 R2. Hey, Scripting Guy! I would love to know if there is an easy way to work with my physical adapters in a Windows Server 2012 R2 environment. Specifically, can you show me which adapters are live? —TM...
  • Blog Post: PowerTip: Use PowerShell to Rename Network Adapter

    Summary : Use Windows PowerShell to rename network adapters in Windows Server 2012 R2. Is there a way to use Windows PowerShell in Windows Server 2012 R2 to rename a network adapter? Use the Rename-NetAdapter cmdlet. For example, to rename the network adapter called “Ethernet” to “ManagementPort”...
  • Blog Post: Windows Server 2012 R2 Network Cmdlets: Part 2

    Summary : Use Windows PowerShell to enable, disable, and configure firewall rules in Windows Server 2012 R2. Hey, Scripting Guy! I see there are some new Windows PowerShell cmdlets for managing the built-in Windows Server 2012 R2 firewall. Could you lend a friend a hand and give me some help in...
  • Blog Post: PowerTip: Use PowerShell to List Firewall Rules

    Summary : Use Windows PowerShell to list firewall rules configured in Windows Server 2012 R2. How can I use Windows PowerShell to show the inbound firewall rules in Windows Server 2012 R2 that are enabled? Use the Get-NetFirewallRule cmdlet to get the entire list, and then filter on the Enabled...
  • Blog Post: Windows Server 2012 R2 Network Cmdlets: Part 1

    Summary : Discover Windows PowerShell cmdlets and modules in Windows Server 2012 R2 for networking. Hey, Scripting Guy! I used to use netsh.exe to try to automate my server configurations. I can deal with it, but I heard that you can do a lot of this with Windows PowerShell in Windows Server 2012...
  • Blog Post: PowerTip: Use PowerShell to Get List of Network Teams

    Summary : Learn how to use the NetSwitchTeam module in Windows PowerShell to list network teams. How can I use Windows PowerShell in Windows Server 2012 R2 to list all the network teams? Use the Get-NetSwitchTeam cmdlet: GET-NetSwitchTeam …or to show all teams starting with the name...
  • Blog Post: Weekend Scripter: Organize Music Collection with PowerShell

    Summary : Use Windows PowerShell and free utilities to clean up your directory structure and organize MP3s. Honorary Scripting Guy, Sean Kearney, is here. Today I was staring at a big pile of MP3s on my computer. It was actually a consolidation from several different machines. Old Media Player stuff...
  • Blog Post: PowerTip: Use PowerShell to List Only Directories

    Summary : Learn how to use Windows PowerShell to show all directories. How can I use Windows PowerShell to list ONLY directories in a folder structure? Use Get-ChildItem on the target folder and specify the Directory parameter: Get-ChildItem C:\Foo –recurse -directory
  • Blog Post: Weekend Scripter: Create Entries for Birthdays from Outlook Contacts List

    Summary : Use Windows PowerShell to access your Outlook Contacts list and create calendar entries for birthdays. Honorary Scripting Guy, Sean Kearney here. And today is my birthday! You would think that being an IT person with Microsoft Outlook and other resources in front of me, it would be very...
  • Blog Post: PowerTip: List Outlook Contacts with PowerShell

    Summary : Use Windows PowerShell to list contacts in Microsoft Outlook. How can I use Windows PowerShell to programmatically connect to Outlook to get the Contacts list? Connect by using ComObject , and select the objects you need: $Outlook=NEW-OBJECT –comobject Outlook.Application ...
  • Blog Post: Set Up a Lab with Windows PowerShell and Free Microsoft Software: Part 5

    Summary : Preconfigure a virtual machine as a domain controller including Windows PowerShell Desired State Configuration and DHCP. Hey, Scripting Guy! I saw how we could build the virtual machines from a template. Were you teasing us about creating a new domain controller in this lab environment...