This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function Disable-NICBasedOnUser | |
{ | |
<# | |
.SYNOPSIS | |
Disables the network adapter on remote computer based on inputted user name and computer filter. | |
.DESCRIPTION | |
Disabled the IP enabled network adapters on remote computers. Computers are found using Get-ADComputer and user accounts | |
are verified against Active Directory. | |