Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

active directory update Home folder path powershell

Get-ADUser -Filter * -SearchBase $targetou | Foreach-Object{

    $sam = $_.SamAccountName
    Set-ADuser -Identity $_ -HomeDrive "H:" -HomeDirectory "servershare$sam"
Comment

PREVIOUS NEXT
Code Example
Shell :: backup pihole settings 
Shell :: create a index of all files in linux 
Shell :: Winbuilder 
Shell :: vim repeat last command vim vi 
Shell :: linux shell filter binary files 
Shell :: minecraft launcher installations gone 
Shell :: reac native /bin/sh: adb: command not found 
Shell :: top show specific pid 
Shell :: htaccess route all requests to index.php 
Shell :: If you do not have Xcode installed, download and install it from App Store and run it once to complete its setup 
Shell :: dont want ot type my passphrase everytime i push 
Shell :: installing GUN database in linux 
Shell :: how to send data to pushgateway from a shell script 
Shell :: grep Nth line after pattern 
Shell :: merge branch from another repo 
Shell :: bitbucket invalid slug 
Shell :: brew install memcached 
Shell :: interface docker 
Shell :: docker toolbox windows clean 
Shell :: facebook signin does not working on facbook app works only when no app is installed 
Shell :: postgresql not connected docker 
Shell :: [debug] [W3C] Encountered internal error running command: Error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported. Read https://developer.android.com/studio/command-line/variables for more details 
Shell :: go to last page in less command 
Shell :: mac fill hard drive with random data 
Shell :: bash comparison operators 
Shell :: redirect https://www.domain to https://domain apache2 
Shell :: powershell show wlan password 
Shell :: git revert file 
Shell :: install nodemon in express 
Shell :: adavanced 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =