Category: PowerShell
-
SharePoint 2013 Instalation Tips
Studying for SharePoint 2013 exam, I’ve decided to install it in my lab and as usual I had some issues. I was thinking to use SQL server on premises used for SCCM 2012 R2 test lab, but it is 32-bit, therefore, unusable. Due to the limited resources (You know, RAM goes first) I ended installing…
-
Redirect New Workstations to a certain OU
Find the Distinguished Name of the OU to which you want to redirect all new computers dsquery ou -name <OU-Name> EXAMPLE – dsquery ou –name “DOMAIN WORKSTATIONS” Use redircmp Distinguished Name found with dsquery Run powershell/cmd as an administrator
-
Tested guide for upgrade 2003 domain to 2012
Raise domain/forest functional level to 2003 Domain is raised from AD users and computers Forest is raised from AD Domains and Trusts Prepare AD for 2012 The command adprep is located on your Server 2012 disk under the \support\adprep Run in cmd adprep /forestprep If KB919151 is not installed adprep /forestprep will fail with “ADPREP.EXE…
-
Delete Profiles Windows 7
Yesterday I found and tested delprof2 – it works and it’s cool timesaving tool.
-
Install/Uninstall Feature PowerShell Server 2012 Quick Notes
To get the list of all features(feature names are in the second column, Windows PowerShell cmdlets are not case-sensitive): get-WindowsFeature To uninstall completely a feature: Uninstall-WindowsFeature featurename -remove If -remove is not used the feature will be listed as available, however, it won’t be removed from the harddrive. To install a feature after it’s removed…
-
Set Ip Server 2012 PowerShell
To set a static IP address In Windows PowerShell, run Get-NetIPInterface. Make a note of the number shown in the IfIndex column of the output for your IP interface or the InterfaceDescription string. If your computer has more than one network adapter, make a note of the number or string corresponding to the interface for…