Windows Server 2016, when launched, will demand IT Professionals to become more proficient at utilizing PowerShell. While some have begun to dabble with the TechNet Script Repository, some are still a little frightened due to the perception that PowerShell is hard to learn let alone remember. PowerShell can be the great time saver if harnessed properly though. Let begin with an easy example.
Lets start with enabling the ability to manage Users and Groups locally and remotely in Windows Powershell.
Note: No download is required if you are currently running Windows 10 or currently have PowerShell 5 installed.
Open a PowerShell window in administrator mode and run the following Cmdlet to get the required management module.
FIND-Module localaccount | INSTALL-Module
A prompt may appear to download and install software / components required to access the Repository with the PowerShell modules.
If you download the module from Technet, the contents can be extracted to your personal PowerShell modules folder located typically under
Once extracted, run the following Cmdlet to load up the module:
A series of new and hopefully self explanatory cmdlets will appear once the module is imported. A listing of the current Cmdlets available are as follows:
The module detailed above should operate in a PowerShell offering as low as Powershell 2.0. So long as the desired systems can be managed via WMI remotely, you should be successful in managing older servers with this module. However it is recommended to be running Windows 10 or currently have PowerShell 5 installed to reap the benefits offered.
For more, visit http://blogs.technet.com/b/canitpro/
BY MVP Sean Kearney
An Infrastructure Support Analyst, Microsoft Certified Technology Specialist in Windows Server Virtualization, Configuration and Microsoft Certified Systems Engineer. He’s a devoted and passionate computer enthusiast from the early 80’s to the present day, having used just about every microcomputer ever. He’s self taught in computer programming with 65xx machine code, working with many technologies – but primarily Microsoft. He deals with “anything thrown at him” from gnawed keyboards to recovery of Exchange servers, to networking setups and isolating the realm of the unknown. His present position has him testing and deploying just about any new Microsoft Technology he’s asked to as well as dealing with user’s in an Enterprise class environment. Prior to this, he spent over 8 years dealing with Small Business Systems and home user environments. He absolutely loves PowerShell, Windows 7 and Hyper-V in that specific order.
SAMSUNG GALAXY S8 PLUS
The Samsung Galaxy S8 Plus is a beautifully crafted smartphone with nearly no bezel, curvaceous in design and reflects a…
How to: Connect to Exchange Online Using Multi-Factor Authentication
Using PowerShell to manage your Microsoft cloud services like Exchange Online and using multi-factor authentication (MFA) separately is awesome. Using…