Browse by Tags

Tagged Content List
  • Blog Post: PowerTip: Use PowerShell to Create Hash Table

    Summary : Use a Windows PowerShell cmdlet to create a hash table. How can I use Windows PowerShell to create a hash table if do not remember the special syntax? Use the ConvertFrom-StringData cmdlet, and put each key-value pair on its own line. (You can perform this on a single line by using backtick...
  • Blog Post: Phantom Elements in a Hash Table

    Summary : Microsoft PFE and guest blogger, Chris Wu, talks about working with hash tables. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Chris Wu … Admittedly, hash tables didn’t catch my attention when I started using Windows PowerShell, but over time it...
  • Blog Post: PowerTip: Display a Blinking Message by Using PowerShell

    Summary : Use this one-line Windows PowerShell command to display a blinking message. Is there a one-line command that I could use to blink a message in the Windows PowerShell console to get the users attention? Pipe a range of numbers to the Foreach-Object cmdlet ( % is an alias), clear the screen...
  • Blog Post: PowerShell Report for a Windows Failover Cluster

    Summary : Use Windows PowerShell to create a report for a Windows failover cluster. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Rhys Campbell … I’m involved in the administration of several Failover Clusters , and I wanted to be able to easily report on...
  • Blog Post: PowerTip: Add Computer to Security Group with PowerShell

    Summary : Use Active Directory PoweShell cmdlets to add a computer to a security group. How can I use Windows PowerShell to add a computer to a security group? Use the Add-ADGroupMember cmdlet, and remember to use the SAM account name on the computer: To add a computer called “STATION01”...
  • Blog Post: ‘Twas the Night Before Scripting: Part 5

    Summary : Tonight, our Admin friend learns to migrate group memberships. Microsoft Scripting Guy, Ed Wilson, here. If you missed it, be sure to watch Sean’s video: Just Script It! Also to catch up with our story, read: ‘Twas the Night of Before Scripting: Part 1 ‘Twas the...
  • Blog Post: PowerTip: Show Group Members with PowerShell

    Summary : Use Windows PowerShell to get a list of group members in Active Directory. How can I use Windows PowerShell to regularly show who is in an Active Directory group, for example, Domain Admins? To show who is in the Domain Admins group in Active Directory, run the following command: Get...
  • Blog Post: ‘Twas the Night Before Scripting: Part 4

    Summary : Dr. Scripto shows our Admin friend how to determine which groups a computer is a member of. Microsoft Scripting Guy, Ed Wilson, here. If you missed it, be sure to watch Sean’s video: Just Script It ! Also to catch up with our story, read: ‘Twas the Night of Before Scripting...
  • Blog Post: PowerTip: Create Computer Account in Active Directory with PowerShell

    Summary : Use the Active Directory module to create a new computer account. How can I use Windows PowerShell to create a computer account in Active Directory? To create a new computer called ScriptoPC , execute the following line in an Active Directory environment with a domain controller running...
  • Blog Post: Cmdlets Roasting on an Open Fire

    Summary : Are there new cmdlets in the Active Directory PowerShell module in Windows Server 2012 R2? Microsoft Scripting Guy, Ed Wilson, is here. Today we have an extra guest post from Ian Farr, who explores if there are new cmdlets in the Active Directory PowerShell module in Windows Server 2012...
  • Blog Post: ‘Twas the Night Before Scripting: Part 3

    Summary : Dr. Scripto teaches our Admin friend how to find cmdlets in a module and get Help. Microsoft Scripting Guy, Ed Wilson, here. If you missed it yesterday, see Sean’s latest video: Just Script It ! Also be sure to read: ‘Twas the Night of Before Scripting: Part 1 ‘Twas...
  • Blog Post: PowerTip: Set Custom Attributes in Active Directory

    Summary : Use the Set-ADUser cmdet to modify custom attributes. How can I use Windows PowerShell to modify a custom attribute in Active Directory? Use the Set-ADUser cmdlet and it’s –add , -replace , and –remove parameters to adjust custom attributes. For example, to update...
  • Blog Post: ‘Twas the Night Before Scripting: Part 2

    Summary : Dr. Scripto helps an Admin learn how to easily modify custom attributes in Active Directory. Microsoft Scripting Guy, Ed Wilson, here. If you missed it yesterday, see Sean’s latest video: Just Script It ! Also be sure to read yesterday’s post before you start on today’s...
  • Blog Post: PowerTip: Create a Secure Password with PowerShell

    Summary : Use Windows PowerShell to make a plain text entry into a secure password. Is there a way I can use Windows PowerShell and my working script to make a secure string password without using Read-Host ? Use the ConvertTo-SecureString cmdlet: $MyBoringPassword=”OhThisCouldBeSecure...
  • Blog Post: ‘Twas the Night of Before Scripting: Part 1

    Summary : Dr. Scripto teaches a non-scripting Administrator to easily create users in Active Directory. Microsoft Scripting Guy, Ed Wilson, here. Returning once again to delight us all with a little holiday merriment is Honorary Scripting Guy, Sean Kearney. Other than his habit of occasionally singing...
  • Blog Post: PowerTip: Debug a Workflow with PowerShell 4.0

    Summary : Use Windows PowerShell 4.0 to debug a workflow. How do I set a breakpoint in a Windows PowerShell script workflow? Add the workflow to a script and use Set-PSBreakpoint to set a line breakpoint in the workflow: Set-PSBreakpoint -Script C:\Test-MyWorkflow1.ps1 -Line 12 ID Script...
  • Blog Post: PowerTip: Use PowerShell to Discover Console Colors

    Summary : Use Windows PowerShell to discover console color assignment. How can I see what colors are assigned in the Windows PowerShell console? Use the Get-Host cmdlet and expand the PrivateData property: (get-host).privatedata
  • Blog Post: Migrating Host-Named Site Collections

    Summary : Guest blogger and Microsoft PFE, Chris Weaver, talks about using Windows PowerShell to migrate host-named site collections. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back today to guest blogger, Chris Weaver … This week I was onsite with a customer in North Carolina...
  • Blog Post: PowerTip: PowerShell One-Liner to Find Short Aliases

    Summary : Use this Windows PowerShell one-liner to find one-, two-, three-, and four-letter aliases. How can I use a Windows PowerShell one-liner to find the number of default aliases that are one, two, three, and four letters long? Use the range operator to create an array with 1 through 4 numbers...
  • Blog Post: Store PowerShell Profile on SkyDrive

    Summary : Guest blogger, JD Platek, talks about storing the Windows PowerShell profile on SkyDrive. Microsoft Scripting Guy, Ed Wilson, is here. Today I would like to introduce a new guest blogger. Please welcome JD Platek. JD has been in IT since 2003, and he is an Exchange Server 2010 and...
  • Blog Post: PowerTip: Use PowerShell to List App Background Task Info

    Summary : Use Windows PowerShell to list app background task information. How can I use Windows PowerShell to find performance information about app background tasks on my laptop running Windows 8.1? Open Windows PowerShell with Admin rights. Use the Get-AppBackgroundTask cmdlet, and include the...
  • Blog Post: Use PowerShell to Work with RODC Accounts

    Summary : Microsoft premier field engineer, Ian Farr, talks about using Windows PowerShell to work with RODC accounts. Microsoft Scripting Guy, Ed Wilson, is here. Today I would like to introduce a new guest blogger, Ian Farr. Ian tells us about himself: I started out writing UNIX shell scripts...
  • Blog Post: PowerTip: Use PowerShell to Display a Routing Table

    Summary : Use Windows PowerShell to display your routing table. How can I use Windows PowerShell to display the routing table on my Windows 8.1 laptop? Use the Get-NetRoute function.
  • Blog Post: PowerTip: Use PowerShell to Find DNS Suffix Search List

    Summary : Use Windows PowerShell to find a DNS suffix search list. How can I use Windows PowerShell to find how DNS is configured on my computer running Windows 8.1 in terms of domain suffix search lists? Use the Get-DnsClientGlobalSetting function.
  • 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...
Page 1 of 3 (65 items) 123