I am attempt to write a powershell script that will extract the IP address of a local PC it is being run on.
So far I have written this:
$strComputerID = "."
$Ipinfo = Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter "IPEnabled=TRUE and DHCPEnabled=TRUE" -comp $strComputerID
# get-member -inputobject $Ipinfo ----------- I am using this line to identify the type of info available
get-member -name IPAddress $IPinfo
What am I missing. I understand $Ipinfo is an array, but I can't extract individual information from it like IPAddress or DefaultIPGateway and so on.
Transferring FSMO roles is done when an admin wants to split roles between certain Domain Controllers or the Domain Controller holding the Roles has been forcefully demoted using dcpromo / forceremoval
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…