String of Powershell code

Hi,

Need help explaining a string of Powershell code, I’m struggling to understand. I have a foreach loop which cycles through different OUs in AD DS and a piece of code is

( $Computer.name ) 

Would I be correct in saying that this is a sub expression for a variable named $computers which is theoretically referring to the name of a computer object in AD DS?

I’m just looking through some exemplar scripts online and trying to break them down to understand it bit by bit.

Sorry for formatting and the lack of context, I’m on mobile.

submitted by /u/Fordragon18
[link] [comments]

Leave a Reply