PowerShell TimeZone, Date and So On

By ivan

If someone ever wondered how to change time, timezone or date in a powershell session or in a core server here is how. If today is 27 May 2017 and we want to set the clock to 16:12: Set-Date -Date “5/27/2017 16:12” More on this here. If only the timezone needs to be changed lets…

SharePoint 2013 Instalation Tips

By ivan

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

By ivan

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

By ivan

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…

RWMC

By ivan

Tested…. and it works on 7, 8.1, 10, server 2012 r2 https://github.com/giMini/RWMC

Install/Uninstall Feature PowerShell Server 2012 Quick Notes

By ivan

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…

Proxmox Post Install +

By ivan

My ProxMox Adventure – what I did so far Installed from CD (described in the previous post) Added additional 7200rpm, 2tb hard drive for storage purposes Created Several VM’s server core 2012 as s DC, DNS, GC – HDD shrink to 20gb One win7x64 as a domain workstation One win7x64 with 1tb hdd as a plex server…

Set Ip Server 2012 PowerShell

By ivan

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…