Sitecore PowerShell Extensions
Slack
YouTube
Stack Exchange
Donate
Search…
Introduction
Disclaimer
Installation
Training
Community
Interfaces
Working with Items
Modules
Remoting
Security
Releases
Troubleshooting
Code Snippets
Appendix
Common
Add-BaseTemplate
Add-ItemVersion
Close-Window
ConvertFrom-CliXml
ConvertFrom-ItemClone
ConvertTo-CliXml
Expand-Token
Get-Archive
Get-ArchiveItem
Get-Cache
Get-Database
Get-ItemClone
Get-ItemCloneNotification
Get-ItemField
Get-ItemReference
Get-ItemReferrer
Get-ItemTemplate
Get-ItemWorkflowEvent
Get-SitecoreJob
Get-SpeModule
Get-SpeModuleFeatureRoot
Get-TaskSchedule
Get-UserAgent
Import-Function
Invoke-JavaScript
Invoke-Script
Invoke-ShellCommand
Invoke-Workflow
New-ItemClone
New-ItemWorkflowEvent
New-UsingBlock
Out-Download
Publish-Item
Read-Variable
Receive-File
Receive-ItemCloneNotification
Remove-BaseTemplate
Remove-ArchiveItem
Remove-ItemVersion
Reset-ItemField
Restart-Application
Restore-ArchiveItem
Send-File
Send-SheerMessage
Set-HostProperty
Set-ItemTemplate
Show-Alert
Show-Application
Show-Confirm
Show-FieldEditor
Show-Input
Show-ListView
Show-ModalDialog
Show-Result
Show-YesNoCancel
Start-TaskSchedule
Test-BaseTemplate
Test-Rule
Update-ItemReferrer
Update-ListView
Write-Log
Indexing
Packaging
Presentation
Provider
Security
Session
Powered By
GitBook
Get-UserAgent
Returns the current user's browser user agent.
Syntax
Detailed Description
Returns current user's browser user agent. Works only if Console is running outside of job. (e.g. in ISE - script needs to be run from the dropdown under the "Execute" button)
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Parameters
Outputs
The output type is the type of the objects that the cmdlet emits.
System.String
Notes
Help Author: Adam Najmanowicz, Michael West
Examples
EXAMPLE
1
PS
master:\>
Get-UserAgent
2
​
3
Mozilla/5
.
0
(
Windows NT 6
.
1
;
WOW64
)
AppleWebKit/537
.
36
(
KHTML
,
like Gecko
)
Chrome/36
.
0
.
1985
.
125 Safari/537
.
36
Copied!
Related Topics
​
https://github.com/SitecorePowerShell/Console/
​
Previous
Get-TaskSchedule
Next
Import-Function
Last modified
10d ago
Export as PDF
Copy link
Contents
Syntax
Detailed Description
Parameters
Outputs
Notes
Examples
EXAMPLE
Related Topics