Windows Administrators Blog
900 FOLLOWERS
Windows Administrators blog is managed by the Windows and VMware Administrator by profession. Main goal with the blog is to educate, share, inform and discuss about the various new technologies and troubleshoot methodology implemented for a timely solution.
Windows Administrators Blog
8M ago
One of the user was facing issues sending email from the scanner, all the associates in team was able to receive the files that were scanned and sent to their email except one user.
Verified and found that the target address was set in-correctly in AD. It didn’t match the setting on the exchange.
Get-ADUser userid -properties * -server domain.com | tar*
Output was reflecting with questions marks inbetween.
Issue was fixed after replying it on the exchange by clicking ok
Executing the below command again, gave the correct email address in the output
Get-ADUser userid -properties * -server doma ..read more
Windows Administrators Blog
9M ago
To display members of a single dynamic distribution group simply run:
Get-Recipient -RecipientPreviewFilter (get-dynamicdistributiongroup ).RecipientFilter -OrganizationalUnit $_.RecipientContainer
You can also easily export members of any distribution group to a CSV file by running:
Get-Recipient -RecipientPreviewFilter (get-dynamicdistributiongroup ).RecipientFilter -OrganizationalUnit $_.RecipientContainer | Select Displayname | Export-Csv ““
Thanks,
WintelAdmin ..read more
Windows Administrators Blog
10M ago
If the search index is not working on Outlook, please try rebuilding the index by following the steps listed below:
1. Client Side
a) From Outlook, click File, Option, search.
b) Select Indexing options, select Advanced.
c) Under Troubleshooting select Rebuild.
2. Server Side
a) On exchange execute the below command:
New-MoveRequest emailaddress@domain.com
b) Execute below command to verify the status
Get-MoveRequest -identity emailaddress@domain.com | Get-MoveRequestStatistics
Thanks,
WintelAdmin ..read more
Windows Administrators Blog
2y ago
Enter-PSSession starts an interactive session with a remote computer.
Syntax:
Enter-PSSession -ComputerName ServerName
Example:
Enter-PSSession -ComputerName WebServer01
You can now execute the hostname command to confirm that you are connected to a remote server. you can perform all the required command execution and once done use the command Exit to exit the session.
Thanks,
WintelAdmin ..read more
Windows Administrators Blog
2y ago
Convert MSU to CAB
Installing MS Patch using CAB is faster than the MSU files, hence its recommended to install MS Patches using CAB format for bigger file size.
MSU contains the CAB file.
Expand FileName.msu -F:* C:\Temp\
Thanks,
WintelAdmin ..read more
Windows Administrators Blog
2y ago
Search a folder with command without knowing the path.
We have a search in Windows Explorer, but there are times when the drive size is huge and search may not be quick due to issues with indexing.
In these cases, we can use command prompt from every root of drive and search or find for the required folder very quick.
Syntax:
dir /AD /s
Ex: C:\> Dir Apache /AD /s
Note: Make sure you execute the command from root level/top level (Ex: c:\)
/A- Displays files with specified attributes. D-May the attribute be Directories /s – Displays files in specified directory and all subdirectories.
Thanks ..read more
Windows Administrators Blog
2y ago
Script to get the local administrators group membership of a multiple remote servers in excel.
This VB script will fetch the local administrators group members details and store it in an CSV file.
Make sure copy the script and save it as filename.vbs.
run the script from command prompt cscript filename.vbs to suppress all the pop-up.
Copy all the contents listed below the line seen below:
==========================================================================
Option Explicit
Const LogFile = “LocalAdmins.log”
Const resultFile = “LocalAdministratorsMembership.csv”
Const inputFile = “C:\temp ..read more
Windows Administrators Blog
2y ago
Force Empty Recycle Bins for Every User.
When you are struggling to recover free space and there could be some users still holding unwanted files and folders in Recycle Bin, you can empty the recycle bin for all users.
Follow the steps listed below to empty Recycle bin:
Open command prompt with administrator access and execute the command listed below.
rd /s c:\$Recycle.Bin
(In the above command, “c” is your Windows drive)
Press the Enter key.
Thanks,
WintelAdmin ..read more
Windows Administrators Blog
2y ago
TSM Backup Verification Commands on Windows
Please find the steps listed below to check the connectivity and backup configuration:
Open dsmc.exe from C:\Program Files\tivoli\tsm\baclient (it will take a minute to load)
Execute “q se”, to verify if its configured standalone or failover
Execute “q fi” to list out the drives that are backed up. Belolw screen shot shows C, D, G and L drive.
Execute “q sched” to verify the schedule
Execute “q inclexcl” to find all the file and folder that has been included Inclusion and Exclusion
Execute “q ba” to find the last backup of any folder ex: g:\domino ..read more
Windows Administrators Blog
3y ago
How To verify Group Policy applied?
GPResult command line tool to verify what group policy objects are applied to a user or computer. GPResult is a command line tool that shows the Resultant Set of Policy (RsoP) information for a user and computer.
The GPResult command is included with Windows Server versions 2008 and higher. It is also included in client version Windows 7 and higher.
gpresult /r
This is the most common usage of the gpresult command, it a quick way to display all group policy objects to a user and computer.
gpresult /r /scope:user
gpresult /r /scope:computer
If you don’t want ..read more