You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enter a DateTime object, such as one that the Get-Date cmdlet returns, or a string that can be converted to a date and time, such as "April 19, 2012 15:00", "12/31", or "3am". DateTime objects, and strings that are converted to DateTime objects, are automatically adjusted to be compatible with the date and time formats selected for the local computer in Region and Language in Control Panel.
Specifies the maximum number of objects to return for an Active Directory Domain Services query. If you want to receive all of the objects, set this parameter to $Null (null value). You can use Ctrl+C to stop the query and return of objects.
Specifies an Active Directory path to search under.
494
+
495
+
When you run a cmdlet from an Active Directory provider drive, the default value of this parameter is the current path of the drive.
496
+
497
+
When you run a cmdlet outside of an Active Directory provider drive against an AD DS target, the default value of this parameter is the default naming context of the target domain.
498
+
499
+
When you run a cmdlet outside of an Active Directory provider drive against an AD LDS target, the default value is the default naming context of the target LDS instance if one has been specified by setting the msDS-defaultNamingContext property of the Active Directory directory service agent (DSA) object (nTDSDSA) for the AD LDS instance. If no default naming context has been specified for the target AD LDS instance, then this parameter has no default value.
500
+
501
+
When the value of the SearchBase parameter is set to an empty string and you are connected to a GC port, all partitions will be searched. If the value of the SearchBase parameter is set to an empty string and you are not connected to a GC port, an error will be thrown.
Specifies the Active Directory Domain Services instance to connect to, by providing one of the following values for a corresponding domain name or directory server.
543
+
The service may be any of the following: Active Directory Lightweight Domain Services, Active Directory Domain Services or Active Directory Snapshot instance.
544
+
545
+
Domain name values:
546
+
547
+
- Fully qualified domain name (FQDN)
548
+
- NetBIOS name
549
+
550
+
Directory server values:
551
+
552
+
- Fully qualified directory server name
553
+
- NetBIOS name
554
+
- Fully qualified directory server name and port
555
+
556
+
The default value for the *Server* parameter is determined by one of the following methods in the order that they are listed:
557
+
558
+
- By using *Server* value from objects passed through the pipeline.
559
+
- By using the server information associated with the Active Directory PowerShell provider drive, when running under that drive.
560
+
- By using the domain of the computer running PowerShell.
0 commit comments