Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PSUserAgent Class

Definition

Namespace:
Microsoft.PowerShell.Commands
Assembly:
Microsoft.PowerShell.Commands.Utility.dll
Package:
Microsoft.PowerShell.5.1.ReferenceAssemblies v1.0.0
Package:
Microsoft.PowerShell.Commands.Utility v7.4.15
Package:
Microsoft.PowerShell.Commands.Utility v7.5.6
Package:
Microsoft.PowerShell.Commands.Utility v7.6.1

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Construct the Useragent string.

public ref class PSUserAgent abstract sealed
public ref class PSUserAgent abstract sealed
class PSUserAgent abstract sealed
public static class PSUserAgent
[System.Runtime.CompilerServices.Nullable(0)]
public static class PSUserAgent
type PSUserAgent = class
[<System.Runtime.CompilerServices.Nullable(0)>]
type PSUserAgent = class
Public Class PSUserAgent
Inheritance
PSUserAgent
Attributes

Properties

Name Description
Chrome

Useragent string for Chrome (7.0).

FireFox

Useragent string for Firefox (4.0).

InternetExplorer

Useragent string for InternetExplorer (9.0).

Opera

Useragent string for Opera (9.0).

Safari

Useragent string for Safari (5.0).

Applies to