I recently started an Azure subscription in order to move all the servers I use to test PowerShell code to the cloud. Right now I have only a couple Virtual Machines, one running Windows Server 2016, that’s my Domain Controller. I also have a Windows Server 2012 R2 Virtual Machine
In this video, I cover only a few very basic PowerShell Desired State Configuration Manager (DSC) concepts. 1. The terminology 2. How to create a Local Configuration Manager (LCM) configuration 3. How to push the LCM configuration to the target node 4. How to create a basic DSC configuration to
As an Administrator, I have been asked more than once to find out where a computer is on the network. This question is usually asked by someone that needs to inventory or lifecycle the equipment. If your IT department is well organized or you have some sort of 3rd party
This script uses the win32_LogicalDisk WMI Class to get Local Disk Information for one or multiple computers. For more information on the DriveTypes available with the Win32_LogicalDisk class visit: https://technet.microsoft.com/en-us/library/ee176674.aspx. You could also expand on this script and add email capability and schedule it as a job or a scheduled task.
This scripts is quick, dirty and could be made more efficient. That said, it works.Reads a As constructed it reads a txt file containing computer names and attempts to ping each machine. If the ping is successful, it copies the contents of c:\Install from the source computer to c:\install on the target