Skip to content

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 64-bit SQL Server 2012 SP1 on the same server (standard 2012 R2) side-by-side with 32-bit SQL. It’s not the best practice, but it is OK for a constantly changing test lab. Installation was pretty straight forward, all prerequisites were already installed and in minutes 64-bit SQL server was in place. I have two pre-created domain accounts sqladmin and spsservice used… Read More »SharePoint 2013 Instalation Tips

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 is valid, but is for a machine type other than the current machine” – REMARK addprep.exe must be copied from x86(or x64) folder to the folder where all other files (sch1, sch2, and so on, schema.ini is also inside), then run it from there. Install 2012R2 server, join it to the domain and promote it as DC First add active… Read More »Tested guide for upgrade 2003 domain to 2012

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 we need an installation wim file as a source. To Mount a Windows WIM to the file system: Get Info what’s in the wim file, features cannot be mixed, that’s why indexes are important – if core is installed  then find which index belongs to core, because wim file contains more than one windows editions dism /get-wiminfo /wimfile:wimfilepath (Example if installation… Read More »Install/Uninstall Feature PowerShell Server 2012 Quick Notes

Proxmox Post Install +

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 – installed on 7200rpm drive, don’t like the performance of the hdd at all SCCM 2012 R2 on top of Server 2012 Exchange 2013 on top of Server 2012 To Do List Set Up And Test ProxMox Firewall – Not Started Yet Set Up A Backup – In Progress, Done to NFS, will try it to external hdd as well… Read More »Proxmox Post Install +

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 which you wish to set a static IP address. In Windows PowerShell, run New-NetIPAddress –InterfaceIndex 12 –IPAddress -192.0.2.2 –PrefixLength 24 –DefaultGateway -192.0.2.1 Where: InterfaceIndex is the value of IfIndex from Step 2 (in this example, 12) IPAddress is the static IP address you intend to set (in this example, 192.0.2.2) PrefixLength is the prefix length (another form of subnet mask)… Read More »Set Ip Server 2012 PowerShell