check powershell version in windows server with powershell command

check powershell version in windows server with powershell command

This post describes how to check powershell version in windows server with powershell command. Many time we face issue while writing powershell script and facing powershell version compatibility issue. Powershell version check required at this moment.

$PSVersionTable
check powershell version in windows server with powershell command
Get template id sharepoint site with powershell

Get template id sharepoint site with powershell

There are many situations or tickets we are getting where we need to Get template id sharepoint site that are currently using. I mean template id of one site currently user is using. Here i am sharing how to Get template id sharepoint site with powershell.

$web = Get-SPWeb http://win-7uqhlrcrq7g:40331/sites/SpTechSupport
$web.WebTemplate + " " + $web.WebTemplateId
$web.close()
Get template id sharepoint site with powershell
Jagannath Bhajan | Bhaba Lagana Lagana ମିଛ ଦୁନିଆ | Odia Bhajan | #JagannathBhajan#OldOdiaBhajan

start stop manage services in windows server with powershell

This post is all about how to start stop manage services in windows server with powershell. We will discuss the start service powershell command, stop service powershell command, Killing Windows Service that Hangs on Stopping or Not Responding command, how to get service powershell command, how to set service startup type powershell command.

Get Service powershell command windows server

This command will display all service on computer. Default display will be status, service name, and display name each service

Get-Service

Get service begin with search string

Get service begin with Display services that include search string “sp”

Get-Service "sp*" | Sort-Object status
Get service begin with Display services that include search

Display services that include search string

Display services that include search string “sharepoint”

Get-Service -Displayname "*sharepoint*"
Display services that include search string

Get services begin with search string and an exclusion

Get services begin with search string “sp” and an exclusion “spo”

Get-Service -Name "sp*" -Exclude "spooler","sppsvc"
Get services begin with search string and an exclusion

Get object details for service

Get-Service SPAdminV4 | Select-Object *
Get service begin with Display services that include search

Display services that are running

Display services with status Running

Get-Service | Where-Object {$_.Status -eq "Running"}
Display services that are running

Display services that are Stopped

Display services with status “Stopped”

Get-Service | Where-Object {$_.Status -eq "Stopped"}
Display services stopped

Start Service powershell command

Below command returns how to start a particular service using powershell.

Start-Service ServiceName
example: ServiceName = SPAdminV4
Start-Service SPAdminV4

Stop Service powershell command

Below command returns how to stop a particular service using powershell.

Stop-Service ServiceName
example: ServiceName = OSearch16
Stop-Service OSearch16
how to stop a particular service using powershell

Disable Service powershell command

Below command returns how to disable a particular service using powershell.

Set-Service ServiceName -StartupType Disabled
or
Set-Service -Name ServiceName -StartupType Disabled
example: ServiceName = OSearch16
Set-Service -Name OSearch16 -StartupType Disabled
how to disable a particular service using powershell

Start Service with status stopped

Start service whose status is stopped bu running below command.

Get-Service Wsearch | Where {$_.status –eq 'Stopped'} | Start-Service
Krishna Bhajan | O Kanha Ab To Murli Ki Madhur | Old Hindi Bhajan | #KrishnaBhajan#OldHindiBhajan
New feature Per-machine install of sync client

New feature Per-machine install of sync client

OneDrive sync client installs per user by default means OneDrive.exe installed for each user account in system under the folder %localappdata%. By introduction of the New feature Per-machine install of sync client, you can install OneDrive under the “Program Files (x86)” directory, means all profiles on the machine will use the same OneDrive.exe binary. There will be a single version of OneDrive on the machine and a single update to download. Other than where the sync client is installed, everything else stays the same.

New per-machine sync client provides:

  • Automatic transitioning from the previous OneDrive sync client (Groove.exe)
  • Automatic conversion from per-user to per-machine
  • Automatic updates when a new version is available

It supports syncing OneDrive and SharePoint files in Microsoft 365 and SharePoint Server 2019

System Requirements OneDrive Desktop Sync App

OneDrive desktop sync app (Download page OneDrive website) requires following

Operating system

  • 32-bit or 64-bit version of Windows 10, Windows 8/8.1, or Windows 7
  • Windows Server 2016, Windows Server 2012 (including R2), Windows Server 2008 R2, or Windows Server 2008 with Service Pack 2 and the Platform Update for Windows Server 2008
  • Mac OS X 10.12 or later

Processor

1.6 GHz or higher, or Intel-based Mac computer

Memory

1 GB of RAM or higher

Resolution

1024 × 576 minimum

Internet connection

High-speed Internet access is recommended

File systems

NTFS or HFS+ (case insensitive) or APFS (case insensitive)

OneDrive mobile app

  • A phone or tablet with Android 5.0 or later
  • An iPhone, iPad, or iPod touch with iOS 11.3 or later
  • A phone running Windows Phone 7.5 or later
Advertisements

Install OneDrive Sync Client

  • Download OneDriveSetup.exe.
  • Run “OneDriveSetup.exe /allusers” from a command prompt window (will result in a UAC prompt) or by using SCCM. This will install the sync client under “Program Files (x86)\Microsoft OneDrive” directory. Once setup completes, OneDrive will start. If accounts were added on the computer, they’ll be migrated automatically.

Related Information

  • Its helpful especially for multi-user computers and when you don’t want .exe files running from the user profile. Over time, Microsoft recommend customers switch to per-machine installation.
  • Although a single version of OneDrive.exe is installed, a new process is created for every OneDrive account syncing on the computer.
  • Per-machine sync client will auto-update on the same cadence as the per-user sync client and the same rings are supported. The release notes are the same. More info about the sync client update process.
  • User intervention is not required for the per-machine sync client to update itself. Elevation is required when you first set it up. During setup, it installs a scheduled task and a Windows service, which are used to perform the updates silently without user intervention since they run in elevated mode.
New Feature Autodesk integration for DWG files

New Feature Autodesk integration for DWG files

By the New Feature Autodesk integration for DWG files users will see actions available on the command bar and pop-up menus to open DWG files in AutoCAD (web app) in OneDrive for Business and SharePoint Online.

By the New Feature Autodesk integration for DWG files users will see actions available on the command bar and pop-up menus to open DWG files in AutoCAD (web app) in OneDrive for Business and SharePoint Online.

Tenant administrators can disable this functionality through use of PowerShell command if desired. Refer SharePoint Online Cmdlets documentation.

Targeted Release to “entire org” customers in mid March, and the roll out will complete worldwide by the end of March.

We can preview many file types in Microsoft Teams, OneDrive, and SharePoint. Previews and thumbnail images appear in the web view and for customers using Files On-Demand in Windows 10.

Advertisements

Full list of supported file types are as below

3-D Modeling/Printing: 3MF, COOL, GLB, GLTF, OBJ, STL
Apple: MOVIE, PAGES, PICT, SKETCH
Adobe: AI, PDF, PSB, PSD
Audio/Video Media Files: 3G2, 3GP, ASF, BMP, M2TS, M4V, MOV, MP3, MP4, MP4V, MTS, TS, WMV
AutoCAD: DWG
AutoDesk: FBX
BioWare Game Engine: ERF
Compressed File: ZIP
Compressed File (Unix): Z
DICOM Medical Images: DCM, DCM30, DICM, DICOM
Finale: PLY
HydroCAD: HCP
Image Formats: GIF, JPEG, JPG, JPE, MEF, MRW, NEF, NRW, ORF, PANO, PEF, PNG, SPM, TIF, TIFF, XBM, XCF

Note:
OneDrive show thumbnails or image previews only if the image size less than 100MB (approximately 12000 x 8000 pixels).
Advertisements

License Key: KEY
Log Files: LOG
Microsoft Office (Word, PowerPoint, Excel): CSV, DIC, DOC, DOCM, DOCX, DOTM, DOTX, POT, POTM, POTX, PPS, PPSM, PPSX, PPT, PPTM, PPTX, XD, XLS, XLSB, XLSX, SLTX
Microsoft Outlook: EML, MSG
Microsoft Visio: VSD, VSDX
Microsoft Windows: CUR, ICO, ICON
Open eBook: EPUB
OpenOffice: ODP, ODS, ODT
Photo: ARW, CR2, CRW, DNG
Rich Text Format: RTF
Text and Code: ABAP, ADA, ADP, AHK, AS, AS3, ASC, ASCX, ASM, ASP, AWK, BAS, BASH, BASH_LOGIN, BASH_LOGOUT, BASH_PROFILE, BASHRC, BAT, BIB, BSH, BUILD, BUILDER, C, C++, CAPFILE, CBK, CC, CFC, CFM, CFML, CL, CLJ, CMAKE, CMD, COFFEE, CPP, CPT, CPY, CS, CSHTML, CSON, CSPROJ, CSS, CTP, CXX, D, DDL, DI. DIF, DIFF, DISCO, DML, DTD, DTML, EL, EMAKE, ERB, ERL, F90, F95, FS, FSI, FSSCRIPT, FSX, GEMFILE, GEMSPEC, GITCONFIG, GO, GROOVY, GVY, H, H++, HAML, HANDLEBARS, HBS, HRL, HS, HTC, HTML, HXX, IDL, IIM, INC, INF, INI, INL, IPP, IRBRC, JADE, JAV, JAVA, JS, JSON, JSP, JSX, L, LESS, LHS, LISP, LOG, LST, LTX, LUA, M, MAKE, MARKDN, MARKDOWN, MD, MDOWN, MKDN, ML, MLI, MLL, MLY, MM, MUD, NFO, OPML, OSASCRIPT, OUT, P, PAS, PATCH, PHP, PHP2, PHP3, PHP4, PHP5, PL, PLIST, PM, POD, PP, PROFILE, PROPERTIES, PS, PS1, PT, PY, PYW, R, RAKE, RB, RBX, RC, RE, README, REG, REST, RESW, RESX, RHTML, RJS, RPROFILE, RPY, RSS, RST, RXML, S, SASS, SCALA, SCM, SCONSCRIPT, SCONSTRUCT, SCRIPT, SCSS, SGML, SH, SHTML, SML, SQL, STY, TCL, TEX, TEXT, TEXTILE, TLD, TLI, TMPL, TPL, TXT, VB, VI, VIM, WSDL, XAML, XHTML, XOML, XML, XSD, XSL, XSLT, YAML, YAWS, YML, ZSH
Web/Hypertext: HTM, HTML, Markdown, MD, URL