Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sccm-ts-scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
engrit-epm
sccm-ts-scripts
Commits
44741e4d
Commit
44741e4d
authored
5 years ago
by
Saleh Raghib
Browse files
Options
Downloads
Patches
Plain Diff
Fix variable reference in string
parent
a7411d18
No related branches found
No related tags found
1 merge request
!3
Made drive letters a param
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
count-ad-objects.ps1
+1
-1
1 addition, 1 deletion
count-ad-objects.ps1
with
1 addition
and
1 deletion
count-ad-objects.ps1
+
1
−
1
View file @
44741e4d
...
@@ -42,7 +42,7 @@ debug "Creating PSCredential object..."
...
@@ -42,7 +42,7 @@ debug "Creating PSCredential object..."
$psCreds
=
New-Object
-typename
System.Management.Automation.PSCredential
-argumentlist
$user
,
$secpass
$psCreds
=
New-Object
-typename
System.Management.Automation.PSCredential
-argumentlist
$user
,
$secpass
# Copy AD module files from wintools to correct locations
# Copy AD module files from wintools to correct locations
$dest
=
"
$RootDriveLetter
:\windows"
$dest
=
"
$
{
RootDriveLetter
}
:\windows"
robocopy
/s
/r:3
/w:5
$ADModuleSource
$dest
*.*
2
>
&
1
robocopy
/s
/r:3
/w:5
$ADModuleSource
$dest
*.*
2
>
&
1
# Import PowerShell AD module
# Import PowerShell AD module
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment