Category Archives: PowerShell

Exchange PowerShell Command Line

Check the free space available in the database Get-MailboxDatabase -Status | select Name, DatabaseSize, AvailableNewMailboxSpace Check for the stopped Exchange Server services Get-Service | Where-Object {$_.Name -Like ‘MSExchange*’ -and $_.Status -eq ‘Stopped’} Check mail flow –> Get-Queue

Posted in Exchange, PowerShell | Comments Off on Exchange PowerShell Command Line

WiFi issues with Creators Update with Sonicwall VPN client

1) Open an Admin Command Prompt window: Start > All Apps > Windows System -> Right-click “Command Prompt” > More > Run as administrator … Note: If you want this available on your Start’s Right-click menu, you can go to … Continue reading

Posted in command line of windows, My Windows, PowerShell, tricks & tips, windows | Comments Off on WiFi issues with Creators Update with Sonicwall VPN client

Windows 10 cannot read file shares on Server 2003

Type PowerShell in Search bar > Right click > Run as administrator > Type: Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol + ENTER Reboot.

Posted in command line of windows, My Windows, PowerShell, tricks & tips, windows | Comments Off on Windows 10 cannot read file shares on Server 2003

config ip and netsh firewall via command windows

netsh interface ipv4 set address “Local Area connection” static 192.168.3.9 255.255.0.0 192.168.3.1 1 — netsh interface ipv4 add dnsserver “Local Area connection” 192.168.3.10 1 — — netsh advfirewall set currentprofile settings remotemanagement enable netsh advfirewall set currentprofile settings remotemanagement disable … Continue reading

Posted in core, PowerShell | Comments Off on config ip and netsh firewall via command windows

PowerShell reset windows

Reset-ComputerMachinePassword -Credential (Get-Credential) Test-ComputerSecureChannel -Repair -Credential (Get-Credential) – this one without reboot please run PowerShell with Admin right

Posted in PowerShell | Comments Off on PowerShell reset windows