Profile cover photo
Profile photo
Asif Gohar
77 followers
77 followers
About
Asif's interests
View all
Asif's posts

Post has attachment
Cross Forest Exchange Migration
AD PowerShell Cross Forest Migration MyLocalDomain $LocalCredentials = Get-Credential TheirRemoteDomain $RemoteCredentials = Get-Credential Mydomain\Myadmin Theirdomain\Theiradmin Prepare Before Migration: .\Prepare-MoveRequest.ps1 -Identity remoteuser@thei...

Post has attachment
Disable list of users from a file
Get-Content c:\users.txt | % { Set-ADUser $_ -Enabled:$false }

Post has shared content
Lush valley of Chitral and extremely beautiful village lspr (Mastuj)

 Hamad Iqbal©
Natural Scenery of Pakistan
#photography   #photographer   #Pakistan
Photo

Post has attachment
EMC Source One search folder in outlook
Script below will create a folder in outlook to search archived items. Kind of browser inside outlook. Save it as .vbs and execute or deploy through group policy on logon script. ========================================================= Const olFolderInbox ...

Post has attachment
Photo

Post has attachment
Local Administrators list on all workstations, remote machines.
Create list of Computers with below command Get-ADComputer -Filter * | select name > c:\computers.txt Execute below Script: It will create c:\localusers.csv # ============================================================================================== # N...

Post has attachment
Users Attributes and Computer Attributes
Users Attributes ======================================================= $ADUserProperties = @( "Name", "SamAccountName", "OfficePhone", "MobilePhone", "Mobile", "ipphone", "Country", "City", "POBox", "PostalCode", "Company", "proxyAddresses", "telephoneNum...

Post has attachment

Post has attachment
windows patching date for bulk servers
1. Generate a Report for installed Hotfix-Update-ServicePack for Bulk Servers. 2. Check a specific Hotfix is installed or not in Multiple Computers. 3. Get the latest Patching Date for bulk Computers. Create computers.txt on C drive with below command. (cre...

Post has attachment
Bulk users attributes update in active directory
Import-Module activedirectory Import-Csv C:\usrs.csv | ForEach-Object {Set-ADUser -Identity $.samAccountName -Replace @{Mobile=$.MobilePhone}} create usrs.csv with required contents as below and save in C:\ ----- samaccountname,MobilePhone See all user at...
Wait while more posts are being loaded