in powershell enter sconfigoption 4then option 3 to enable ping and click yes on both prompts
Allow ping through Windows FirewallWindows Firewall with Advanced SecurityInbound Rules“File and printer Sharing (Echo Request – ICMPv4-In)” and enable the rule.3if IPv6 is needed enable the “File and Printer Sharing (Echo Request – ICMPv6-In)” rule
...
When using:
Remove-ADUser -Identity username
It prompt for confirmation to remove the object
To prevent this from appearing and removes the object add -Confirm:$False at the end
The full command is:
Remove-ADUser -Identity username -Confirm:$False...
Through the admin portal a user who is a globe admin is a admin on the local pc that is on the azure domain.
However for better security you there are time in which you need to be a admin to use some software.
On the pc first login with the azure user account you want to add as admin.(this gets the User GUID to the PC)
Open command prompt as admin (you will need to enter your admin details) then type the below and click enter
net localgroup administrators AzureAD\username /add
for example test31341@pyrolaptop.co.uk username is test31341
If you have azure connect replace Azuread with the domain that you are syncing...
Install the modules
Microsoft Online Service Sign-in Assistant for IT Professionals RTW
Windows Azure Active Directory Module for Windows PowerShell (64-bit version)
SharePoint Online Management Shell
1) Open Windows PowerShell as an administrator (use Run as administrator).
2) Run this command, and enter Office 365 Global Admin credentials.
$credential = Get-Credential
3) Run these commands to connect to Office 365.
Import-Module MsOnline
Connect-MsolService -Credential $credential
4)Run these commands to connect to SharePoint Online. Replace your-tenant with the actual value for your domain.
Import-Module Microsoft.Online.SharePoint.PowerShell -DisableNameChecking
Connect-SPOService -Url https://your-tenant-admin.sharepoint.com -credential $credential
Get-SPOSite
Get-sposite https://your-tenant.sharepoint.com/Site location
Look at Sharing Capability
To change
what one you type to change to
"Disabled" – external user sharing (share by email) and guest link sharing are both disabled
"ExternalUserSharingOnly" – external user sharing (share by email) is enabled, but guest link sharing is disabled
"ExistingExternalUserSharingOnly" - (DEFAULT) Allow sharing only with the external users that already exist in your organization’s directory
"ExternalUserAndGuestSharing" - external user sharing (share by email) and guest link sharing are both enabled
Set-SPOSite -Identity your-tenant.sharepoint.com/Site location -SharingCapability ExternalUserSharingOnly
...
$DateCutOff=(Get-Date).AddDays(-30)
When Created
Get-ADUser -Filter * -Property whenCreated | Where {$_.whenCreated -gt $datecutoff} | FT Name, whenCreated -Autosize
When Changed
Get-ADUser -Filter * -Property whenChanged | Where {$_.whenChanged -gt $datecutoff} | FT Name, whenChanged -Autosize...
hiberfil.sys file will take up space on your HDD/SSD depending on RAM and is allocated at 75 percent of your installed RAM
8GB Ram = 6GB file
16GB Ram = 12GB file
Open Command Prompt as Admin
To turn off
powercfg.exe /hibernate off
to turn on
powercfg.exe /hibernate on...