Useful Powershell cmdlets for System Admin

Help get-help syntax Eg: get-help get-vmhost get-help syntax -examples = displays help with examples Server Configuration Type cmdlet sconfig Install a feature using an exported configuration file: Install-WindowsFeature –ConfigurationFilePath FILENAME Eg: Install-WindowsFeature –ConfigurationFilePath x:\filename.xml Convert VHD to VHDX: ConvertVHD –Path (path) –DestinationPath (path) Eg:  Convert-VHD –Path c:\drive1.vhd – DestinationPath c:\drive1.vhdx Remote Administration of Server from Workstation: Run following cmdlets […]




Read More

Server Core configuration steps

Initial configuration: Start sconfig Rename Computer Name (Option 2) Check if Remote management is enabled (Option 4) Change windows update to Automatic (Option 5) Remote Desktop – Enable (Option 7) Setup Network (Option 8) Add Server to domain (Option 1) Configure server core for remote administration: Open server manager From server manager, right click “All Servers” […]




Read More