Showing tag results for PowerTip

Feb 8, 2013
Post comments count0
Post likes count0

PowerTip: Easily Find the PowerShell ApartmentState

Doctor Scripto

Summary: Easily find the Windows PowerShell ApartmentState.  How can I easily find the Windows PowerShell ApartmentState?  Use the $host automatic variable, and select the ApartmentState property from the RunSpace object, as shown here. PS C:\> $Host.RunSpace.ApartmentState STA

Scripting Guy!Windows PowerShellPowerTip
Feb 7, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Get a Listing of All GPOs in a Domain

Doctor Scripto

Summary: Use a Windows PowerShell cmdlet from the RSAT tools to display all GPOs defined in a domain.  How can I get a listing of all the GPOs defined in my domain?  Use the Get-GPO cmdlet from the RSAT tools. Instead of specifying a GPO name or GUID, use the –all switch, as shown here. Get-GPO -all

Scripting Guy!Windows PowerShellPowerTip
Feb 6, 2013
Post comments count0
Post likes count0

PowerTip: Use a PowerShell Cmdlet to Find Group Membership

Doctor Scripto

Summary: Learn how to use a Windows PowerShell cmdlet to find group membership.  I want to use Windows PowerShell to find all members of a particular group in Active Directory. I would like to do this even if the membership is through other groups (indirect). What can I do?  Use the Get-ADGroupMember cmdlet from the ActiveD...

Scripting Guy!Windows PowerShellPowerTip
Feb 5, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Check Your AD DS Domain Mode

Doctor Scripto

Summary: Use a Windows PowerShell cmdlet from the ActiveDirectory module to check for the domain mode of your AD DS domain.  How can I easily find out the domain mode of my Active Directory Domain Services (AD DS) domain by using a Windows PowerShell cmdlet?  Use the Get-ADDomain cmdlet and select the domainMode p...

Scripting Guy!Windows PowerShellPowerTip
Feb 4, 2013
Post comments count0
Post likes count0

PowerTip: Use a PowerShell Cmdlet to Get the Default AD DS Domain Password

Doctor Scripto

Summary: Use a Windows PowerShell cmdlet from the ActiveDirectory module to obtain details about the default AD DS domain password policy.  How do I use Windows PowerShell to find the default Active Directory Domain Services (AD DS) domain password policy?  Use the Get-ADDefaultDomainPasswordPolicy cmdlet. No arguments are ...

Scripting Guy!Windows PowerShellPowerTip