Using PowerShell Behind a Proxy Server
If your computer is on a corporate network behind a proxy server, by default you won’t be able to access external web resources from your PowerShell CLI. For example, you …
Windows PowerShell is an automated task-based command-line shell and associated scripting language created by Microsoft.
If your computer is on a corporate network behind a proxy server, by default you won’t be able to access external web resources from your PowerShell CLI. For example, you …
Scenario: The details of application installed on different machines need to be collected through PowerShell script in CSV file, named as computername.csv. Once the details collected, all CSV files need …
Powershell – Merge CSV files & Insert file name as a column Read More »
This tool can be used to quickly compare hardware configuration and installed software / software updates from two remote computers. The result will be saved in an Excel file and …
Powershell – Compare hardware and software details on two computers Read More »
This post is collection of useful PowerShell commands which will simplify your day to day desktop support administration tasks. The tasks can be performed remotely without taking remote control of …
Windows 10 – Remote administration through PowerShell – Part 1 Read More »
The below script will search Active Directory for all Organizational Unit which contain specific name and list them along with all Group Policies linked to those OUs. Example: The below …
Powershell Script : List AD Organizational Unit and GPOs linked to them Read More »
# Retrieve Active Directory computer properties such as LastLogonDate. # The list of machine need to be added in hosts.txt file in script folder # The result will be saved …
Powershell Script to Retrieve AD Computers Properties Read More »
#Copy group membership from source group to target group Import-Module ActiveDirectory$gsource =Get-ADGroup “Test Group1″$gtarget = Get-ADGroup “Test Group2″Get-ADGroupMember -Identity $gsource |foreach {Add-ADGroupMember -Identity $gtarget -Members $($_.DistinguishedName)}
The below script will let you quickly validate if given computers are exists in Active Directory. You have to keep both script and Computer.txt in same location. Add the computer …
Powershell Script: Validate if Computer account exists in Active Directory Read More »
This is the third post for Windows services. You can access previous posts using below link. Windows Services Basics Managing Windows services from command line Get status of a service …
Windows Administrator Basics: Managing Windows Services from Powershell Read More »
Checking system uptime is a quick way to know how long the system has been running without interruptions to service. The quickest way to check the system up time on …