• Searching an Event Log Using PowerShell

    Suppose you want to search your event logs for the last time someone logged onto a server. PowerShell makes it easy. Or suppose you want to know the last time a certain event occurred. To search t...

  • Invoke-Command for Remotely Accessing Servers

    Invoke-Command is a PowerShell cmdlet that allows you to run commands or scripts on remote computers or servers. It can be used to remotely access and manage resources on other computers, such as f...

  • ConvertFrom-Json

    The ConvertFrom-Json cmdlet in PowerShell is used to convert a string in JavaScript Object Notation (JSON) format into an object that is recognizable by PowerShell. This cmdlet allows you to work w...

  • Configure an App Service Plan for a Custom Domain

    Create a CNAME Record to Your App Service Plan’s URL Add a Custom Domain in Your App Service Plan Validate the Domain Using the Validate Option Add Your SSL Certificate for Your Domain in ...

  • Checking Network Adapter Configurations

    To get all network adapters and their DNS information using PowerShell, you can use the Get-NetAdapter cmdlet from the NetAdapter module to retrieve a list of network adapters, and the Get-DnsClien...

  • Get Local Administrators on Servers

    To get a list of local administrators on a server using PowerShell, you can use the Get-LocalGroupMember cmdlet from the Security module to retrieve the members of the local “Administrators” group....

  • Get User Groups and Add Users to Groups

    To find the Active Directory (AD) groups that a user is a member of, you can use the Get-ADPrincipalGroupMembership cmdlet in PowerShell. # Import the ActiveDirectory module Import-Module Active...

  • PowerShell and Functions

    A function in PowerShell is a block of code that can be defined and then called by name. Functions can take input parameters and return output, just like a cmdlet. You can use functions to encapsul...

  • Moving Your Script into a Reusable Function

    There are several reasons why you might want to use functions in your PowerShell scripts: Reusability: Functions allow you to group related pieces of code and reuse them multiple times within a...

  • What Can You Do with PowerShell?

    PowerShell is a powerful tool that can be used to manage a wide variety of systems, including: Windows: PowerShell is particularly well-suited for managing Windows systems, including servers, w...

Previous Page 2 of 5 Next