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 Get-akActiveUser | |
{ | |
<# | |
.SYNOPSIS | |
This function gets the activer user on specified computer. | |
.DESCRIPTION | |
This function gets the activer user on specified computer as defined by the running explorer process on their system. Potentially may return | |
more than one user. | |
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 Get-Answer | |
{ | |
<# | |
.SYNOPSIS | |
Get-Answer gets the Instant Answer from DuckDuckGo for the entered query. | |
.DESCRIPTION | |
Get-Answer gets the Instant Answer from DuckDuckGo for the entered query using | |
DuckDuckGo's API and returns information about that answer. |
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. | |