- Homepage
-
Using PowerShell to view system uptime
Hi Today I just found a very handy command that will display the computer/ last reboot in PowerShell; Just copy and paste into your console, as you can Get-WmiObject -Class Win32_OperatingSystem -ComputerName localhost | Select-Object -Property @{n=”Last Boot Time”;e={[Management.ManagementDateTimeConverter]::ToDateTime($_.LastBootUpTime)}} If you get tired you always can use: systeminfo | find “Time”
-
Exchange get permissions of all users
Hi; This a nice PowerShell exchange script that will output all of the permissions of all users in regards other mailboxes; Can be very handy in some situations or either to have some sort of control Get-Mailbox | Get-MailboxPermission | where {$_.user.tostring() -ne “NT AUTHORITY\SELF” -and $_.IsInherited -eq $false} | Select Identity,User,@{Name=’Access Rights’;Expression={[string]::join(‘, ‘, $_.AccessRights)}}…
-
How to restart Veeam backup & replication services
Dear followers; As I have been away I will dedicate 2 new sections: Office365 & Veeam backup. As you know sometimes Veeam backup can be quite tricky In cases that you get jobs stuck or either you can’t open the console, you always can rely on restarting eventually the services and avoid an unnecessary restart…
-
The virtual switch lacks external connectivity when configuring nic teaming on Hyper-v VM
By default nic teaming needs to be enabled on hyper-v. To solve this error you will need to perform the following actions On PowerShell: Get-vm “VMNAME” | set-vmnetworkadapter -allowteaming on on the Hyper-v machine network properties ( mandatory to do it on all of the network adapters)
-
Internet Storage Name Service (iSNS) Firewall exception
Hello IsNs This service allows for central registration of an iSCSI environment. Discovering available targets on the network. However, a couple of commands are needed on the iSCSI initiators prior to starting using IsNs If the Isns DHCP is not configured. Clients must be registered manually with the Iscsicli command. Workaround Assuming we have done a proper…
